Extension:WikiTex/Documentation

WikiTex Documentation

Usage
Use &lt;wikitex&gt; and &lt;/wikitex&gt; to enclose that part of the page (maybe all page) where you want to use the usual math editing: &lt;wikitex&gt; Let $Q$ be any finite set, and $\mathcal B=2^Q$ be the collection of the subsets of $Q$. Let $f:\mathcal B\rightarrow \mathbb R$ be a function assigning real numbers to the subsets of $Q$ and suppose $f$ satisfies the following conditions: :(i) $f(A)\ge 0$ for all $A\subseteq Q$, $f(\emptyset)=0$, :(ii) $f$ is monotone, i.e. if $A\subseteq B\subseteq Q$ then $f(A)\le f(B)$, :(iii) $f$ is submodular, i.e. if $A$ and $B$ are different subsets of $Q$ then $$ \eqno{(2)} f(A)+f(B)\ge f(A\cap B) + f(A\cup B). $$ &lt;/wikitex&gt; Beware: formulas are typeset with plain TeX with some predefined commands (such as \mathcal or \mathbb above). LaTeX constructs do not work.

The result is

Formula numbers
Displayed formulas might be numbered. Formula numbers are defined within the $$ signs as the argument of the \eqno macro: $$\eqno{(*)} a^2 + b^2 = c^2 $$

Attributes
The &lt;wikitex&gt; tag accepts a few attributes.