Skip to content

Commit c6297ad

Browse files
jensmaurertkoeppe
authored andcommitted
[macros] Fine-tune page breaking around 'itemdecl'
1 parent 0070352 commit c6297ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/macros.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -631,9 +631,9 @@
631631
{
632632
\lstset{escapechar=@,
633633
xleftmargin=0em,
634-
midpenalty=500,
634+
midpenalty=3000,
635635
semicolonpenalty=-50,
636-
endpenalty=3000,
636+
endpenalty=2000,
637637
aboveskip=2ex,
638638
belowskip=0ex % leave this alone: it keeps these things out of the
639639
% footnote area

0 commit comments

Comments
 (0)