Changeset 759f05f for doc/LaTeXmacros


Ignore:
Timestamp:
Mar 16, 2018, 12:10:44 PM (4 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, with_gc
Children:
d5ccbe9
Parents:
13f5a70
Message:

guard latin-abbreviation macros

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/LaTeXmacros/common.tex

    r13f5a70 r759f05f  
    1111%% Created On       : Sat Apr  9 10:06:17 2016
    1212%% Last Modified By : Peter A. Buhr
    13 %% Last Modified On : Sat Feb 17 21:58:43 2018
    14 %% Update Count     : 369
     13%% Last Modified On : Thu Mar 15 09:52:27 2018
     14%% Update Count     : 378
    1515%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    1616
     
    101101% index macros
    102102\newcommand{\italic}[1]{\emph{\hyperpage{#1}}}
    103 \newcommand{\definition}[1]{\textbf{\hyperpage{#1}}}
    104103\newcommand{\see}[1]{\emph{see}~#1}
    105104
     
    148147% Latin abbreviation
    149148\newcommand{\abbrevFont}{\textit}                       % set empty for no italics
     149\@ifundefined{eg}{
    150150\newcommand{\EG}{\abbrevFont{e}.\abbrevFont{g}.}
    151151\newcommand*{\eg}{%
     
    153153                {\@ifnextchar{:}{\EG}%
    154154                        {\EG,\xspace}}%
    155 }%
     155}}{}%
     156\@ifundefined{ie}{
    156157\newcommand{\IE}{\abbrevFont{i}.\abbrevFont{e}.}
    157158\newcommand*{\ie}{%
     
    159160                {\@ifnextchar{:}{\IE}%
    160161                        {\IE,\xspace}}%
    161 }%
     162}}{}%
     163\@ifundefined{etc}{
    162164\newcommand{\ETC}{\abbrevFont{etc}}
    163165\newcommand*{\etc}{%
    164166        \@ifnextchar{.}{\ETC}%
    165167        {\ETC.\xspace}%
    166 }%
     168}}{}%
     169\@ifundefined{etal}{
    167170\newcommand{\ETAL}{\abbrevFont{et}~\abbrevFont{al}}
    168171\newcommand*{\etal}{%
    169172        \@ifnextchar{.}{\protect\ETAL}%
    170173                {\protect\ETAL.\xspace}%
    171 }%
     174}}{}%
     175\@ifundefined{viz}{
    172176\newcommand{\VIZ}{\abbrevFont{viz}}
    173177\newcommand*{\viz}{%
    174178        \@ifnextchar{.}{\VIZ}%
    175179                {\VIZ.\xspace}%
    176 }%
     180}}{}%
    177181\makeatother
    178182
Note: See TracChangeset for help on using the changeset viewer.