Discussion:
[Docutils-users] (no subject)
Ксения Лукашевичус
2013-10-13 10:37:24 UTC
Permalink
Hello!
There is a question: is it possible to use inline latex arrays ('array'
environment) with the :math: role, or arrays can only be presented in
separate block with math directive?
I'm not subscribed.
Lukashevichus K.
Guenter Milde
2013-10-15 15:39:05 UTC
Permalink
On 2013-10-13, Ксения Лукашевичус wrote:

Dear Ксения,
Post by Ксения Лукашевичус
Hello!
There is a question: is it possible to use inline latex arrays ('array'
environment) with the :math: role, or arrays can only be presented in
separate block with math directive?
The follwing works for me: :math:`\begin{matrix} 1 & \cos x \\
-\sin x & 1 \end{matrix}`.

Mind, that you must follow the rST syntax for inline content, though, i.e.
formatting like::

:math:`\begin{matrix}
1 & \cos x \\
-\sin x & 1
\end{matrix}`.

will not work.


Günter

Loading...