Skip to content

Commit d935e21

Browse files
committed
[macros] Prefer page break above 'note' or 'example' introducers
Fixes ISO/CS comment (C++23 proof)
1 parent 85f4bb4 commit d935e21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/macros.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@
318318
\newcommand{\newnoteenvironment}[3]{
319319
\newsubclausecounter{#1}
320320
\newenvironment{tail#1}
321-
{\par\small\stepcounter{#1}\noteintro{#2}}
321+
{\par\small\penalty -400\stepcounter{#1}\noteintro{#2}}
322322
{\noteoutro{#3}}
323323
\newenvironment{#1}
324324
{\begin{tail#1}}

0 commit comments

Comments
 (0)