615a99c2c2
rst2latex.py uses an align* environment for math in `.. math::` blocks, so this math may contain line breaks. If it does, we put the math in an `aligned` environment to simulate rst2latex.py's behavior. Closes #4254.
119 B
119 B
% pandoc -f rst -t latex
.. math::
x &= y\\
y &= z
^D
\[\begin{aligned}
x &= y\\
y &= z
\end{aligned}\]