Changeset 299b8b2


Ignore:
Timestamp:
May 17, 2021, 9:43:45 AM (4 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:
fc1347d0
Parents:
9d7e5cb
Message:

Combined all the \code* commands and removed glossaries-extra's automake, which was generating a bunch of warnings.

Location:
doc/theses/andrew_beach_MMath
Files:
3 edited

Legend:

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

    r9d7e5cb r299b8b2  
    4848\newcommand*\colour[2]{{\color{#1}#2}}
    4949
    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}}
    5950% \code{<language>}{<code>}
    6051% Use the listings package to format the snipit of <code> in <language>.
  • doc/theses/andrew_beach_MMath/features.tex

    r9d7e5cb r299b8b2  
    2424
    2525Some well known examples include the @throw@ statements of \Cpp and Java and
    26 the \codePy{raise} statement from Python. In real systems a raise may preform
    27 some other work (such as memory management) but for the purposes of this
    28 overview that can be ignored.
     26the \code{Python}{raise} statement from Python. In real systems a raise may
     27preform some other work (such as memory management) but for the
     28purposes of this overview that can be ignored.
    2929
    3030\subparagraph{Handle}
     
    9393A handler labelled with any given exception can handle exceptions of that
    9494type or any child type of that exception. The root of the exception hierarchy
    95 (here \codeC{exception}) acts as a catch-all, leaf types catch single types
     95(here \code{C}{exception}) acts as a catch-all, leaf types catch single types
    9696and the exceptions in the middle can be used to catch different groups of
    9797related exceptions.
     
    182182While much of the virtual infrastructure is created, it is currently only used
    183183internally for exception handling. The only user-level feature is the virtual
    184 cast, which is the same as the \Cpp \codeCpp{dynamic_cast}.
     184cast, which is the same as the \Cpp \code{C++}{dynamic_cast}.
    185185\label{p:VirtualCast}
    186186\begin{cfa}
  • doc/theses/andrew_beach_MMath/uw-ethesis.tex

    r9d7e5cb r299b8b2  
    145145
    146146% Exception to the rule of hyperref being the last add-on package
    147 \usepackage[automake,toc,abbreviations]{glossaries-extra}
     147\usepackage[toc,abbreviations]{glossaries-extra}
    148148% If glossaries-extra is not in your LaTeX distribution, get it from CTAN
    149149% (http://ctan.org/pkg/glossaries-extra), although it's supposed to be in
Note: See TracChangeset for help on using the changeset viewer.