Skip to content

Commit 181477a

Browse files
committed
[macros] Remove accidental whitespace from codeblock environments
1 parent 0e77188 commit 181477a

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

source/macros.tex

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -360,14 +360,14 @@
360360
% Our usual abbreviation for 'listings'. Comments are in
361361
% italics. Arbitrary TeX commands can be used if they're
362362
% surrounded by @ signs.
363-
\newcommand{\CodeBlockSetup}{
364-
\lstset{escapechar=@, aboveskip=\parskip, belowskip=0pt,
365-
midpenalty=500, endpenalty=-50,
366-
emptylinepenalty=-250, semicolonpenalty=0}
367-
\renewcommand{\tcode}[1]{\textup{\CodeStylex{##1}}}
368-
\renewcommand{\techterm}[1]{\textit{\CodeStylex{##1}}}
369-
\renewcommand{\term}[1]{\textit{##1}}
370-
\renewcommand{\grammarterm}[1]{\gterm{##1}}
363+
\newcommand{\CodeBlockSetup}{%
364+
\lstset{escapechar=@, aboveskip=\parskip, belowskip=0pt,
365+
midpenalty=500, endpenalty=-50,
366+
emptylinepenalty=-250, semicolonpenalty=0}%
367+
\renewcommand{\tcode}[1]{\textup{\CodeStylex{##1}}}%
368+
\renewcommand{\techterm}[1]{\textit{\CodeStylex{##1}}}%
369+
\renewcommand{\term}[1]{\textit{##1}}%
370+
\renewcommand{\grammarterm}[1]{\gterm{##1}}%
371371
}
372372

373373
\lstnewenvironment{codeblock}{\CodeBlockSetup}{}

0 commit comments

Comments
 (0)