From the WikiPublisher

Wikipublisher: LaTeX Equations

This wiki includes the LatexRender [2] (supersedes mimeTeX [1]) plug-in for equation support using LATEX markup. Cookbook.Activate Latexrender describes how to install and test the recipe. Some examples follow and see also Aligned Equations.


\Large e^x=\lim_{n\to\infty} \left(1+\frac{x}{n}\right)^n


\displaystyle x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}

\large \int\limits_{0}^{\infty} e^{-x^2} dx\ =\ \frac{\sqrt\pi}2

(1){\color{red} e^{2\pi i}-1\,=\,0}

\displaystyle\int_{0}^{1}\frac{x^{4}\left(1-x\right)^{4}}{1+x^{2}}dx\ =\ \frac{22}{7}-\pi

\text{testing vectors and mathbb:} \vec{v} \in \mathbb{R}^n

fix collision with Māori macron markup (fixed again in 2.2): \frac{a}{2}

On screen, these equations display using the latexrender bit-maps. In print, the typesetter creates the excellent print quality that LATEX makes possible. The DTD currently supports a subset of LATEX equation markup and this may lead to occasional errors in the print output. The latexrender plug-in currently provides partial support for Aligned Equations (equation arrays). The remaining challenge is to devise a markup which lets us recognize references to labels on individual equations in the array, and generate the correct numbering and equation references for both screen and print. However, it does support labelled multi-line equations; for example:

(2)\mathbf{X} =
\left( \begin{array}{ccc}
x_{11} & x_{12} & \ldots \\
x_{21} & x_{22} & \ldots \\
\vdots & \vdots & \ddots
\end{array} \right)

All equations are currently displayed on-screen “inline” — the typeset version detects “display” equations and typesets them with appropriate spacing and, if specified, an equation number. For example, equation (1) illustrates numbering. Equation references can be capitalised to start a sentence. Equation (2) illustrates this.

Copyright © 2005–2017 the Wikipublisher wiki and its authors



Retrieved from

Page last modified on 21 November 2016 at 02:52 PM