If I understand correctly, the main text box on a page is a special box, since in addition to the normal paragraph typesetting, text can also overflow into the next page. Is it possible to, say, have two minipages (or any sort of boxes that I can position arbitrarily in my document) so that the text in the first box that overflows gets put into the second box?
Asked
Active
Viewed 350 times
2
1 Answers
2
With a lot of manual intervention it's possible, but not with the standard minipage environment.
A "reduced version" of TeX's page builder is available to split vertical boxes:
\newbox\mybigbox \newbox\mysplitbox
\setbox\mybigbox=\vbox{<material>}
\setbox\mysplitbox=\vsplit\mybigbox to 10cm
Now the box register \mysplitbox will contain 10cm high text from \mybigbox and \mybigbox will contain the rest.
Careful reading of the TeXbook or TeX by topic is necessary, as this low level mechanism has never been canned into high level macros.
egreg
- 1,121,712
multicol. Columns aren't too arbitrarily positioned though. – doncherry Sep 05 '11 at 00:27mdframed. – Alan Munn Sep 05 '11 at 00:58flowframwith documentation inffuserguide.pdf. – Will Robertson Sep 05 '11 at 15:57