Page MenuHomePhabricator
Paste P34947

Missing LaTeX AMS environments for math rendering examples
ActivePublic

Authored by dom_walden on Sep 27 2022, 1:01 PM.
Tags
None
Referenced Files
F35536240: Missing LaTeX AMS environments for math rendering examples
Sep 27 2022, 1:01 PM
Subscribers
None
Many of the examples below are from <ref>https://www.onemathematicalcat.org/MathJaxDocumentation/TeXSyntax.htm</ref>.
== gather ==
<math>
\begin{gather}
a = a\\
\text{if } a=b \text{ then } b=a\\
\text{if } a=b \text{ and } b=c \text{ then } a=c
\end{gather}
</math>
== multline ==
<math>
\begin{multline}
\rm first\ line \\
\rm second\ line \\
\rm third\ line \\
\rm fourth\ line
\end{multline}
</math>
== split ==
<math>
\begin{split}
\text{first line}\\
&\text{first aligned place} &\text{second aligned place} \\
&\text{and more first aligned}\qquad &\text{and more second aligned} \\
\text{no ampersands on this line} \\
& &\text{aligned at second place} \\
\text{no amps here either}
\end{split}
</math>
== subarray ==
<math>
\prod_{\begin{subarray}{rl}
i< 5 \quad & j> 1 \\
k\ge2,\,k\ne 5 \quad & \ell\le 5,\,\ell\ne 2
\end{subarray}}
x_{ijk\ell}
</math>
== References ==