How to write matrices in Sphinx using matplotlib extensions ?

Hi,

first of all, thanks for matplotlib!
Then, the question. After reading this

http://matplotlib.sourceforge.net/sampledoc/extensions.html

I’ve tried to use something like:

… math::

\left| \begin{array}{cc} x_{11} & x_{12} \\ x_{21} & x_{22} \end{array} \right|

but it doesn’t work.

Can you help me?

Thanks,

Manuel

Unfortunately, the matplotlib mathtext renderer does not support
\begin{array} (or any of the \begin{}/\end{} tags for that matter).
You’ll probably want to experiment with one of the other math
plugins for sphinx described here:

http://sphinx.pocoo.org/ext/math.html

Mike
···

http://matplotlib.sourceforge.net/sampledoc/extensions.html
http://p.sf.net/sfu/rsa-sfdev2dev1Matplotlib-users@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/matplotlib-users