Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- documentclass{article}
- clubpenalty=150
- flushbottom
- renewcommandtopfraction{.9}
- renewcommandtextfraction{.05}
- nofiles
- tracingpages=1
- begin{document}
- hrule
- vskip 75pt
- centerline{First float}
- vskip 100pt
- hrule
- vskipfloatsep
- hrule
- vskip 75pt
- centerline{Second float}
- vskip 100pt
- hrule
- vskiptextfloatsep
- This paragraph is simply meant to be filler in order to illustrate the problem.
- We deliberately did not use the more common ``Lore ipsum'' to not confuse TeX hyphenation mechanism.
- With this minimal working example (MWE) we want to pin down a problem, when TeX/LaTeXe calculates the badness of a page.
- It seems that the additional vertical flexibility that is provided by floats are not considered.
- The text height equals thetextheight, the baseline skip equals thebaselineskip, the separation between the last top float or the first bottom float and the text equals thetextfloatsep, the separation between an in-text float and the surrounding text equals theintextsep, and the separation between consecutive floats equals thefloatsep.
- To this end, we need at least two paragraphs that both are at least four lines long.
- Four lines are the minimum to split a paragraph across pages without creating a club or widow.
- Unfortunately, we run out of ideas what we could write to fill the remaining lines.
- Maybe a quote from literature is our rescue: ``Be or not to be, that is the question''.
- Yes, this is enough.
- end{document}
- documentclass{article}
- clubpenalty=2000
- flushbottom
- renewcommandtopfraction{.9}
- renewcommandtextfraction{.05}
- nofiles
- tracingpages=1
- begin{document}
- hrule
- vskip 75pt
- centerline{First float}
- vskip 100pt
- hrule
- vskipfloatsep
- hrule
- vskip 75pt
- centerline{Second float}
- vskip 100pt
- hrule
- vskiptextfloatsep
- This paragraph is simply meant to be filler in order to illustrate the problem.
- We deliberately did not use the more common ``Lore ipsum'' to not confuse TeX hyphenation mechanism.
- With this minimal working example (MWE) we want to pin down a problem, when TeX/LaTeXe calculates the badness of a page.
- It seems that the additional vertical flexibility that is provided by floats are not considered.
- The text height equals thetextheight, the baseline skip equals thebaselineskip, the separation between the last top float or the first bottom float and the text equals thetextfloatsep, the separation between an in-text float and the surrounding text equals theintextsep, and the separation between consecutive floats equals thefloatsep.
- To this end, we need at least two paragraphs that both are at least four lines long.
- Four lines are the minimum to split a paragraph across pages without creating a club or widow.
- Unfortunately, we run out of ideas what we could write to fill the remaining lines.
- Maybe a quote from literature is our rescue: ``Be or not to be, that is the question''.
- Yes, this is enough.
- end{document}
- documentclass{article}
- clubpenalty=2000
- flushbottom
- renewcommandtopfraction{.9}
- renewcommandtextfraction{.05}
- nofiles
- tracingpages=1
- begin{document}
- begin{figure}[t]
- hrule
- vskip 75pt
- centerline{First float}
- vskip 100pt
- hrule
- end{figure}
- begin{figure}[t]
- hrule
- vskip 75pt
- centerline{Second float}
- vskip 100pt
- hrule
- end{figure}
- This paragraph is simply meant to be filler in order to illustrate the problem.
- We deliberately did not use the more common ``Lore ipsum'' to not confuse TeX hyphenation mechanism.
- With this minimal working example (MWE) we want to pin down a problem, when TeX/LaTeXe calculates the badness of a page.
- It seems that the additional vertical flexibility that is provided by floats are not considered.
- The text height equals thetextheight, the baseline skip equals thebaselineskip, the separation between the last top float or the first bottom float and the text equals thetextfloatsep, the separation between an in-text float and the surrounding text equals theintextsep, and the separation between consecutive floats equals thefloatsep.
- To this end, we need at least two paragraphs that both are at least four lines long.
- Four lines are the minimum to split a paragraph across pages without creating a club or widow.
- Unfortunately, we run out of ideas what we could write to fill the remaining lines.
- Maybe a quote from literature is our rescue: ``Be or not to be, that is the question''.
- Yes, this is enough.
- end{document}
- %% goal height=550.0, max depth=5.0
- % t=0.0 g=550.0 b=10000 p=0 c=100000#
- % t=10.0 g=550.0 b=10000 p=0 c=100000#
- % t=91.94444 g=550.0 b=10000 p=0 c=100000#
- % t=192.34444 g=550.0 b=10000 p=0 c=100000#
- % t=204.74443 plus 2.0 minus 2.0 g=550.0 b=10000 p=0 c=100000#
- % t=286.68887 plus 2.0 minus 2.0 g=550.0 b=10000 p=0 c=100000#
- % t=387.08887 plus 2.0 minus 2.0 g=550.0 b=10000 p=0 c=100000#
- % t=414.03331 plus 5.0 minus 6.0 g=550.0 b=10000 p=150 c=100000#
- % t=426.03331 plus 5.0 minus 6.0 g=550.0 b=10000 p=0 c=100000#
- ...
- % t=534.03331 plus 6.0 minus 6.0 g=550.0 b=1881 p=0 c=1881#
- % t=546.03331 plus 7.0 minus 6.0 g=550.0 b=18 p=150 c=168#
- % t=558.03331 plus 7.0 minus 6.0 g=550.0 b=* p=0 c=*
- % t=534.03331 plus 6.0 minus 6.0 g=550.0 b=1881 p=0 c=1881#
- % t=546.03331 plus 7.0 minus 6.0 g=550.0 b=18 p=2000 c=2018
- % t=558.03331 plus 7.0 minus 6.0 g=550.0 b=* p=0 c=*
- %% goal height=152.51114, max depth=5.0
- % t=0.0 g=152.51114 b=10000 p=0 c=100000#
- % t=10.0 g=152.51114 b=10000 p=2000 c=100000#
- % t=22.0 g=152.51114 b=10000 p=0 c=100000#
- ...
- % t=130.0 plus 1.0 g=152.51114 b=10000 p=0 c=100000#
- % t=142.0 plus 2.0 g=152.51114 b=10000 p=2000 c=100000#
- % t=154.0 plus 2.0 g=152.51114 b=* p=0 c=*
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement