Ignore:
Timestamp:
Nov 26, 2020, 4:45:56 PM (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:
88a0ff6, cde1bf9
Parents:
22b5b87
Message:

Andrew MMath: First draft of existing features and updated framework.

File:
1 edited

Legend:

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

    r22b5b87 r6e7b969  
    2727% Cforall with the forall symbol.
    2828\newsymbolcmd\CFA{\textsf{C}\raisebox{\depth}{\rotatebox{180}{\textsf{A}}}}
     29% C++ with kerning. (No standard number support.)
     30\newsymbolcmd\CPP{\textrm{C}\kern-.1em\hbox{+\kern-.25em+}}
     31
     32% This is executed very early in the \begin{document} code.
     33\AtEndPreamble{
     34  \@ifpackageloaded{hyperref}{
     35    % Convert symbols to pdf compatable forms when required.
     36    \pdfstringdefDisableCommands{
     37      \def\CFA{CFA}
     38      \def\CPP{C++}
     39    }
     40  }{}
     41}
    2942
    3043% The CFA listings language. Based off of ANCI C and including GCC extensions.
     
    7285    \renewcommand\textunderscore{\csuse{cfalab@textunderscore@#1}}}
    7386
    74 % This is executed very early in the \begin{document} code.
    75 \AtEndPreamble{
    76   \@ifpackageloaded{hyperref}{
    77     % Convert symbols to pdf compatable forms when required.
    78     \pdfstringdefDisableCommands{
    79       \def\CFA{CFA}
    80     }
    81   }{}
    82 }
    83 
    8487\endinput
Note: See TracChangeset for help on using the changeset viewer.