We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85f4bb4 commit 054b680Copy full SHA for 054b680
source/macros.tex
@@ -318,7 +318,7 @@
318
\newcommand{\newnoteenvironment}[3]{
319
\newsubclausecounter{#1}
320
\newenvironment{tail#1}
321
-{\par\small\stepcounter{#1}\noteintro{#2}}
+{\par\small\penalty -200\stepcounter{#1}\noteintro{#2}}
322
{\noteoutro{#3}}
323
\newenvironment{#1}
324
{\begin{tail#1}}
@@ -570,7 +570,7 @@
570
% surrounded by @ signs.
571
\newcommand{\CodeBlockSetup}{%
572
\lstset{escapechar=@, aboveskip=\parskip, belowskip=0pt,
573
- midpenalty=500, endpenalty=-50,
+ beginpenalty=200, midpenalty=500, endpenalty=-50,
574
emptylinepenalty=-250, semicolonpenalty=0,upquote=true}%
575
\renewcommand{\tcode}[1]{\textup{\CodeStylex{##1}}}
576
\renewcommand{\term}[1]{\textit{##1}}%
0 commit comments