Changeset 8cd34e9
- Timestamp:
- May 4, 2021, 12:28:05 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:
- 1716e1c
- Parents:
- fadfabf
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/theses/andrew_beach_MMath/cfalab.sty
rfadfabf r8cd34e9 23 23 % space and '{}<whatever-follows>' to force remove one. 24 24 % 25 % \CFA 25 26 % Cforall with the forall symbol. 26 27 \newrobustcmd\CFA{\textsf{C\raisebox{\depth}{\rotatebox{180}{A}}}\xspace} 27 % C++ with kerning. You may optionally append a standard number. 28 % \Cpp[<std>] 29 % C++ symbol name. You may optionally provide <std> to specify a standard. 28 30 \newrobustcmd\Cpp[1][\xspace]{C++#1} 29 31 … … 45 47 \newcommand*\colour[2]{{\color{#1}#2}} 46 48 47 % \code*{<code>} 49 % \codeCFA{<code>} 50 % \codeC{<code>} 51 % \codeCpp{<code>} 52 % \codePy{<code>} 48 53 % Use the listings package to format a snipit of <code>. 49 54 \newrobustcmd*\codeCFA[1]{\lstinline[language=CFA]{#1}} … … 52 57 \newrobustcmd*\codePy[1]{\lstinline[language=Python]{#1}} 53 58 59 % \begin{cfa}[<options>] 60 % \end{cfa} 54 61 % Use the listings package to format a block of CFA code. 55 62 % Extra listings options can be passed in as an optional argument.
Note: See TracChangeset
for help on using the changeset viewer.