Help:TeX

From SIGSEM

Jump to: navigation, search

Setting Formulas in TeX

This MediaWiki installation has support for displaying (La)TeX formulas inline. It's as easy as this: surround your TeX code with <math>...</math> tags. For example, this wikicode:

<math>p_{ij}(t)
    = \mathbf{M}
    = \sum_{i=0}^n\mathcal{M}
    = \begin{pmatrix}
           p_{11}(t) & \dots  & p_{1m}(t) \\
           \vdots    & \ddots & \vdots    \\
           p_{m1}(t) & \dots  & p_{mm}(t)
      \end{pmatrix}
</math>

is displayed like this:

p_{ij}(t)
    = \mathbf{M}
    = \sum_{i=0}^n\mathcal{M}
    = \begin{pmatrix}
           p_{11}(t) & \dots  & p_{1m}(t) \\
           \vdots    & \ddots & \vdots    \\
           p_{m1}(t) & \dots  & p_{mm}(t)
      \end{pmatrix}

Personal tools