Formula LaTeX Template

Last modified by Vincent Massol on 2024/07/05 18:06

cogTemplate for the Formula macro when exporting to LaTeX
TypeJAR
CategoryAPI
Developed by

XWiki Development Team, Vincent Massol

Rating
0 Votes
LicenseGNU Lesser General Public License 2.1

Installable with the Extension Manager

Description

Template for the Formula macro when exporting to LaTeX. 

Specifically, this LaTeX template maps the Formula Macro to LaTeX with a \begin{equation}...\end{equation} construct.

For example:

Hello {{formula}}\sum_{n=1}^\infty\frac{1}{n^2} = \frac{\pi^2}{6}{{/formula}}

{{formula}}
\sum_{n=1}^\infty\frac{1}{n^2} = \frac{\pi^2}{6}
{{/formula}}

Generates:

formula.png

Prerequisites & Installation Instructions

We recommend using the Extension Manager to install this extension (Make sure that the text "Installable with the Extension Manager" is displayed at the top right location on this page to know if this extension can be installed with the Extension Manager).

You can also use the manual method which involves dropping the JAR file and all its dependencies into the WEB-INF/lib folder and restarting XWiki.

Dependencies

Dependencies for this extension (org.xwiki.contrib.formula:macro-formula-latex 14.8):

Get Connected