Feeds:
Posts

## Posts Tagged ‘Equation’

Just by playing around with CADABRA, I found out the existence of a super-useful LaTeX package, called breqn, which allows to break long equations at the edge of the page… like the wraping feature of most text editors.

However, when one manipulates really long expressions, I’d like to break these long equations through the page. I’m still looking for this feature… in that case I can improve even more the behaviour of cadabra‘s notebook, when compiling it to LaTeX.

Any suggestions???

Cheers!

## LaTeX tip: \allowdisplaybreaks

A quick tip: When writing a long aligned equation, use the following command, \allowdisplaybreaks in the preamble.

## Example

\documentclass{report}
\usepackage{amsmath}
\usepackage{lipsum}
\allowdisplaybreaks

\begin{document}
\lipsum[1-4]
\begin{align*}
Ffffffffffffffffffffffffffffff &= \partial_t(p)\\
&= \partial_t(m v)\\
&= m a\\
&= m \dot{v}\\
&= m \ddot{x}\\
&= \partial_t(p)\
&= \partial_t(m v)\\
&= m a\\
&= m \dot{v}\\
&= m \ddot{x}
\end{align*}
\end{document}