In this exercise we demonstrate the allowed math elements:
<m>
, <me>
, and <md>
. The last of these may have attribute @alignment
with options gather
, align
, or alignat
. The first two are used by default, depending on if you have &
or \amp
in your math.If \(a=5\) and \(b=12\text{,}\) then
\begin{equation*}
a^2+b^2=13^2\text{.}
\end{equation*}
Here, we solve an equation.
\begin{equation*}
\begin{aligned}
2x+1 \amp= 3\\
2x \amp= 2\\
x \amp= 1
\end{aligned}
\end{equation*}
Here we have a three-way inequality to solve.
\begin{equation*}
\begin{gathered}
1 \lt 2x+1 \lt 3\\
0 \lt 2x \lt 2\\
0 \lt x \lt 1
\end{gathered}
\end{equation*}
And here, we see a system of equations.
\begin{equation*}
\begin{alignedat}{3}
2x + 2y \amp {}+{} \amp z \amp {}={} \amp 10\\
y \amp {}-{} \amp 4z \amp {}={} \amp 9\\
\amp\amp 3z \amp {}={} \amp -6
\end{alignedat}
\end{equation*}