- #1

- 45

- 0

I got a very long equation that I´m writing in Latex, it is so long that the equation reference can´t fit on the same line.

How do I write to cut the equation so it continues on the next line?

Thanks

You are using an out of date browser. It may not display this or other websites correctly.

You should upgrade or use an alternative browser.

You should upgrade or use an alternative browser.

- LaTeX
- Thread starter ladil123
- Start date

- #1

- 45

- 0

I got a very long equation that I´m writing in Latex, it is so long that the equation reference can´t fit on the same line.

How do I write to cut the equation so it continues on the next line?

Thanks

- #2

cristo

Staff Emeritus

Science Advisor

- 8,107

- 73

Use http://www-h.eng.cam.ac.uk/help/tpl/textprocessing/teTeX/latex/latex2e-html/ltx-223.html [Broken].

Last edited by a moderator:

- #3

- 230

- 0

http://www.ams.org/tex/amslatex.html" [Broken] for more information.

Last edited by a moderator:

- #4

minger

Science Advisor

- 1,495

- 2

Code:

```
\begin{equation}
\label{whateverequation}
\begin{split}
x &= start of long equation \\
& second half of long equation
\end{split}
\end{equation}
```

The two backslashes indicate the end of the line, and the ampersands on each line are aligned underneath each other.

- #5

statdad

Homework Helper

- 1,495

- 35

One more note: this link is a little dated, but the advice found there is good.

http://www.math.uiuc.edu/~hildebr/tex/displays.html

- #6

- 45

- 0

I got a follow up question..

If I have "\left(" command on the first line of the equation and the closing "\right)" command on the second line it wont work!

Any tips on how to make it work?

- #7

- 472

- 0

If I have "\left(" command on the first line of the equation and the closing "\right)" command on the second line it wont work!

Could you be more precise in what wont work???

If you have a one line equation that you break at some point, why do you use \left( instead of just (???

I only use the \left( when I have multi line math environment, like a matrix.

Cheers

- #8

- 45

- 0

My equation has one breaking point. At the first line i got the "\left[" command

and then that line is cut off with \\

Then on the second line I got "\right]".

Then when I should quick build my pdf file I get an error message:

"Missing \right inserted"

below is my input

\begin{align}

w_{h}^{''}(x) & =2 \lambda^{2} \left[ cosh \lambda x (E cos \\

\lambda x - D sin \lambda x ) + sinh \lambda x (B cos \lambda x - A sin \lambda x )\right] \label{winkler_homo8910} \\

\end{align}

I hope I made it more clear ?

- #9

minger

Science Advisor

- 1,495

- 2

Example:

Code:

```
\begin{equation}
\label
\begin{split}
x =& \left[ the start of the equation \right. \\
\left. &second half of the equation \right]
\end{split}
\end{equation}
```

Share: