Changeset cc022a9 for doc/LaTeXmacros/common.tex
- Timestamp:
- May 31, 2021, 2:05:54 PM (3 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- fa4915c
- Parents:
- 0497bd6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/LaTeXmacros/common.tex
r0497bd6 rcc022a9 11 11 %% Created On : Sat Apr 9 10:06:17 2016 12 12 %% Last Modified By : Peter A. Buhr 13 %% Last Modified On : Sat May 8 08:48:37202114 %% Update Count : 54 013 %% Last Modified On : Mon May 31 09:10:49 2021 14 %% Update Count : 546 15 15 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 16 16 … … 37 37 38 38 \usepackage{xspace} 39 \newcommand{\CFAIcon}{\textsf{C }\raisebox{\depth}{\rotatebox{180}{\textsf{A}}}} % Cforall icon39 \newcommand{\CFAIcon}{\textsf{C\raisebox{\depth}{\rotatebox{180}A}}} % Cforall icon 40 40 \newcommand{\CFA}{\protect\CFAIcon\xspace} % CFA symbolic name 41 41 \newcommand{\CFL}{\textrm{Cforall}\xspace} % Cforall non-icon name … … 73 73 \setlength{\parindentlnth}{\parindent} 74 74 75 \usepackage{pslatex} % reduce size of san serif font76 \usepackage{relsize} % must be after change to small or selects old size75 \usepackage{pslatex} % reduce size of san serif font 76 \usepackage{relsize} % must be after change to small or selects old size 77 77 \usepackage{rotating} 78 \usepackage{calc} % latex arithmetic 78 79 79 80 % reduce size of chapter/section titles … … 158 159 \newcommand{\CheckPeriod}{\@ifnextchar{.}{}{.\xspace}} 159 160 160 \@ifundefined{eg}{161 161 \newcommand{\EG}{\abbrevFont{e}.\abbrevFont{g}.} 162 162 \newcommand{\eg}{\EG\CheckCommaColon} 163 }{}% 164 \@ifundefined{ie}{ 163 165 164 \newcommand{\IE}{\abbrevFont{i}.\abbrevFont{e}.} 166 165 \newcommand{\ie}{\IE\CheckCommaColon} 167 }{}% 168 \@ifundefined{etc}{ 166 169 167 \newcommand{\ETC}{\abbrevFont{etc}} 170 168 \newcommand{\etc}{\ETC\CheckPeriod} 171 }{}% 172 \@ifundefined{etal}{ 169 173 170 \newcommand{\ETAL}{\abbrevFont{et}~\abbrevFont{al}} 174 171 \newcommand{\etal}{\ETAL\CheckPeriod} 175 }{}% 176 \@ifundefined{viz}{ 172 177 173 \newcommand{\VIZ}{\abbrevFont{viz}} 178 174 \newcommand{\viz}{\VIZ\CheckPeriod} 179 }{}% 175 180 176 \makeatother 181 177 … … 240 236 \usepackage{listings} % format program code 241 237 \usepackage{lstlang} 242 \usepackage{calc} % latex arithmetic243 238 244 239 \makeatletter … … 281 276 numberstyle=\footnotesize\sf, % numbering style 282 277 % replace/adjust listing characters that look bad in sanserif 283 literate={-}{\makebox[1ex][c]{\raisebox{0.4ex}{\rule{0.75ex}{0.1ex}}}}1 {^}{\raisebox{0.6ex}{$\scriptscriptstyle\land\,$}}1 284 {~}{\raisebox{0.3ex}{$\scriptstyle\sim\,$}}1 {`}{\ttfamily\upshape\hspace*{-0.1ex}`}1 285 {<-}{$\leftarrow$}2 {=>}{$\Rightarrow$}2 {->}{\makebox[1ex][c]{\raisebox{0.4ex}{\rule{0.8ex}{0.075ex}}}\kern-0.2ex\textgreater}2, 278 literate= 279 {-}{\makebox[1ex][c]{\raisebox{0.4ex}{\rule{0.75ex}{0.1ex}}}}1 280 {^}{\raisebox{0.6ex}{$\scriptscriptstyle\land\,$}}1 281 {~}{\raisebox{0.3ex}{$\scriptstyle\sim\,$}}1 282 {`}{\ttfamily\upshape\hspace*{-0.1ex}`}1 283 {<-}{$\leftarrow$}2 284 {=>}{$\Rightarrow$}2 285 {->}{\makebox[1ex][c]{\raisebox{0.4ex}{\rule{0.8ex}{0.075ex}}}\kern-0.2ex\textgreater}2, 286 defaultdialect={CFA}, 286 287 }% lstset 287 288 }% CFAStyle
Note: See TracChangeset
for help on using the changeset viewer.