# [Tex/LaTex] Multiple, multi-line equations in amsmath

amsmath

I am experiencing the following problem. I have multiple equations that need to be aligned and numbered, but some of them are too long to fit into one line.

Here is my small example:

\documentclass{article}
\usepackage{amsmath}
\begin{document}
\huge Here are my equations:
\begin{align}
A & = B should be numbered \\
A & = C another very long equation which must be split at a resaonable place, but still numbered
\end{align}
\end{document}


Here are 3 possibilities, hopefully illustrative. I suppose there are two groups of alignment, and the second group has long equations:

\documentclass[11pt]{article}
\usepackage{mathtools}

\begin{document}

Here are my equations:

\begin{align}
\shortintertext{with \texttt{aligned}: }
A & = B & \text{should be } & \text{ numbered }\\
A & = C & \text{another very long } & \!\begin{aligned}[t] & \text{ equation which must be split} \\
& \text{ at a reasonable place,}\\
& \text{ but still numbered} \end{aligned}
\end{align}

\begin{align}
\shortintertext{with \texttt{aligned} again: }
A & = B & \text{should be } & \text{ numbered }\\
A & = C & \text{another very long } & \!\begin{aligned}[t]  \text{ equation which must be split} &   \\
\text{ at a reasonable place,} & \\
\text{ but still numbered} &  \end{aligned}
\end{align}

\begin{align}
\shortintertext{A variant with \texttt{multlined}: }
A & = B & \text{should be }        & \text{ numbered }                                            \\
A & = C & \text{another very long } & \!\begin{multlined}[t]  \text{ equation which must be split} \\
\text{ at a reasonable place,}\\[-0.8ex]
\text{ but still numbered}
\end{multlined}
\end{align}

\end{document}