diff options
author | 2021-05-18 21:43:12 +0200 | |
---|---|---|
committer | 2021-05-21 06:42:39 +0200 | |
commit | 3e558f678cf36228c51eaf36d59a48577c3e25e3 (patch) | |
tree | 7f2bcb8fa0ddc09291dc9c789d94473685759f55 /pms.cls | |
parent | pms.cls: Require version 1 of parskip.sty (diff) | |
download | pms-3e558f678cf36228c51eaf36d59a48577c3e25e3.tar.gz pms-3e558f678cf36228c51eaf36d59a48577c3e25e3.tar.bz2 pms-3e558f678cf36228c51eaf36d59a48577c3e25e3.zip |
Fix bad page breaks before lists
Taken from https://tex.stackexchange.com/a/2645.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'pms.cls')
-rw-r--r-- | pms.cls | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -131,6 +131,9 @@ \floatname{listing}{Listing} \newcommand{\listoflistings}{\listof{listing}{List of Listings}} +% Prevent page break before a list +\newcommand{\nobreakpar}{\par\nobreak\@afterheading} + % Silence hyperref messages (see hint 11.3 in the hyperref manual) \providecommand*{\toclevel@algorithm}{0} \providecommand*{\toclevel@listing}{0} |