3

This question already has an answer here:

I'm writing long sequences of aligned math equations, and LaTeX interprete them as single, unbreakable objects... which is Ok if the equation is nowhere near the end of the page.

Q: Is there a way to (automatically) break the align equation through pages?

In the code below,

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

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

all of the equation goes to the second page. I do not want that

If I break manually, by closing the align and open another, I lose the alignment with the previous part.

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

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

I do not want that either.

So far I read about breqn packages, but it seems not to do what I would like.

Any Suggestion?? Thx.

marked as duplicate by David Carlisle, barbara beeton, Thorsten, Mensch, mafp Jun 14 '13 at 13:45

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • we should probably close as duplicate then? (Stefan goes in to more detail there, although it's not accepted) – David Carlisle Jun 14 '13 at 12:58
4

Use \displaybreak to force a break after a specified line or add \allowdisplaybreaks in your preamble to allow them generally.

  • Thank you @david-calister. I follow your suggestion, it worked like a charm! Also found this post. Cheers. – Dox Jun 14 '13 at 12:48
  • @Dox Just a friendly reminder: Accepting and upvoting answers is the preferred way here to say “thank you” to users who helped you. :-) – Sean Allred Jun 14 '13 at 13:00
  • 1
    @sean-allred Got it present, but the answer was so fast that the page do not allow an acceptance yet! :-P – Dox Jun 14 '13 at 13:03

Not the answer you're looking for? Browse other questions tagged or ask your own question.