Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I have a lot of short formulas that I want to set out all together—short enough that usually two or three will fit on each line—so I would like to simply give all the formulas, and let TeX place the line- and page-breaks between them.

The mathpar environment, from the mathpartir package, provides almost exactly what I want, allowing one to write e.g.

\begin{mathpar}
  x = y
\and
  y = z^2
\and
  z = w^3
\end{mathpar}

According to the documentation, this is implemented using TeX's usual paragraph mechanism. However, mathpar paragraphs do not break across pages, it seems. Is there another package/environment similar to this but allowing page-breaks? Or is there a way to modify mathpar to allow them?

share|improve this question

2 Answers 2

up vote 3 down vote accepted

The package mathpartir has an environment mathparpagebreakable:

\documentclass{article}
\usepackage{mathpartir}

\begin{document}
\begin{mathparpagebreakable}
  x = y
\and   
  y = z^2
\and
  z = w^3
\end{mathparpagebreakable}
\end{document}
share|improve this answer
    
Thanks very much — that’s exactly what I was after! Confusingly, this seems to have been added since the version number was last bumped — the copy I was using was up-to-date on version number, but didn’t include this environment (and a few other minor changes). –  Peter LeFanu Lumsdaine Oct 17 '12 at 15:34

It appears you don't need any special environment at all just use a normal paragraph.

 $ x = y$, $y = z^2$ and   $z = w^3$ ....

will break over lines and pages where needed.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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