Replies: 2 comments 3 replies
-
No. Where the text should go if it does not fit the page? |
Beta Was this translation helpful? Give feedback.
2 replies
-
Maybe the OP is talking about widows and orphans. On the other hand, code blocks are floats, so the positioning of floats could also be part of the question. In that case, package "float" could help: "The package also provides the H float modifier option of the obsolete here package. You can select this as automatic default with \floatplacement{figure}{H}." Instead of the default \usepackage{float}
\floatplacement{figure}{$if(float-placement-figure)$$float-placement-figure$$else$H$endif$} |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Hi all,
My source document is markdown, the target is PDF. Using scrartcl.
Is there a method to makes sure a section of text (a few paragraphs, plus code blocks) are never split over separate pages?
Something like a \dontsplitstart and \dontsplitend ?
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions