Difference between revisions of "Help:Contents"
(→MathJax) |
(→MathJax) |
||
Line 8: | Line 8: | ||
$x^2 + y^2 +z^2 = 1$ | $x^2 + y^2 +z^2 = 1$ | ||
</pre> | </pre> | ||
− | will be displayed by MathJax as $x^2 + y^2 +z^2 = 1$ | + | will be displayed by MathJax as $x^2 + y^2 +z^2 = 1$. |
We can write complex equations and even make use of <nowiki>\newcommand </nowiki> as illustrated by the following lines. | We can write complex equations and even make use of <nowiki>\newcommand </nowiki> as illustrated by the following lines. | ||
Line 47: | Line 47: | ||
\end{align} | \end{align} | ||
− | We can also refer to equations with a valid \label using the latex \eqref command. The second of the two eqautions above can be referred | + | We can also refer to equations with a valid \label using the latex \eqref command. The second of the two eqautions above can be referred to with |
<pre> | <pre> | ||
\eqref{eq:W3k} | \eqref{eq:W3k} | ||
</pre> | </pre> | ||
+ | resulting in a correct reference to equation \eqref{eq:W3k} above. Note the reference works as a link. Clicking it you will be taken to the equation referred to. | ||
− | + | Note that MathJax ignores the <math> tag used by default for MediaWiki for Mathematical display. Even if you include it in your equations, MathJax will still be able to correctely display the affected equations. The following | |
− | + | <pre> | |
− | + | <math>$x^2 + y^2 +z^2 = 1$</math> | |
− | + | </pre> | |
+ | will be displayed as before | ||
+ | <math>$x^2 + y^2 +z^2 = 1$</math> | ||
=== Collection === | === Collection === |
Revision as of 15:06, 9 January 2012
Contents
Organisation of the Explanatoy Supplement[edit]
Use of the available extensions[edit]
MathJax[edit]
The MathJax extension allows the use of MathJax, a display engine for mathematics providing high quality mathematics fonts. The main interest for the ES lies in its ability to produce high quality display of latex formulae with no need for any extra tags. Equations may simply be written in Latex and MathJax will recognize the Latex Tags.
Simple mathematical expressions can be easily written inline. The following
$x^2 + y^2 +z^2 = 1$
will be displayed by MathJax as $x^2 + y^2 +z^2 = 1$.
We can write complex equations and even make use of \newcommand as illustrated by the following lines.
$ \newcommand{\Re}{\mathrm{Re}\,} \newcommand{\pFq}[5]{{}_{#1}\mathrm{F}_{#2} \left( \genfrac{}{}{0pt}{}{#3}{#4} \bigg| {#5} \right)} $ \begin{align} \label{def:Wns} W_n (s) &:= \int_{[0, 1]^n} \left| \sum_{k = 1}^n \mathrm{e}^{2 \pi \mathrm{i} \, x_k} \right|^s \mathrm{d}\boldsymbol{x} \end{align} \begin{align} \label{eq:W3k} W_3(k) &= \Re \, \pFq32{\frac12, -\frac k2, -\frac k2}{1, 1}{4}. \end{align}
MathJax will display these as $
\newcommand{\Re}{\mathrm{Re}\,} \newcommand{\pFq}[5]{{}_{#1}\mathrm{F}_{#2} \left( \genfrac{}{}{0pt}{}{#3}{#4} \bigg| {#5} \right)}
$ \begin{align}
\label{def:Wns} W_n (s) &:= \int_{[0, 1]^n} \left| \sum_{k = 1}^n \mathrm{e}^{2 \pi \mathrm{i} \, x_k} \right|^s \mathrm{d}\boldsymbol{x}
\end{align}
\begin{align}
\label{eq:W3k} W_3(k) &= \Re \, \pFq32{\frac12, -\frac k2, -\frac k2}{1, 1}{4}.
\end{align}
We can also refer to equations with a valid \label using the latex \eqref command. The second of the two eqautions above can be referred to with
\eqref{eq:W3k}
resulting in a correct reference to equation \eqref{eq:W3k} above. Note the reference works as a link. Clicking it you will be taken to the equation referred to.
Note that MathJax ignores the
will be displayed as before
Collection[edit]
CategoryTree[edit]
Common tasks[edit]
Including figures[edit]
Linking to other pages in the ES[edit]
Linking to external pages[edit]
Uploading documents[edit]
Adding new section[edit]
Explanatory Supplement