Hi,

I've been using pngmath to render math in html output, but I would like to switch to mathjax instead - looks better. With pngmath, you could have something like this in your conf.py:

pngmath_latex_preamble = r"""
\newcommand{\br}{\mathbf{r}}
\newcommand{\bk}{\mathbf{k}}
\newcommand{\bG}{\mathbf{G}}
"""

and use these shortcuts like this: :math:`f(\br)=1`. Is something similar possible with mathjax?

Jens Jørgen

--
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to