# Latex multiple equations

• What have you tried? – Au101 Jan 17 at 19:24
• Do you mean that with the black angled border, or is that an artifact of your cropping? – Steven B. Segletes Jan 17 at 19:28
• If the border you show is desired, then \documentclass{article} \usepackage{amsmath} \begin{document} \begin{tabular}{c@{\hspace{3pt}}|} \begin{aligned} (p+q)(x+y) &= M\\ x+y &= 16 \end{aligned}\\ \hline \end{tabular} \end{document} – Steven B. Segletes Jan 17 at 19:32

\documentclass{article}

\usepackage{amsmath}
\begin{document}

\begin{align*}
(p+q)(x+y)&=M\\
x+y&=16
\end{align*}
\end{document}


See the amsmath package documentation for lots more examples.