doc-src/railsetup.sty
author wenzelm
Fri, 30 Jul 1999 15:56:58 +0200
changeset 7137 e5d18fd42430
child 7170 cb8afc731bee
permissions -rw-r--r--
hacking the rail package;
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
7137
e5d18fd42430 hacking the rail package;
wenzelm
parents:
diff changeset
     1
e5d18fd42430 hacking the rail package;
wenzelm
parents:
diff changeset
     2
\railalias{lbrace}{\ttlbrace}
e5d18fd42430 hacking the rail package;
wenzelm
parents:
diff changeset
     3
\railalias{rbrace}{\ttrbrace}
e5d18fd42430 hacking the rail package;
wenzelm
parents:
diff changeset
     4
\railalias{llbrace}{\ttlbrace\ttlbrace}
e5d18fd42430 hacking the rail package;
wenzelm
parents:
diff changeset
     5
\railalias{rrbrace}{\ttrbrace\ttrbrace}
e5d18fd42430 hacking the rail package;
wenzelm
parents:
diff changeset
     6
e5d18fd42430 hacking the rail package;
wenzelm
parents:
diff changeset
     7
\setlength\railextra{3.6ex}
e5d18fd42430 hacking the rail package;
wenzelm
parents:
diff changeset
     8
\setlength\railboxleft{0.9ex}
e5d18fd42430 hacking the rail package;
wenzelm
parents:
diff changeset
     9
\setlength\railboxright{0.9ex}
e5d18fd42430 hacking the rail package;
wenzelm
parents:
diff changeset
    10
\setlength\railovalspace{1.8ex}
e5d18fd42430 hacking the rail package;
wenzelm
parents:
diff changeset
    11
\setlength\railframespace{1.8ex}
e5d18fd42430 hacking the rail package;
wenzelm
parents:
diff changeset
    12
\setlength\railtextleft{0.9ex}
e5d18fd42430 hacking the rail package;
wenzelm
parents:
diff changeset
    13
\setlength\railtextright{0.9ex}
e5d18fd42430 hacking the rail package;
wenzelm
parents:
diff changeset
    14
\setlength\railnamesep{0.9ex}
e5d18fd42430 hacking the rail package;
wenzelm
parents:
diff changeset
    15
e5d18fd42430 hacking the rail package;
wenzelm
parents:
diff changeset
    16
\setlength\railboxheight{16pt}
e5d18fd42430 hacking the rail package;
wenzelm
parents:
diff changeset
    17
\setlength\railboxskip{24pt}
e5d18fd42430 hacking the rail package;
wenzelm
parents:
diff changeset
    18
\setlength\railtextup{5pt}
e5d18fd42430 hacking the rail package;
wenzelm
parents:
diff changeset
    19
\setlength\railjoinsize{16pt}
e5d18fd42430 hacking the rail package;
wenzelm
parents:
diff changeset
    20
e5d18fd42430 hacking the rail package;
wenzelm
parents:
diff changeset
    21
\def\rail@termfont{\small\ttfamily\upshape}
e5d18fd42430 hacking the rail package;
wenzelm
parents:
diff changeset
    22
\def\rail@nontfont{\small\rmfamily\upshape}
e5d18fd42430 hacking the rail package;
wenzelm
parents:
diff changeset
    23
\def\rail@annofont{\small\rmfamily\itshape}
e5d18fd42430 hacking the rail package;
wenzelm
parents:
diff changeset
    24
\def\rail@namefont{\small\rmfamily\itshape}
e5d18fd42430 hacking the rail package;
wenzelm
parents:
diff changeset
    25
\def\rail@indexfont{\small\rmfamily\itshape}
e5d18fd42430 hacking the rail package;
wenzelm
parents:
diff changeset
    26
\newcommand{\railtoken}[1]{{\texttt{#1}}}
e5d18fd42430 hacking the rail package;
wenzelm
parents:
diff changeset
    27
\newcommand{\railqtoken}[1]{{\textsl{#1}}}
e5d18fd42430 hacking the rail package;
wenzelm
parents:
diff changeset
    28
\newcommand{\railnonterm}[1]{{\emph{#1}}}
e5d18fd42430 hacking the rail package;
wenzelm
parents:
diff changeset
    29
e5d18fd42430 hacking the rail package;
wenzelm
parents:
diff changeset
    30
\newcommand\indexoutertoken[1]{\index{#1@\railtoken{#1} (outer syntax)|bold}}
e5d18fd42430 hacking the rail package;
wenzelm
parents:
diff changeset
    31
\newcommand\indexouternonterm[1]{\index{#1@\railnonterm{#1} (outer syntax)|bold}}