Math & ScienceIs it possible to break lines in »align« environment?

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
Yue
Posts: 30
Joined: Sat May 08, 2010 9:58 pm

Is it possible to break lines in »align« environment?

Post by Yue »

Suppose I have a very long expression under a sum sign, how can I change lines so that it can be on the page?

If I have something like

Code: Select all

\begin{align}
x=\sum_{k}{ \left[ a + b + c + d + e    \right] }
\end{align}
can I somehow make a line change after b? I tried this, but this does not work:

Code: Select all

\begin{align}
x&=\sum_{k}{ \left[ a + b \\
 &+ c + d + e    \right] }
\end{align}
Is this possible at all?
Last edited by Yue on Tue Jul 06, 2010 3:55 pm, edited 2 times in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Is it possible to break lines in »align« environment?

Post by localghost »

Yue wrote:Suppose I have a very long expression under a sum sign, how can I change lines so that it can be on the page? [...]
I don't see a long expression as limit under the sum sign, only a single character. And behind there is a sum as usual. So you should clarify where you exactly want to have a line break.

Your example doesn't work because you need to have always a complete pair of adjusted delimiters. Invisible delimiters can be typeset by using a period instead of the delimiter symbol.

Code: Select all

\left[ \right.
\left. \right]
For some useful tips you can take a look at the »Math mode« document.


Thorsten
Post Reply