General ⇒ How can I get automatic line breaks in math mode?
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.
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
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
How can I get automatic line breaks in math mode?
the breqn package supports automatic linebreaking of displayed equations, see its documentation.
Stefan
Re: How can I get automatic line breaks in math mode?
P.S. sorry for the delay in replying, I was travelling and had forgotten to bring my login-password information with me!