Version 3 (modified by 13 years ago) (diff) | ,
---|
Displaying a formula
To allow to the formula exhibition using the syntax Latex, was installed the macro latex-math. To use it, it uses the following syntax:
Para permitir a exibição de fórmulas usando a sintaxe LaTeX, foi instalada a macro latex-math. Para utilizá-la, use a seguinte sintaxe:
[[formula(latex code)]]
Examples:
Exemplos:
[[formula(x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}})]]
it produces the following result:
produz o seguinte resultado:
[[formula(K = \frac{12 \sum_{i=1}^g n_i(\bar{r}_{i\cdot} - \bar{r})^2}{N(N+1)})]]
it produces the following result:
produz o seguinte resultado:
For more complex formulas it uses the following syntax:
Para fórmulas mais complexas use a seguinte sintaxe:
{{{ #!formula . . . }}}
Example:
Exemplo:
{{{ #!formula \delta_k = \left\{ \begin{array}{ll} 1 & \textrm{se } k=0 \\ 0 & \textrm{se } k\neq 0 \end{array} \right. \to Z(\delta_k)=\Delta(z)=1 }}}
it produces the following result:
produz o seguinte resultado:

Other examples can be gotten from the page http://meta.wikimedia.org/wiki/Help:Formula, substituting itself
Outros exemplos podem ser obtidos a partir da página http://meta.wikimedia.org/wiki/Help:Formula, substituindo-se
<math>...</math>
by
por
[[formula(...)]]