Changeset 144fa5c for doc/LaTeXmacros


Ignore:
Timestamp:
Feb 2, 2021, 9:53:50 PM (3 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
3b402339
Parents:
5669d0b
Message:

support abbrevs \CFA, \CC, lstinline ... in PDF titles

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/LaTeXmacros/common.tex

    r5669d0b r144fa5c  
    1111%% Created On       : Sat Apr  9 10:06:17 2016
    1212%% Last Modified By : Peter A. Buhr
    13 %% Last Modified On : Thu Jan 28 19:01:57 2021
    14 %% Update Count     : 494
     13%% Last Modified On : Tue Feb  2 21:40:12 2021
     14%% Update Count     : 498
    1515%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    1616
     
    4747\newcommand{\CCtwenty}{\textrm{C}\kern-.1em\hbox{+\kern-.25em+}20\xspace} % C++20 symbolic name
    4848\newcommand{\Csharp}{C\raisebox{-0.7ex}{\Large$^\sharp$}\xspace} % C# symbolic name
     49
     50\pdfstringdefDisableCommands{
     51  \def\CFA{\CFL}
     52  \def\CC{C++\xspace}
     53  \def\CCeleven{C++11\xspace}
     54  \def\CCfourteen{C++14\xspace}
     55  \def\CCseventeen{C++17\xspace}
     56  \def\CCtwenty{C++20\xspace}
     57  \def\Csharp{C\#\xspace}
     58  \def\lstinline{\xspace}
     59}
    4960
    5061%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
     
    266277showlines=true,                                                 % show blank lines at end of code
    267278aboveskip=4pt,                                                  % spacing above/below code block
    268 belowskip=-2pt,
     279belowskip=0pt,
    269280numberstyle=\footnotesize\sf,                   % numbering style
    270281% replace/adjust listing characters that look bad in sanserif
Note: See TracChangeset for help on using the changeset viewer.