Changes in doc/LaTeXmacros/common.tex [022bce0:01fb70a]
- File:
-
- 1 edited
-
doc/LaTeXmacros/common.tex (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
doc/LaTeXmacros/common.tex
r022bce0 r01fb70a 11 11 %% Created On : Sat Apr 9 10:06:17 2016 12 12 %% Last Modified By : Peter A. Buhr 13 %% Last Modified On : Sun Feb 25 18:11:56202414 %% Update Count : 61413 %% Last Modified On : Wed Jan 24 08:43:57 2024 14 %% Update Count : 593 15 15 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 16 16 … … 40 40 \newcommand{\CFA}{\protect\CFAIcon\xspace} % CFA symbolic name 41 41 \newcommand{\CFL}{\textrm{Cforall}\xspace} % Cforall non-icon name 42 \newcommand{\Celeven}{\textrm{C1\!1}\xspace} % C11 symbolic name 43 42 \newcommand{\Celeven}{\textrm{C11}\xspace} % C11 symbolic name 44 43 \newcommand{\CCIcon}{\textrm{C}\kern-.1em\hbox{+\kern-.25em+}} % C++ icon 44 \newcommand{\CC}[1][]{\protect\CCIcon{#1}\xspace} % C++ symbolic name 45 \newcommand{\Cpp}[1][]{\CC{#1}} % C++ synonym 45 46 % numbers disallowed in latex variables names => use number names 46 \newcommand{\CCeleven}{\protect\CCIcon{1 \!1}\xspace}% C++11 symbolic name47 \newcommand{\CCeleven}{\protect\CCIcon{11}\xspace} % C++11 symbolic name 47 48 \newcommand{\CCfourteen}{\protect\CCIcon{14}\xspace} % C++14 symbolic name 48 49 \newcommand{\CCseventeen}{\protect\CCIcon{17}\xspace} % C++17 symbolic name 49 50 \newcommand{\CCtwenty}{\protect\CCIcon{20}\xspace} % C++20 symbolic name 50 \newcommand{\CC}[1][]{\protect\CCIcon{#1}\xspace} % C++ symbolic name51 \newcommand{\Cpp}[1][]{\CC{#1}} % C++ synonym52 53 51 \newcommand{\Csharp}{C\raisebox{-0.7ex}{\relsize{2}$^\sharp$}\xspace} % C# symbolic name 54 52 … … 299 297 xleftmargin=\parindentlnth, % indent code to paragraph indentation 300 298 extendedchars=true, % allow ASCII characters in the range 128-255 299 escapechar=§, % LaTeX escape in CFA code §...§ (section symbol), emacs: C-q M-' 301 300 mathescape=false, % disable LaTeX math escape in CFA code $...$ 302 301 keepspaces=true, % … … 309 308 literate= 310 309 % {-}{\makebox[1ex][c]{\raisebox{0.4ex}{\rule{0.75ex}{0.1ex}}}}1 311 {-}{\raisebox{-1pt}{\t tfamily-}}1310 {-}{\raisebox{-1pt}{\texttt{-}}}1 312 311 {^}{\raisebox{0.6ex}{$\scriptstyle\land\,$}}1 313 312 {~}{\raisebox{0.3ex}{$\scriptstyle\sim\,$}}1 314 {'}{\ttfamily'\!}1315 313 {`}{\ttfamily\upshape\hspace*{-0.3ex}`}1 316 314 {<-}{$\leftarrow$}2 … … 324 322 \lstset{ 325 323 language=CFA, 326 escapechar=§, % LaTeX escape in CFA code §...§ (section symbol), emacs: C-q M-' 324 %moredelim=**[is][\color{red}]{@}{@}, % red highlighting @...@ 327 325 moredelim=**[is][\color{red}]{®}{®}, % red highlighting ®...® (registered trademark symbol) emacs: C-q M-. 328 326 %moredelim=**[is][\color{blue}]{ß}{ß}, % blue highlighting ß...ß (sharp s symbol) emacs: C-q M-_ … … 334 332 % inline code ©...© (copyright symbol) emacs: C-q M-) 335 333 \lstMakeShortInline© % single-character for \lstinline 336 337 334 \else% regular ASCI characters 338 339 335 \lstnewenvironment{cfa}[1][]{% necessary 340 336 \lstset{ 341 337 language=CFA, 342 338 escapechar=\$, % LaTeX escape in CFA code 339 mathescape=false, % LaTeX math escape in CFA code $...$ 343 340 moredelim=**[is][\color{red}]{@}{@}, % red highlighting @...@ 344 341 }% lstset
Note:
See TracChangeset
for help on using the changeset viewer.