X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=tex%2Ftexinfo.tex;h=caab907e0ed808d5acee717a06bce3579d98e8a1;hb=1d509b27723ea1c359b51c0f2fe623a32867d6f9;hp=91408263bc9c8ab0ad735c0974872d2f1cf58dc0;hpb=cb01be4028886109ecc4772234452965ce7dfb66;p=lilypond.git diff --git a/tex/texinfo.tex b/tex/texinfo.tex index 91408263bc..caab907e0e 100644 --- a/tex/texinfo.tex +++ b/tex/texinfo.tex @@ -6051,6 +6051,12 @@ end \normbskip=\baselineskip \normpskip=\parskip \normlskip=\lineskip % Flag to tell @lisp, etc., not to narrow margin. \let\nonarrowing = t% + % + % If this cartouche directly follows a sectioning command, we need the + % \parskip glue (backspaced over by default) or the cartouche can + % collide with the section heading. + \ifnum\lastpenalty>10000 \vskip\parskip \fi + % \vbox\bgroup \baselineskip=0pt\parskip=0pt\lineskip=0pt \carttop