Left and Right Across Multiple Lines in LaTeX

If you’re using LaTeX to write equations with large elements, you sometimes need large delimiters, like so:

\[ \left|\sum_{i=1}^N E_i \right| \]

You do this with \left| and \right|. Sometimes, if your equation is very long, you want to wrap these delimiters across multiple lines, like so:

\[ \begin{align}&\left|\sum_{i=1}^N E_i \right. \\ &\quad \left. -\sum_{i=1}^N F_i \right|\end{align} \]

If you just try to do this with \left| and \right|, LaTeX will complain. There are a couple of tricks for this, but one is to use virtual dot delimiters, about which I just learned in this Stack Exchange answer from Mark Mikofsky. A \right. delimiter will match any \left, and a \left. delimiter will match any \right. They don’t display anything. The multiline example above is generated by the following code:

\begin{align}
&\left|\sum_{i=1}^N E_i \right. \\
&\quad \left. -\sum_{i=1}^N F_i \right|
\end{align}

You can even use this to generate half of a pair of something, if you want to do that for some reason:

\[ \left. \sum \right) \]

That’s just \left. \sum \right).

Written on November 20, 2026