Changeset 299b8b2 for doc/theses/andrew_beach_MMath/cfalab.sty
- Timestamp:
- May 17, 2021, 9:43:45 AM (21 months ago)
- Branches:
- arm-eh, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- fc1347d0
- Parents:
- 9d7e5cb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/theses/andrew_beach_MMath/cfalab.sty
r9d7e5cb r299b8b2 48 48 \newcommand*\colour[2]{{\color{#1}#2}} 49 49 50 % \codeCFA{<code>}51 % \codeC{<code>}52 % \codeCpp{<code>}53 % \codePy{<code>}54 % Use the listings package to format a snipit of <code>.55 \newrobustcmd*\codeCFA[1]{\lstinline[language=CFA]{#1}}56 \newrobustcmd*\codeC[1]{\lstinline[language=C]{#1}}57 \newrobustcmd*\codeCpp[1]{\lstinline[language=C++]{#1}}58 \newrobustcmd*\codePy[1]{\lstinline[language=Python]{#1}}59 50 % \code{<language>}{<code>} 60 51 % Use the listings package to format the snipit of <code> in <language>.
Note: See TracChangeset
for help on using the changeset viewer.