doc-src/railsetup.sty
 author blanchet Fri Apr 30 09:36:45 2010 +0200 (2010-04-30) changeset 36569 3a29eb7606c3 parent 32234 96345b918125 child 42515 3f8d7f80173b permissions -rw-r--r--
added "no_atp" for theorems that are automatically used or included by Sledgehammer when appropriate (about combinators and fequal)
     1 %% dimensions

     2

     3 \setlength\railextra{3.6ex}

     4 \setlength\railboxleft{0.9ex}

     5 \setlength\railboxright{0.9ex}

     6 \setlength\railovalspace{1.8ex}

     7 \setlength\railframespace{1.8ex}

     8 \setlength\railtextleft{0.9ex}

     9 \setlength\railtextright{0.9ex}

    10 \setlength\railnamesep{0.9ex}

    11

    12 \setlength\railboxheight{16pt}

    13 \setlength\railboxskip{24pt}

    14 \setlength\railtextup{5pt}

    15 \setlength\railjoinsize{16pt}

    16

    17

    18 %% rail antiquotation environment

    19

    20 \newenvironment{railoutput}%

    21 {\begin{list}{}{\rail@param}\def\rail@expand{\relax}\makeatletter}{\end{list}}

    22

    23

    24 %% old-style content markup

    25

    26 \railalias{percent}{\%}

    27 \railalias{ppercent}{\%\%}

    28 \railalias{underscore}{\_}

    29 \railalias{lbrace}{\texttt{\ttlbrace}}

    30 \railalias{rbrace}{\texttt{\ttrbrace}}

    31 \railalias{atsign}{{\at}}

    32

    33 \def\rail@termfont{\small\ttfamily\upshape}

    34 \def\rail@tokenfont{\small\ttfamily\upshape}

    35 \def\rail@nontfont{\small\rmfamily\upshape}

    36 \def\rail@annofont{\small\rmfamily\itshape}

    37 \def\rail@namefont{\small\rmfamily\itshape}

    38 \def\rail@indexfont{\small\rmfamily\itshape}

    39 \newcommand{\railtterm}[1]{{\texttt{#1}}}

    40 \newcommand{\railtok}[1]{{\textrm{#1}}}

    41 \newcommand{\railqtok}[1]{{\rmfamily\textsl{#1}}}

    42 \newcommand{\railnonterm}[1]{{\emph{#1}}}