Boxes around aligned equations in LaTeX
Example of how to get boxes around equations in the aligned environment in LaTeX:
\begin{equation}
\boxed{
\begin{aligned}
x^2 + 1 &= 2 \\
x^4 + 1 &= 3
\end{aligned}
}
\end{equation}
I’d like to show the result, but at time of writing I realize I don’t have my workflow set up to properly render LaTeX equations in the final Hugo post. Here’s what I get instead: (if this looks right, then I must have fixed it.)
\[\begin{equation} \boxed{ \begin{aligned} x^2 + 1 &= 2 \\ x^4 + 1 &= 3 \end{aligned} } \end{equation}\]