- Timestamp:
- Feb 15, 2021, 10:44:55 AM (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:
- 17d6214
- Parents:
- 10c7f40
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/LaTeXmacros/common.tex
r10c7f40 re94eeb9 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 8 21:45:41202114 %% Update Count : 52 213 %% Last Modified On : Sun Feb 14 15:52:46 2021 14 %% Update Count : 524 15 15 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 16 16 … … 146 146 % The star version does not lowercase the index information, e.g., \newterm*{IBM}. 147 147 \newcommand{\newtermFontInline}{\emph} 148 \newcommand{\newterm}{\ @ifstar\@snewterm\@newterm}148 \newcommand{\newterm}{\protect\@ifstar\@snewterm\@newterm} 149 149 \newcommand{\@newterm}[2][\@empty]{\lowercase{\def\temp{#2}}{\newtermFontInline{#2}}\ifx#1\@empty\index{\temp}\else\index{#1@{\protect#2}}\fi} 150 150 \newcommand{\@snewterm}[2][\@empty]{{\newtermFontInline{#2}}\ifx#1\@empty\index{#2}\else\index{#1@{\protect#2}}\fi} … … 294 294 295 295 \ifdefined\CFALatin% extra Latin-1 escape characters 296 \lstnewenvironment{cfa}[1][]{ 296 \lstnewenvironment{cfa}[1][]{% necessary 297 297 \lstset{ 298 298 language=CFA, … … 303 303 %moredelim=[is][\lstset{keywords={}}]{¶}{¶}, % keyword escape ¶...¶ (pilcrow symbol) emacs: C-q M-^ 304 304 }% lstset 305 \lstset{#1} 305 \lstset{#1}% necessary 306 306 }{} 307 307 % inline code ©...© (copyright symbol) emacs: C-q M-) 308 308 \lstMakeShortInline© % single-character for \lstinline 309 309 \else% regular ASCI characters 310 \lstnewenvironment{cfa}[1][]{ 310 \lstnewenvironment{cfa}[1][]{% necessary 311 311 \lstset{ 312 312 language=CFA, … … 315 315 moredelim=**[is][\color{red}]{@}{@}, % red highlighting @...@ 316 316 }% lstset 317 \lstset{#1} 317 \lstset{#1}% necessary 318 318 }{} 319 319 % inline code @...@ (at symbol)
Note: See TracChangeset
for help on using the changeset viewer.