doc-src/railsetup.sty
changeset 32234 96345b918125
parent 13048 8b2eb3b78cc3
child 42515 3f8d7f80173b
     1.1 --- a/doc-src/railsetup.sty	Tue Jul 28 00:27:58 2009 +0200
     1.2 +++ b/doc-src/railsetup.sty	Tue Jul 28 00:31:30 2009 +0200
     1.3 @@ -1,10 +1,4 @@
     1.4 -
     1.5 -\railalias{percent}{\%}
     1.6 -\railalias{ppercent}{\%\%}
     1.7 -\railalias{underscore}{\_}
     1.8 -\railalias{lbrace}{\texttt{\ttlbrace}}
     1.9 -\railalias{rbrace}{\texttt{\ttrbrace}}
    1.10 -\railalias{atsign}{{\at}}
    1.11 +%% dimensions
    1.12  
    1.13  \setlength\railextra{3.6ex}
    1.14  \setlength\railboxleft{0.9ex}
    1.15 @@ -20,6 +14,22 @@
    1.16  \setlength\railtextup{5pt}
    1.17  \setlength\railjoinsize{16pt}
    1.18  
    1.19 +
    1.20 +%% rail antiquotation environment
    1.21 +
    1.22 +\newenvironment{railoutput}%
    1.23 +{\begin{list}{}{\rail@param}\def\rail@expand{\relax}\makeatletter}{\end{list}}
    1.24 +
    1.25 +
    1.26 +%% old-style content markup
    1.27 +
    1.28 +\railalias{percent}{\%}
    1.29 +\railalias{ppercent}{\%\%}
    1.30 +\railalias{underscore}{\_}
    1.31 +\railalias{lbrace}{\texttt{\ttlbrace}}
    1.32 +\railalias{rbrace}{\texttt{\ttrbrace}}
    1.33 +\railalias{atsign}{{\at}}
    1.34 +
    1.35  \def\rail@termfont{\small\ttfamily\upshape}
    1.36  \def\rail@tokenfont{\small\ttfamily\upshape}
    1.37  \def\rail@nontfont{\small\rmfamily\upshape}