How can I get automatic line breaks in math mode?
Count from $2$ up to $100$~:
\begin{align}
2 , 4 , 6 , 8 , 10 , 12 , 14 , 16 , 18 , 20 , 22 , 24 , 26 , 28 , 30 , 32 , 34 , 36 , 38 , 40 , 42 , 44 , 46 , 48 , 50 , 52 , 54 , 56 , 58 , 60 , 62 , 64 , 66 , 68 , 70 , 72 , 74 , 76 , 78 , 80 , 82 , 84 , 86 , 88 , 90 , 92 , 94 , 96 , 98 , 100
\end{align}
I came across a reference to the package \mathpar, that is supposed to do that, but for some reason it didn't work. Does anyone know a trick to get this?
many thanks.
General ⇒ How can I get automatic line breaks in math mode?
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
How can I get automatic line breaks in math mode?
Hi ptoche,
the breqn package supports automatic linebreaking of displayed equations, see its documentation.
Stefan
the breqn package supports automatic linebreaking of displayed equations, see its documentation.
Stefan
LaTeX.org admin
Re: How can I get automatic line breaks in math mode?
many thanks for the tip Stefan, I'll follow it up!
P.S. sorry for the delay in replying, I was travelling and had forgotten to bring my login-password information with me!
P.S. sorry for the delay in replying, I was travelling and had forgotten to bring my login-password information with me!