The mathmpl uses matplotlib's built-in mathtext rendering engine to 
render the math, which does not currently support any of the "grid" 
environments from ams-latex, such as "align".  If you need those, look 
at sphinx.ext.pngmath.

Mike

David Arnold wrote:
> All,
>
> If I am using this in my conf.py in Sphinx:
>
> extensions = ['matplotlib.sphinxext.mathmpl',
>       'matplotlib.sphinxext.only_directives',
>       'matplotlib.sphinxext.plot_directive']
>
> Is there a way I can use ams-latex constructs such as:
>
> \begin{align*}
> x+2y&=3\\
> 2x-3y&=4
> \end{align*}
>
> D.
>
> ------------------------------------------------------------------------------
> Join us December 9, 2009 for the Red Hat Virtual Experience,
> a free event focused on virtualization and cloud computing. 
> Attend in-depth sessions from your desk. Your couch. Anywhere.
> http://p.sf.net/sfu/redhat-sfdev2dev
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>   

-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA


------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to