Changeset a4da45e for doc/LaTeXmacros/common.tex
- Timestamp:
- Feb 26, 2024, 3:53:42 AM (20 months ago)
- Branches:
- master
- Children:
- 3f9a8d0
- Parents:
- 0522ebe (diff), 022bce0 (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
r0522ebe ra4da45e 11 11 %% Created On : Sat Apr 9 10:06:17 2016 12 12 %% Last Modified By : Peter A. Buhr 13 %% Last Modified On : Wed Jan 24 08:43:57202414 %% Update Count : 59313 %% Last Modified On : Sun Feb 25 18:11:56 2024 14 %% Update Count : 614 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{C11}\xspace} % C11 symbolic name 42 \newcommand{\Celeven}{\textrm{C1\!1}\xspace} % C11 symbolic name 43 43 44 \newcommand{\CCIcon}{\textrm{C}\kern-.1em\hbox{+\kern-.25em+}} % C++ icon 44 \newcommand{\CC}[1][]{\protect\CCIcon{#1}\xspace} % C++ symbolic name45 \newcommand{\Cpp}[1][]{\CC{#1}} % C++ synonym46 45 % numbers disallowed in latex variables names => use number names 47 \newcommand{\CCeleven}{\protect\CCIcon{1 1}\xspace}% C++11 symbolic name46 \newcommand{\CCeleven}{\protect\CCIcon{1\!1}\xspace} % C++11 symbolic name 48 47 \newcommand{\CCfourteen}{\protect\CCIcon{14}\xspace} % C++14 symbolic name 49 48 \newcommand{\CCseventeen}{\protect\CCIcon{17}\xspace} % C++17 symbolic name 50 49 \newcommand{\CCtwenty}{\protect\CCIcon{20}\xspace} % C++20 symbolic name 50 \newcommand{\CC}[1][]{\protect\CCIcon{#1}\xspace} % C++ symbolic name 51 \newcommand{\Cpp}[1][]{\CC{#1}} % C++ synonym 52 51 53 \newcommand{\Csharp}{C\raisebox{-0.7ex}{\relsize{2}$^\sharp$}\xspace} % C# symbolic name 52 54 … … 297 299 xleftmargin=\parindentlnth, % indent code to paragraph indentation 298 300 extendedchars=true, % allow ASCII characters in the range 128-255 299 escapechar=§, % LaTeX escape in CFA code §...§ (section symbol), emacs: C-q M-'300 301 mathescape=false, % disable LaTeX math escape in CFA code $...$ 301 302 keepspaces=true, % … … 308 309 literate= 309 310 % {-}{\makebox[1ex][c]{\raisebox{0.4ex}{\rule{0.75ex}{0.1ex}}}}1 310 {-}{\raisebox{-1pt}{\t exttt{-}}}1311 {-}{\raisebox{-1pt}{\ttfamily-}}1 311 312 {^}{\raisebox{0.6ex}{$\scriptstyle\land\,$}}1 312 313 {~}{\raisebox{0.3ex}{$\scriptstyle\sim\,$}}1 314 {'}{\ttfamily'\!}1 313 315 {`}{\ttfamily\upshape\hspace*{-0.3ex}`}1 314 316 {<-}{$\leftarrow$}2 … … 322 324 \lstset{ 323 325 language=CFA, 324 %moredelim=**[is][\color{red}]{@}{@}, % red highlighting @...@ 326 escapechar=§, % LaTeX escape in CFA code §...§ (section symbol), emacs: C-q M-' 325 327 moredelim=**[is][\color{red}]{®}{®}, % red highlighting ®...® (registered trademark symbol) emacs: C-q M-. 326 328 %moredelim=**[is][\color{blue}]{ß}{ß}, % blue highlighting ß...ß (sharp s symbol) emacs: C-q M-_ … … 332 334 % inline code ©...© (copyright symbol) emacs: C-q M-) 333 335 \lstMakeShortInline© % single-character for \lstinline 336 334 337 \else% regular ASCI characters 338 335 339 \lstnewenvironment{cfa}[1][]{% necessary 336 340 \lstset{ 337 341 language=CFA, 338 342 escapechar=\$, % LaTeX escape in CFA code 339 mathescape=false, % LaTeX math escape in CFA code $...$340 343 moredelim=**[is][\color{red}]{@}{@}, % red highlighting @...@ 341 344 }% lstset
Note:
See TracChangeset
for help on using the changeset viewer.