Discussion:
subequations span multiple pages
(too old to reply)
j***@pitt.edu
2005-01-06 14:45:47 UTC
Permalink
I'm currently using the subequations environment from the amsmath
package to create equations with numnbers like 3a, 3b, 3c, etc. I've
got an equation which is pretty large and it doesnt seem to be able to
span pages. So instead of placing part of the equation on one page and
part on the following, all of the equation is forced to the second
page. Latex then compensates for this by leaving alot of white space
evenly distributed between the paragraphs on the previous page. I was
wondering if there was a way to get the subequations environment to
span pages or alternatively if there was another package which will
give me the numbering above while allowing me to span pages.
Lars Madsen
2005-01-06 15:18:02 UTC
Permalink
Post by j***@pitt.edu
I'm currently using the subequations environment from the amsmath
package to create equations with numnbers like 3a, 3b, 3c, etc. I've
got an equation which is pretty large and it doesnt seem to be able to
span pages. So instead of placing part of the equation on one page and
part on the following, all of the equation is forced to the second
page. Latex then compensates for this by leaving alot of white space
evenly distributed between the paragraphs on the previous page. I was
wondering if there was a way to get the subequations environment to
span pages or alternatively if there was another package which will
give me the numbering above while allowing me to span pages.
this has nothing to do with subequations since it only changes the appearence of
some counters.

You need to have your equation displaying environment allowing page breaks
inside the environment.

try something like

\begin{subequations}
\allowdisplaybreaks
\begin{...}
lots of math
\end{...}
\end{subequations}

\allowdisplaybreaks is here localized to this subequations environment only.
--
/daleif (remove RTFSIGNATURE from email address)

LaTeX FAQ: http://www.tex.ac.uk/faq
AMSMATH Intro: http://www.ams.org/tex/amslatex.html
LaTeX Intro: http://people.ee.ethz.ch/~oetiker/lshort/lshort.pdf
Graphics Intro: http://www.ctan.org/tex-archive/info/epslatex.pdf
Superb Class: http://www.ctan.org/tex-archive/help/Catalogue/entries/memoir.html
Remember to post minimal working examples.
Vilar Camara Neto
2005-01-06 15:18:26 UTC
Permalink
Post by j***@pitt.edu
I'm currently using the subequations environment from the amsmath
package to create equations with numnbers like 3a, 3b, 3c, etc. I've
got an equation which is pretty large and it doesnt seem to be able to
span pages. So instead of placing part of the equation on one page and
part on the following, all of the equation is forced to the second
page. Latex then compensates for this by leaving alot of white space
evenly distributed between the paragraphs on the previous page. I was
wondering if there was a way to get the subequations environment to
span pages or alternatively if there was another package which will
give me the numbering above while allowing me to span pages.
The problem is not with subequations environment, since it only changes
the equation numbering schema. The problem is about multi-line equation
environments, like gather or align: by default, all lines are bound
together in one page.

The command \allowdisplaybreaks[4] make these multi-equation
environments very "breakable". You can put it in the preamble, but I
recommend using it only locally, surrounding it with braces, e.g.:

{\allowdisplaybreaks[4]
\begin{gather}
....... \\
....... \\
...etc...
\end{gather}
}

(Note the outer braces limiting the command effect.)
--
Best regards,

Vilar Camara Neto
j***@pitt.edu
2005-01-06 20:56:02 UTC
Permalink
Lars and Vilmar,

Thanks, the \allowdisplaybreaks command was just what I was looking for.
Loading...