Changeset 8cd34e9 for doc/theses


Ignore:
Timestamp:
May 4, 2021, 12:28:05 PM (3 years ago)
Author:
Andrew Beach <ajbeach@…>
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
Message:

Andrew MMath: Added command signatures in cfalab.sty.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/theses/andrew_beach_MMath/cfalab.sty

    rfadfabf r8cd34e9  
    2323% space and '{}<whatever-follows>' to force remove one.
    2424%
     25% \CFA
    2526% Cforall with the forall symbol.
    2627\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.
    2830\newrobustcmd\Cpp[1][\xspace]{C++#1}
    2931
     
    4547\newcommand*\colour[2]{{\color{#1}#2}}
    4648
    47 % \code*{<code>}
     49% \codeCFA{<code>}
     50% \codeC{<code>}
     51% \codeCpp{<code>}
     52% \codePy{<code>}
    4853% Use the listings package to format a snipit of <code>.
    4954\newrobustcmd*\codeCFA[1]{\lstinline[language=CFA]{#1}}
     
    5257\newrobustcmd*\codePy[1]{\lstinline[language=Python]{#1}}
    5358
     59% \begin{cfa}[<options>]
     60% \end{cfa}
    5461% Use the listings package to format a block of CFA code.
    5562% Extra listings options can be passed in as an optional argument.
Note: See TracChangeset for help on using the changeset viewer.