Den 22-10-2014 kl. 13:12 skrev Keta:
See if this helps:
http://stackoverflow.com/a/19268549/1607209
That works very well. Thank you!
Jens Jørgen
On Wed, Oct 22, 2014 at 12:42 PM, Jens Jørgen Mortensen
<[email protected] <mailto:[email protected]>> wrote:
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]
<mailto:sphinx-users%[email protected]>.
To post to this group, send email to [email protected]
<mailto:[email protected]>.
Visit this group at http://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.
--
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]
<mailto:[email protected]>.
To post to this group, send email to [email protected]
<mailto:[email protected]>.
Visit this group at http://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.
--
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.