Changes between Version 2 and Version 3 of WikiFormatting


Ignore:
Timestamp:
Apr 4, 2007, 3:55:41 PM (15 years ago)
Author:
Argimiro Resende Secchi
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiFormatting

    v2 v3  
    364364See WikiProcessors for more information.
    365365
     366== Displaying a formula ==
     367
     368To allow to the formula exhibition using the syntax [http://pt.wikipedia.org/wiki/LaTeX Latex], was installed the macro [https://svn.truelite.it/packages/wiki/TrueliteTracUtils#latexmath latex-math]. To use it, it uses the following syntax:
     369[[Tr(begin)]]Para permitir a exibição de fórmulas usando a sintaxe [http://pt.wikipedia.org/wiki/LaTeX LaTeX], foi instalada a macro [https://svn.truelite.it/packages/wiki/TrueliteTracUtils#latexmath latex-math]. Para utilizá-la, use a seguinte sintaxe:[[Tr(end)]]
     370
     371{{{
     372[[latex-math(formula)]]
     373}}}
     374
     375Examples:
     376[[Tr(begin)]]Exemplos:[[Tr(end)]]
     377
     378{{{
     379[[latex-math(x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}})]]
     380}}}
     381
     382it produces the following result:
     383[[Tr(begin)]]produz o seguinte resultado:[[Tr(end)]]
     384
     385[[latex-math(x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}})]]
     386
     387{{{
     388[[latex-math(K = \frac{12 \sum_{i=1}^g n_i(\bar{r}_{i\cdot} - \bar{r})^2}{N(N+1)})]]
     389}}}
     390
     391it produces the following result:
     392[[Tr(begin)]]produz o seguinte resultado:[[Tr(end)]]
     393
     394[[latex-math(K = \frac{12 \sum_{i=1}^g n_i(\bar{r}_{i\cdot} - \bar{r})^2}{N(N+1)})]]
     395
     396For more complex formulas it uses the following syntax:
     397[[Tr(begin)]]Para fórmulas mais complexas use a seguinte sintaxe:[[Tr(end)]]
     398
     399{{{
     400{{{
     401#!latex-math
     402 .
     403 .
     404 .
     405}}}
     406}}}
     407
     408Example:
     409[[Tr(begin)]]Exemplo:[[Tr(end)]]
     410
     411{{{
     412{{{
     413#!latex-math
     414  \delta_k = \left\{
     415  \begin{array}{ll}
     416    1 & \textrm{se } k=0 \\
     417    0 & \textrm{se } k\neq 0
     418  \end{array}
     419  \right.
     420  \to
     421  Z(\delta_k)=\Delta(z)=1
     422}}}
     423}}}
     424
     425it produces the following result:
     426[[Tr(begin)]]produz o seguinte resultado:[[Tr(end)]]
     427
     428{{{
     429#!latex-math
     430  \delta_k = \left\{
     431  \begin{array}{ll}
     432    1 & \textrm{se } k=0 \\
     433    0 & \textrm{se } k\neq 0
     434  \end{array}
     435  \right.
     436  \to
     437  Z(\delta_k)=\Delta(z)=1
     438}}}
     439
     440Other examples can be gotten from the page [http://meta.wikimedia.org/wiki/Help:Formula], substituting itself
     441[[Tr(begin)]]Outros exemplos podem ser obtidos a partir da página [http://meta.wikimedia.org/wiki/Help:Formula], substituindo-se [[Tr(end)]]
     442{{{
     443<math>...</math>
     444}}}
     445by
     446[[Tr(begin)]]por[[Tr(end)]]
     447{{{
     448[[latex-math(...)]]
     449}}}
     450
    366451
    367452== Miscellaneous ==