Changeset f4eb705 for doc/LaTeXmacros/common.tex
- Timestamp:
- Feb 9, 2021, 4:51:22 PM (4 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 52f6250
- Parents:
- d4a4b17 (diff), 735b627 (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
Legend:
- Unmodified
- Added
- Removed
-
doc/LaTeXmacros/common.tex
rd4a4b17 rf4eb705 11 11 %% Created On : Sat Apr 9 10:06:17 2016 12 12 %% Last Modified By : Peter A. Buhr 13 %% Last Modified On : Wed Feb 3 10:57:33202114 %% Update Count : 5 0813 %% Last Modified On : Mon Feb 8 21:45:41 2021 14 %% Update Count : 522 15 15 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 16 16 … … 57 57 \pdfstringdefDisableCommands{ 58 58 \def\CFA{\CFL} 59 \def\Celeven{C11\xspace} 59 60 \def\CC{C++\xspace} 60 61 \def\CCeleven{C++11\xspace} … … 63 64 \def\CCtwenty{C++20\xspace} 64 65 \def\Csharp{C\#\xspace} 65 \def\lstinline{\xspace} 66 \def\lstinline{\xspace}% must use {} as delimiters, e.g., \lstinline{...} 66 67 }{} 67 68 } … … 97 98 \vskip 50\p@ 98 99 }} 99 \renewcommand\section{\@startsection{section}{1}{\z@}{-3. 5ex \@plus -1ex \@minus -.2ex}{1.75ex \@plus .2ex}{\normalfont\large\bfseries}}100 \renewcommand\subsection{\@startsection{subsection}{2}{\z@}{- 3.25ex \@plus -1ex \@minus -.2ex}{1.5ex \@plus .2ex}{\normalfont\normalsize\bfseries}}100 \renewcommand\section{\@startsection{section}{1}{\z@}{-3.0ex \@plus -1ex \@minus -.2ex}{1.5ex \@plus .2ex}{\normalfont\large\bfseries}} 101 \renewcommand\subsection{\@startsection{subsection}{2}{\z@}{-2.75ex \@plus -1ex \@minus -.2ex}{1.25ex \@plus .2ex}{\normalfont\normalsize\bfseries}} 101 102 \renewcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}{-2.5ex \@plus -1ex \@minus -.2ex}{1.0ex \@plus .2ex}{\normalfont\normalsize\bfseries}} 102 103 \renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}{-2.0ex \@plus -1ex \@minus -.2ex}{-1em}{\normalfont\normalsize\bfseries}} … … 251 252 \newcommand{\LstKeywordStyle}[1]{{\lst@basicstyle{\lst@keywordstyle{#1}}}} 252 253 \newcommand{\LstCommentStyle}[1]{{\lst@basicstyle{\lst@commentstyle{#1}}}} 254 \newcommand{\LstStringStyle}[1]{{\lst@basicstyle{\lst@stringstyle{#1}}}} 253 255 254 256 \newlength{\gcolumnposn} % temporary hack because lstlisting does not handle tabs correctly … … 276 278 xleftmargin=\parindentlnth, % indent code to paragraph indentation 277 279 extendedchars=true, % allow ASCII characters in the range 128-255 278 escapechar= §, % LaTeX escape in CFA code §...§ (section symbol), emacs: C-q M-'279 mathescape= true, % LaTeX math escape in CFA code $...$280 escapechar=\$, % LaTeX escape in CFA code §...§ (section symbol), emacs: C-q M-' 281 mathescape=false, % LaTeX math escape in CFA code $...$ 280 282 keepspaces=true, % 281 283 showstringspaces=false, % do not show spaces with cup … … 295 297 \lstset{ 296 298 language=CFA, 297 moredelim=**[is][\color{red}]{®}{®}, % red highlighting ®...® (registered trademark symbol) emacs: C-q M-. 298 moredelim=**[is][\color{blue}]{ß}{ß}, % blue highlighting ß...ß (sharp s symbol) emacs: C-q M-_ 299 moredelim=**[is][\color{OliveGreen}]{¢}{¢}, % green highlighting ¢...¢ (cent symbol) emacs: C-q M-" 300 moredelim=[is][\lstset{keywords={}}]{¶}{¶}, % keyword escape ¶...¶ (pilcrow symbol) emacs: C-q M-^ 301 % replace/adjust listing characters that look bad in sanserif 302 add to literate={`}{\ttfamily\upshape\hspace*{-0.1ex}`}1 299 moredelim=**[is][\color{red}]{@}{@}, % red highlighting @...@ 300 %moredelim=**[is][\color{red}]{®}{®}, % red highlighting ®...® (registered trademark symbol) emacs: C-q M-. 301 %moredelim=**[is][\color{blue}]{ß}{ß}, % blue highlighting ß...ß (sharp s symbol) emacs: C-q M-_ 302 %moredelim=**[is][\color{OliveGreen}]{¢}{¢}, % green highlighting ¢...¢ (cent symbol) emacs: C-q M-" 303 %moredelim=[is][\lstset{keywords={}}]{¶}{¶}, % keyword escape ¶...¶ (pilcrow symbol) emacs: C-q M-^ 303 304 }% lstset 304 305 \lstset{#1}
Note: See TracChangeset
for help on using the changeset viewer.