The begin align and end align environment

1,600

\left( ... \right) cannot span lines.

Either use \right. and \left. like so:

\begin{align}
  \begin{split}
    A &= \left(B + \dots\right. \\
      &+ \left.\dots C \right)
  \end{split}
\end{align}

enter image description here

These basically insert an invisible closing/opening (respectively) delimeter, so that you always have a pair. A \left must be paired with a \right, but obviously you don't always want an actual delimeter printed, so we have \right. and \left..

Or you can use manually sized brackets, e.g. \bigl( ... \bigr)

Or you can just use normal brackets. Certainly, \left( ... \right) is not necessary here and overusing these can cause you problems, see:

"(" or "\left(" parentheses?

Is it ever bad to use \left and \right?

Share:
1,600

Related videos on Youtube

CAF
Author by

CAF

Updated on August 01, 2022

Comments

  • CAF
    CAF over 1 year

    I've just got a, what is, hopefully simple question about the use of the \begin{align} and \end{align} environment delimiters. I have a single equation to write in between such commands.

    \begin{align}
      \begin{split}
        A &= \left(B + \dots \\&+ \dots C \right)
      \end{split}
    \end{align}
    

    On one line I start the equation with a bracket which is fitted to the equation so make use of \left but the closure of this, defined by the corresponding \right bracket is on a different line and I am getting an error.

    Is there an easy fix of this? Thanks!

  • CAF
    CAF almost 8 years
    Many thanks! It worked for me. And A,B.C were just generic letterings I used to represent the quantities actually appearing in my equation.
  • Au101
    Au101 almost 8 years
    @CAF Ah, in that case, fair enough. But it is common for people (with the best of intentions) to overuse \left( ... \right), thinking it's giving them optimal scaling every time and we have a number of questions on this site where people would like them to be used by default. But, in fact, they should be used only where necessary and sometimes it's better to use manual sizing, like I say, if you do need a bigger delimeter
  • CAF
    CAF almost 8 years
    Ok thanks for the comments and the quick reply! +1, accepted
  • barbara beeton
    barbara beeton almost 8 years
    actually, equation would be better here than align. since there's only one point of alignment, split takes care of that`, and there's only a single numbered expression, which is equivalent to a one-liner.