Changeset 62c0f8a for doc/LaTeXmacros
- Timestamp:
- Jan 22, 2021, 12:02:14 PM (4 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 6c79bef
- Parents:
- d1b70d4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/LaTeXmacros/common.tex
rd1b70d4 r62c0f8a 11 11 %% Created On : Sat Apr 9 10:06:17 2016 12 12 %% Last Modified By : Peter A. Buhr 13 %% Last Modified On : Mon Oct 5 09:34:46 202014 %% Update Count : 4 6413 %% Last Modified On : Fri Jan 22 12:00:40 2021 14 %% Update Count : 481 15 15 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 16 16 … … 229 229 \usepackage{listings} % format program code 230 230 \usepackage{lstlang} 231 \usepackage{calc} % latex arithmetic 232 231 233 \makeatletter 232 233 234 \newcommand{\LstBasicStyle}[1]{{\lst@basicstyle{#1}}} 234 235 \newcommand{\LstKeywordStyle}[1]{{\lst@basicstyle{\lst@keywordstyle{#1}}}} … … 266 267 aboveskip=4pt, % spacing above/below code block 267 268 belowskip=3pt, 269 numberstyle=\footnotesize\sf, % numbering style 268 270 % replace/adjust listing characters that look bad in sanserif 269 271 literate={-}{\makebox[1ex][c]{\raisebox{0.4ex}{\rule{0.75ex}{0.1ex}}}}1 {^}{\raisebox{0.6ex}{$\scriptscriptstyle\land\,$}}1 … … 293 295 language=CFA, 294 296 escapechar=\$, % LaTeX escape in CFA code 297 mathescape=false, % LaTeX math escape in CFA code $...$ 295 298 moredelim=**[is][\color{red}]{@}{@}, % red highlighting @...@ 296 299 }% lstset
Note: See TracChangeset
for help on using the changeset viewer.