Wiki-Quellcode von MathJaxMacro
Zuletzt geändert von xwikiadmin am 2025/01/07 11:38
Zeige letzte Bearbeiter
author | version | line-number | content |
---|---|---|---|
1 | Example usage of the ~{~{mathjax}} macro: | ||
2 | |||
3 | Normal Wiki text followed by a formula | ||
4 | |||
5 | {{mathjax}} | ||
6 | \begin{eqnarray} | ||
7 | 1 & = & a x + b y\label{eq:first} \\ | ||
8 | 0 & = & c x + d y\label{eq:second} | ||
9 | \end{eqnarray} | ||
10 | {{/mathjax}} | ||
11 | |||
12 | Solving equation {{mathjax}}\ref{eq:second}{{/mathjax}} for {{mathjax}}x{{/mathjax}} and substituting back into equation {{mathjax}}\ref{eq:first}{{/mathjax}} yields | ||
13 | |||
14 | {{mathjax}} | ||
15 | \begin{equation} | ||
16 | y = \frac{c}{cb-ad} | ||
17 | \end{equation} | ||
18 | {{/mathjax}} |