doc-src/railsetup.sty
author nipkow
Wed, 04 Aug 2004 11:25:08 +0200
changeset 15106 e8cef6993701
parent 13048 8b2eb3b78cc3
child 32234 96345b918125
permissions -rw-r--r--
aded comment
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
7137
e5d18fd42430 hacking the rail package;
wenzelm
parents:
diff changeset
     1
7170
wenzelm
parents: 7137
diff changeset
     2
\railalias{percent}{\%}
wenzelm
parents: 7137
diff changeset
     3
\railalias{ppercent}{\%\%}
wenzelm
parents: 7137
diff changeset
     4
\railalias{underscore}{\_}
9613
817b74e9c5aa fixed lbrace, rbrace;
wenzelm
parents: 9203
diff changeset
     5
\railalias{lbrace}{\texttt{\ttlbrace}}
817b74e9c5aa fixed lbrace, rbrace;
wenzelm
parents: 9203
diff changeset
     6
\railalias{rbrace}{\texttt{\ttrbrace}}
9203
697f2c8727a1 added lbrace, rbrace, atsign;
wenzelm
parents: 9029
diff changeset
     7
\railalias{atsign}{{\at}}
7137
e5d18fd42430 hacking the rail package;
wenzelm
parents:
diff changeset
     8
e5d18fd42430 hacking the rail package;
wenzelm
parents:
diff changeset
     9
\setlength\railextra{3.6ex}
e5d18fd42430 hacking the rail package;
wenzelm
parents:
diff changeset
    10
\setlength\railboxleft{0.9ex}
e5d18fd42430 hacking the rail package;
wenzelm
parents:
diff changeset
    11
\setlength\railboxright{0.9ex}
e5d18fd42430 hacking the rail package;
wenzelm
parents:
diff changeset
    12
\setlength\railovalspace{1.8ex}
e5d18fd42430 hacking the rail package;
wenzelm
parents:
diff changeset
    13
\setlength\railframespace{1.8ex}
e5d18fd42430 hacking the rail package;
wenzelm
parents:
diff changeset
    14
\setlength\railtextleft{0.9ex}
e5d18fd42430 hacking the rail package;
wenzelm
parents:
diff changeset
    15
\setlength\railtextright{0.9ex}
e5d18fd42430 hacking the rail package;
wenzelm
parents:
diff changeset
    16
\setlength\railnamesep{0.9ex}
e5d18fd42430 hacking the rail package;
wenzelm
parents:
diff changeset
    17
e5d18fd42430 hacking the rail package;
wenzelm
parents:
diff changeset
    18
\setlength\railboxheight{16pt}
e5d18fd42430 hacking the rail package;
wenzelm
parents:
diff changeset
    19
\setlength\railboxskip{24pt}
e5d18fd42430 hacking the rail package;
wenzelm
parents:
diff changeset
    20
\setlength\railtextup{5pt}
e5d18fd42430 hacking the rail package;
wenzelm
parents:
diff changeset
    21
\setlength\railjoinsize{16pt}
e5d18fd42430 hacking the rail package;
wenzelm
parents:
diff changeset
    22
e5d18fd42430 hacking the rail package;
wenzelm
parents:
diff changeset
    23
\def\rail@termfont{\small\ttfamily\upshape}
8592
c7f7cb82fd56 tail token vs. terminal;
wenzelm
parents: 7170
diff changeset
    24
\def\rail@tokenfont{\small\ttfamily\upshape}
7137
e5d18fd42430 hacking the rail package;
wenzelm
parents:
diff changeset
    25
\def\rail@nontfont{\small\rmfamily\upshape}
e5d18fd42430 hacking the rail package;
wenzelm
parents:
diff changeset
    26
\def\rail@annofont{\small\rmfamily\itshape}
e5d18fd42430 hacking the rail package;
wenzelm
parents:
diff changeset
    27
\def\rail@namefont{\small\rmfamily\itshape}
e5d18fd42430 hacking the rail package;
wenzelm
parents:
diff changeset
    28
\def\rail@indexfont{\small\rmfamily\itshape}
8592
c7f7cb82fd56 tail token vs. terminal;
wenzelm
parents: 7170
diff changeset
    29
\newcommand{\railtterm}[1]{{\texttt{#1}}}
13048
wenzelm
parents: 9613
diff changeset
    30
\newcommand{\railtok}[1]{{\textrm{#1}}}
wenzelm
parents: 9613
diff changeset
    31
\newcommand{\railqtok}[1]{{\rmfamily\textsl{#1}}}
7137
e5d18fd42430 hacking the rail package;
wenzelm
parents:
diff changeset
    32
\newcommand{\railnonterm}[1]{{\emph{#1}}}