Changeset 8d66610 for doc/LaTeXmacros/common.tex
- Timestamp:
- May 21, 2021, 4:48:10 PM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- f1bce515
- Parents:
- 5407cdc (diff), 7404cdc (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
doc/LaTeXmacros/common.tex (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
doc/LaTeXmacros/common.tex
r5407cdc r8d66610 11 11 %% Created On : Sat Apr 9 10:06:17 2016 12 12 %% Last Modified By : Peter A. Buhr 13 %% Last Modified On : S un Feb 14 15:52:46202114 %% Update Count : 5 2413 %% Last Modified On : Sat May 8 08:48:37 2021 14 %% Update Count : 540 15 15 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 16 16 … … 38 38 \usepackage{xspace} 39 39 \newcommand{\CFAIcon}{\textsf{C}\raisebox{\depth}{\rotatebox{180}{\textsf{A}}}} % Cforall icon 40 \newcommand{\CFA}{\protect\CFAIcon\xspace} % CFA symbolic name41 \newcommand{\CFL}{\textrm{Cforall}\xspace} % Cforall non-icon name42 \newcommand{\Celeven}{\textrm{C11}\xspace} % C11 symbolic name40 \newcommand{\CFA}{\protect\CFAIcon\xspace} % CFA symbolic name 41 \newcommand{\CFL}{\textrm{Cforall}\xspace} % Cforall non-icon name 42 \newcommand{\Celeven}{\textrm{C11}\xspace} % C11 symbolic name 43 43 \newcommand{\CCIcon}{\textrm{C}\kern-.1em\hbox{+\kern-.25em+}} % C++ icon 44 \newcommand{\CC} {\protect\CCIcon\xspace}% C++ symbolic name44 \newcommand{\CC}[1][]{\protect\CCIcon{#1}\xspace} % C++ symbolic name 45 45 % numbers disallowed in latex variables names => use number names 46 \newcommand{\CCeleven}{\protect\CCIcon{11}\xspace} % C++11 symbolic name47 \newcommand{\CCfourteen}{\protect\CCIcon{14}\xspace} % C++14 symbolic name48 \newcommand{\CCseventeen}{\protect\CCIcon{17}\xspace} % C++17 symbolic name49 \newcommand{\CCtwenty}{\protect\CCIcon{20}\xspace} % C++20 symbolic name46 \newcommand{\CCeleven}{\protect\CCIcon{11}\xspace} % C++11 symbolic name 47 \newcommand{\CCfourteen}{\protect\CCIcon{14}\xspace} % C++14 symbolic name 48 \newcommand{\CCseventeen}{\protect\CCIcon{17}\xspace} % C++17 symbolic name 49 \newcommand{\CCtwenty}{\protect\CCIcon{20}\xspace} % C++20 symbolic name 50 50 \newcommand{\Csharp}{C\raisebox{-0.7ex}{\Large$^\sharp$}\xspace} % C# symbolic name 51 51 … … 102 102 \renewcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}{-2.5ex \@plus -1ex \@minus -.2ex}{1.0ex \@plus .2ex}{\normalfont\normalsize\bfseries}} 103 103 \renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}{-2.0ex \@plus -1ex \@minus -.2ex}{-1em}{\normalfont\normalsize\bfseries}} 104 \renewcommand\subparagraph{\@startsection{subparagraph}{4}{\z@}{-1.5ex \@plus -1ex \@minus -.2ex}{-1em}{\normalfont\normalsize\bfseries\itshape}} 104 105 105 106 % index macros … … 152 153 % Latin abbreviation 153 154 \newcommand{\abbrevFont}{\textit} % set empty for no italics 155 % If not followed by a comma or colon, add a comma. 156 \newcommand{\CheckCommaColon}{\@ifnextchar{,}{}{\@ifnextchar{:}{}{,\xspace}}} 157 % If not followed by a period, add a period. 158 \newcommand{\CheckPeriod}{\@ifnextchar{.}{}{.\xspace}} 159 154 160 \@ifundefined{eg}{ 155 161 \newcommand{\EG}{\abbrevFont{e}.\abbrevFont{g}.} 156 \newcommand*{\eg}{% 157 \@ifnextchar{,}{\EG}% 158 {\@ifnextchar{:}{\EG}% 159 {\EG,\xspace}}% 160 }}{}% 162 \newcommand{\eg}{\EG\CheckCommaColon} 163 }{}% 161 164 \@ifundefined{ie}{ 162 165 \newcommand{\IE}{\abbrevFont{i}.\abbrevFont{e}.} 163 \newcommand*{\ie}{% 164 \@ifnextchar{,}{\IE}% 165 {\@ifnextchar{:}{\IE}% 166 {\IE,\xspace}}% 167 }}{}% 166 \newcommand{\ie}{\IE\CheckCommaColon} 167 }{}% 168 168 \@ifundefined{etc}{ 169 169 \newcommand{\ETC}{\abbrevFont{etc}} 170 \newcommand*{\etc}{% 171 \@ifnextchar{.}{\ETC}% 172 {\ETC.\xspace}% 173 }}{}% 170 \newcommand{\etc}{\ETC\CheckPeriod} 171 }{}% 174 172 \@ifundefined{etal}{ 175 173 \newcommand{\ETAL}{\abbrevFont{et}~\abbrevFont{al}} 176 \newcommand*{\etal}{% 177 \@ifnextchar{.}{\protect\ETAL}% 178 {\protect\ETAL.\xspace}% 179 }}{}% 174 \newcommand{\etal}{\ETAL\CheckPeriod} 175 }{}% 180 176 \@ifundefined{viz}{ 181 177 \newcommand{\VIZ}{\abbrevFont{viz}} 182 \newcommand*{\viz}{% 183 \@ifnextchar{.}{\VIZ}% 184 {\VIZ.\xspace}% 185 }}{}% 178 \newcommand{\viz}{\VIZ\CheckPeriod} 179 }{}% 186 180 \makeatother 187 181 … … 284 278 showlines=true, % show blank lines at end of code 285 279 aboveskip=4pt, % spacing above/below code block 286 belowskip= 0pt,280 belowskip=2pt, 287 281 numberstyle=\footnotesize\sf, % numbering style 288 282 % replace/adjust listing characters that look bad in sanserif … … 297 291 \lstset{ 298 292 language=CFA, 299 moredelim=**[is][\color{red}]{@}{@}, % red highlighting @...@300 %moredelim=**[is][\color{red}]{®}{®}, % red highlighting ®...® (registered trademark symbol) emacs: C-q M-.293 %moredelim=**[is][\color{red}]{@}{@}, % red highlighting @...@ 294 moredelim=**[is][\color{red}]{®}{®}, % red highlighting ®...® (registered trademark symbol) emacs: C-q M-. 301 295 %moredelim=**[is][\color{blue}]{ß}{ß}, % blue highlighting ß...ß (sharp s symbol) emacs: C-q M-_ 302 296 %moredelim=**[is][\color{OliveGreen}]{¢}{¢}, % green highlighting ¢...¢ (cent symbol) emacs: C-q M-"
Note:
See TracChangeset
for help on using the changeset viewer.