Changes in doc/LaTeXmacros/common.tex [c627777:4b393ba]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/LaTeXmacros/common.tex
rc627777 r4b393ba 11 11 %% Created On : Sat Apr 9 10:06:17 2016 12 12 %% Last Modified By : Peter A. Buhr 13 %% Last Modified On : Sat Jan 23 09:06:39202114 %% Update Count : 49113 %% Last Modified On : Wed Feb 3 10:57:33 2021 14 %% Update Count : 508 15 15 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 16 16 … … 32 32 \setlist[enumerate]{listparindent=\parindent}% global 33 33 \setlist[enumerate,2]{leftmargin=\parindent,labelsep=*,align=parleft,label=\alph*.}% local 34 \setlist[description]{ itemsep=0pt,listparindent=\parindent,leftmargin=\parindent,labelsep=1.5ex}34 \setlist[description]{topsep=0.5ex,itemsep=0pt,listparindent=\parindent,leftmargin=\parindent,labelsep=1.5ex} 35 35 36 36 % Names used in the document. 37 37 38 38 \usepackage{xspace} 39 \newcommand{\CFAIcon}{\textsf{C}\raisebox{\depth}{\rotatebox{180}{\textsf{A}}}\xspace} % Cforall symbolic name 40 \newcommand{\CFA}{\protect\CFAIcon} % safe for section/caption 41 \newcommand{\CFL}{\textrm{Cforall}\xspace} % Cforall symbolic name 42 \newcommand{\Celeven}{\textrm{C11}\xspace} % C11 symbolic name 43 \newcommand{\CC}{\textrm{C}\kern-.1em\hbox{+\kern-.25em+}\xspace} % C++ symbolic name 44 \newcommand{\CCeleven}{\textrm{C}\kern-.1em\hbox{+\kern-.25em+}11\xspace} % C++11 symbolic name 45 \newcommand{\CCfourteen}{\textrm{C}\kern-.1em\hbox{+\kern-.25em+}14\xspace} % C++14 symbolic name 46 \newcommand{\CCseventeen}{\textrm{C}\kern-.1em\hbox{+\kern-.25em+}17\xspace} % C++17 symbolic name 47 \newcommand{\CCtwenty}{\textrm{C}\kern-.1em\hbox{+\kern-.25em+}20\xspace} % C++20 symbolic name 39 \newcommand{\CFAIcon}{\textsf{C}\raisebox{\depth}{\rotatebox{180}{\textsf{A}}}} % Cforall icon 40 \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 \newcommand{\CCIcon}{\textrm{C}\kern-.1em\hbox{+\kern-.25em+}} % C++ icon 44 \newcommand{\CC}{\protect\CCIcon\xspace} % C++ symbolic name 45 % numbers disallowed in latex variables names => use number names 46 \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 48 50 \newcommand{\Csharp}{C\raisebox{-0.7ex}{\Large$^\sharp$}\xspace} % C# symbolic name 49 51 50 52 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 51 53 54 % remove special-character warning in PDF side-bar names 52 55 \makeatletter 56 \@ifpackageloaded{hyperref}{ 57 \pdfstringdefDisableCommands{ 58 \def\CFA{\CFL} 59 \def\CC{C++\xspace} 60 \def\CCeleven{C++11\xspace} 61 \def\CCfourteen{C++14\xspace} 62 \def\CCseventeen{C++17\xspace} 63 \def\CCtwenty{C++20\xspace} 64 \def\Csharp{C\#\xspace} 65 \def\lstinline{\xspace} % must use {} as delimiters, e.g., \lstinline{...} 66 }{} 67 } 68 53 69 % parindent is relative, i.e., toggled on/off in environments like itemize, so store the value for 54 70 % use rather than use \parident directly. … … 89 105 \newcommand{\italic}[1]{\emph{\hyperpage{#1}}} 90 106 \newcommand{\Definition}[1]{\textbf{\hyperpage{#1}}} 91 \newcommand{\see}[1]{ \emph{see}~#1}107 \newcommand{\see}[1]{(see #1)} 92 108 93 109 % Define some commands that produce formatted index entries suitable for cross-references. … … 266 282 showlines=true, % show blank lines at end of code 267 283 aboveskip=4pt, % spacing above/below code block 268 belowskip= -2pt,284 belowskip=0pt, 269 285 numberstyle=\footnotesize\sf, % numbering style 270 286 % replace/adjust listing characters that look bad in sanserif
Note: See TracChangeset
for help on using the changeset viewer.