Version 5 (modified by rjollos, 4 years ago) (diff)

Refs #8492.

Latex support in wiki pages


This macro renders Latex code in wiki pages as PNG images.

LatexMacro is a port of latex-math for Trac 0.11 with some inspiration from trac2latex.

See also: TracMathJaxPlugin, TracMathPlugin, LatexFormulaMacro


  • Latex
  • dvipng

Bugs/Feature Requests

Existing bugs and feature requests for LatexMacro are here.

If you have any issues, create a new ticket.


Download the zipped source from here.


You can check out LatexMacro from here using Subversion, or browse the source with Trac.


\frac{\alpha^{\beta^2}}{\delta + \alpha}

This code will produce a PNG image, inserted directly in the body of the wiki page.

Recent Changes

[9849] by rjollos on 2011-02-11 13:09:39
Wrapped <img> tag with an anchor so that clicking on the image shows the image displayed alone in the browser. Fixes #8493.
[9848] by rjollos on 2011-02-11 12:25:17
Added empty to fix an installation problem.
[9847] by rjollos on 2011-02-10 23:13:01
Removed enclosing $ from example. Fixes #8492.


Author: jeangui
Maintainer: jeangui