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.
12 lines
119 B
Markdown
12 lines
119 B
Markdown
```
|
|
% pandoc -f rst -t latex
|
|
.. math::
|
|
|
|
x &= y\\
|
|
y &= z
|
|
^D
|
|
\[\begin{aligned}
|
|
x &= y\\
|
|
y &= z
|
|
\end{aligned}\]
|
|
```
|