Changes in doc/LaTeXmacros/common.tex [7a15b7e:cc022a9]
- File:
-
- 1 edited
-
doc/LaTeXmacros/common.tex (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
doc/LaTeXmacros/common.tex
r7a15b7e rcc022a9 11 11 %% Created On : Sat Apr 9 10:06:17 2016 12 12 %% Last Modified By : Peter A. Buhr 13 %% Last Modified On : Mon Feb 7 23:00:08 202214 %% Update Count : 5 5213 %% Last Modified On : Mon May 31 09:10:49 2021 14 %% Update Count : 546 15 15 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 16 16 … … 43 43 \newcommand{\CCIcon}{\textrm{C}\kern-.1em\hbox{+\kern-.25em+}} % C++ icon 44 44 \newcommand{\CC}[1][]{\protect\CCIcon{#1}\xspace} % C++ symbolic name 45 \newcommand{\Cpp}[1][]{\CC{#1}} % C++ synonym46 45 % numbers disallowed in latex variables names => use number names 47 46 \newcommand{\CCeleven}{\protect\CCIcon{11}\xspace} % C++11 symbolic name … … 52 51 53 52 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 54 55 \usepackage{pslatex} % reduce size of san serif font56 \usepackage{relsize} % must be after change to small or selects old size57 \usepackage{rotating}58 \usepackage{calc} % latex arithmetic59 53 60 54 % remove special-character warning in PDF side-bar names … … 78 72 \newlength{\parindentlnth} 79 73 \setlength{\parindentlnth}{\parindent} 74 75 \usepackage{pslatex} % reduce size of san serif font 76 \usepackage{relsize} % must be after change to small or selects old size 77 \usepackage{rotating} 78 \usepackage{calc} % latex arithmetic 80 79 81 80 % reduce size of chapter/section titles … … 153 152 \newcommand{\@snewterm}[2][\@empty]{{\newtermFontInline{#2}}\ifx#1\@empty\index{#2}\else\index{#1@{\protect#2}}\fi} 154 153 155 % \snake{<identifier>}156 % Improves writing of snake case (or any convention that uses _) by allowing157 % line breaks after _. Disables commands inside the block and formats the158 % identifier to look like code.159 \newcommand*\snake[1]{\snakefont{\expandafter\snake@next\detokenize{#1}\@nil}}160 161 % \snakefont{<text>}162 % Command used by \snake, you may renew the command to change its formating.163 \newcommand*\snakefont[1]{\LstBasicStyle{#1}}164 165 % Thanks Manuel of TeX Stack exchange. (I got the base pattern from one of166 % their answers.) Note: \@nil should never be defined.167 \newcommand*\snake@next[1]{\ifx\@nil#1\else168 \expandafter\ifx\string_#1\string_\allowbreak\else#1\fi169 \expandafter\snake@next\fi170 }171 172 % \lang{<language>}{<code>}173 % Use the listings package to format the snipit of <code> in <language>.174 \newcommand{\lang}[2]{\lstinline[language=#1]{#2}}175 176 154 % Latin abbreviation 177 155 \newcommand{\abbrevFont}{\textit} % set empty for no italics … … 290 268 extendedchars=true, % allow ASCII characters in the range 128-255 291 269 escapechar=\$, % LaTeX escape in CFA code §...§ (section symbol), emacs: C-q M-' 292 mathescape=false, % disableLaTeX math escape in CFA code $...$270 mathescape=false, % LaTeX math escape in CFA code $...$ 293 271 keepspaces=true, % 294 272 showstringspaces=false, % do not show spaces with cup
Note:
See TracChangeset
for help on using the changeset viewer.