doc-src/railsetup.sty
author wenzelm
Tue, 03 Aug 1999 19:02:03 +0200
changeset 7170 cb8afc731bee
parent 7137 e5d18fd42430
child 8592 c7f7cb82fd56
permissions -rw-r--r--
tuned;


\railalias{percent}{\%}
\railalias{ppercent}{\%\%}
\railalias{underscore}{\_}
\railalias{lbrace}{\ttlbrace}
\railalias{rbrace}{\ttrbrace}
\railalias{llbrace}{\ttlbrace\ttlbrace}
\railalias{rrbrace}{\ttrbrace\ttrbrace}

\setlength\railextra{3.6ex}
\setlength\railboxleft{0.9ex}
\setlength\railboxright{0.9ex}
\setlength\railovalspace{1.8ex}
\setlength\railframespace{1.8ex}
\setlength\railtextleft{0.9ex}
\setlength\railtextright{0.9ex}
\setlength\railnamesep{0.9ex}

\setlength\railboxheight{16pt}
\setlength\railboxskip{24pt}
\setlength\railtextup{5pt}
\setlength\railjoinsize{16pt}

\def\rail@termfont{\small\ttfamily\upshape}
\def\rail@nontfont{\small\rmfamily\upshape}
\def\rail@annofont{\small\rmfamily\itshape}
\def\rail@namefont{\small\rmfamily\itshape}
\def\rail@indexfont{\small\rmfamily\itshape}
\newcommand{\railtoken}[1]{{\texttt{#1}}}
\newcommand{\railqtoken}[1]{{\textsl{#1}}}
\newcommand{\railnonterm}[1]{{\emph{#1}}}