Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/LaTeXmacros/common.tex

    r7937abf re945826  
    1111%% Created On       : Sat Apr  9 10:06:17 2016
    1212%% Last Modified By : Peter A. Buhr
    13 %% Last Modified On : Wed May  4 08:01:10 2016
    14 %% Update Count     : 54
     13%% Last Modified On : Sat Apr 30 13:52:12 2016
     14%% Update Count     : 41
    1515%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    1616
     
    132132% blocks and titles
    133133\newcommand{\define}[1]{\emph{#1\/}\index{#1}}
     134\newcommand{\rewrite}{\(\Rightarrow\)}
    134135\newcommand{\rewriterules}{\paragraph{Rewrite Rules}~\par\noindent}
    135136\newcommand{\examples}{\paragraph{Examples}~\par\noindent}
     
    143144\newcommand{\lhs}[1]{\par{\emph{#1:}}\index{#1@{\emph{#1}}|italic}}
    144145\newcommand{\rhs}{\hfil\break\hbox{\hskip1in}}
    145 \newcommand{\oldlhs}[1]{\emph{#1: \dots}\index{#1@{\emph{#1}}|italic}}
     146\newcommand{\oldlhs}[1]{\emph{#1: \ldots}\index{#1@{\emph{#1}}|italic}}
    146147\newcommand{\nonterm}[1]{\emph{#1\/}\index{#1@{\emph{#1}}|italic}}
    147148\newcommand{\opt}{$_{opt}$\ }
     
    199200belowskip=2pt,
    200201moredelim=**[is][\color{red}]{®}{®}, % red highlighting
    201 % moredelim=**[is][\color{blue}]{¢}{¢}, % blue highlighting
     202moredelim=**[is][\color{blue}]{©}{©}, % blue highlighting
    202203moredelim=[is][\lstset{keywords={}}]{¶}{¶}, % temporarily turn off keywords
    203204% literate={\\`}{\raisebox{0.3ex}{\ttfamily\upshape \hspace*{-2pt}`}}1, % escape \`, otherwise used for red highlighting
    204 literate={...}{{$\dots$}}1 {<-}{{$\leftarrow$}}1 {=>}{{$\Rightarrow$}}1,
    205205}%
    206 
    207 \lstMakeShortInline©    % single-character for \lstinline
    208206
    209207\makeatletter
Note: See TracChangeset for help on using the changeset viewer.