Help:TeX
From QED
| Help |
|
| Related topics |
QED supports a subset of TeX, together with some extensions from LaTeX and AMSLaTeX.
The <math> tag has also been extended to make it easy to specify vertical alignment.
Those with QED logins can set their personal preferences to use jsMath to render pages using the <math> tag when they are logged-in.
Contents |
Documentation
The primary reference is
[1].
Consulting the most recent MediaWiki documentation at Help:Formula may also be helpful, but note that QED support for the <math> tag is currently at the MediaWiki 1.11.0 level (September 10, 2007).
Vertical Alignment
On QED, one can specify how the math element should be vertically aligned by adding a parameter to the <math> tag. The syntax is:
<math align=ALIGNMENT>
where ALIGNMENT is any value allowed for the CSS "vertical-align" attribute. For example: <math align=super>
See for example [2] for further details.
The template vertical-align can similarly be used with percentages. The default is 30%. For example, x{{vertical-align|<math>\phi</math>}} produces xφ.
Comments
For one way to include comments within <math> tags, see Help:Comments.
Examples
<math>\begin{Vmatrix} a & b \\ c & d \end{Vmatrix}</math>
<math>\oint_{C} x^3\, dx + 4y^2\, dy</math>
Integral Equation
\phi_n(\kappa) = \frac{1}{4\pi^2\kappa^2}
\int_0^\infty \frac{\sin(\kappa R)}{\kappa R}
\frac{\partial}{\partial R}\left[R^2\frac{\partial D_n(R)}
{\partial R}\right]\,dR
Related Templates
- Template:quad — one or more consecutive non-breaking spaces
- Template:eqno — template for adding an equation number












