Skip to content

Commit f095f05

Browse files
committed
[macros] Prefer page break after note or example.
1 parent 6c74f10 commit f095f05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/macros.tex

+1-1
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@
296296
{\noteoutro{#3}}
297297
\newenvironment{#1}
298298
{\begin{tail#1}}
299-
{\end{tail#1}\small\par} % \small\par is for C++20 post-DIS compatibility
299+
{\end{tail#1}\par\penalty -200}
300300
}
301301

302302
\newnoteenvironment{note}{Note \arabic{note}}{end note}

0 commit comments

Comments
 (0)