File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 360
360
% Our usual abbreviation for 'listings'. Comments are in
361
361
% italics. Arbitrary TeX commands can be used if they're
362
362
% 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}}%
371
371
}
372
372
373
373
\lstnewenvironment {codeblock}{\CodeBlockSetup }{}
You can’t perform that action at this time.
0 commit comments