fixed \rail@tokenfont (ever used?);
authorwenzelm
Mon Mar 27 18:08:57 2000 +0200 (2000-03-27)
changeset 85919d660fc42916
parent 8590 89675b444abe
child 8592 c7f7cb82fd56
fixed \rail@tokenfont (ever used?);
doc-src/rail.sty
     1.1 --- a/doc-src/rail.sty	Mon Mar 27 17:04:03 2000 +0200
     1.2 +++ b/doc-src/rail.sty	Mon Mar 27 18:08:57 2000 +0200
     1.3 @@ -1,12 +1,12 @@
     1.4  % rail.sty - style file to support railroad diagrams
     1.5  %
     1.6  % 09-Jul-90 L. Rooijakkers
     1.7 -% 08-Oct-90 L. Rooijakkers	fixed centering bug when \rail@tmpc<0.
     1.8 -% 07-Feb-91 L. Rooijakkers	added \railoptions command, indexing
     1.9 -% 08-Feb-91 L. Rooijakkers	minor fixes
    1.10 -% 28-Jun-94 K. Barthelmann	turned into LaTeX2e package
    1.11 -% 08-Dec-96 K. Barthelmann	replaced \@writefile
    1.12 -% 13-Dec-96 K. Barthelmann	cleanup
    1.13 +% 08-Oct-90 L. Rooijakkers      fixed centering bug when \rail@tmpc<0.
    1.14 +% 07-Feb-91 L. Rooijakkers      added \railoptions command, indexing
    1.15 +% 08-Feb-91 L. Rooijakkers      minor fixes
    1.16 +% 28-Jun-94 K. Barthelmann      turned into LaTeX2e package
    1.17 +% 08-Dec-96 K. Barthelmann      replaced \@writefile
    1.18 +% 13-Dec-96 K. Barthelmann      cleanup
    1.19  %
    1.20  % This style file needs to be used in conjunction with the 'rail'
    1.21  % program. Running LaTeX as 'latex file' produces file.rai, which should be
    1.22 @@ -101,9 +101,9 @@
    1.23  % \rail@boxhht  : \railboxheight / 2
    1.24  % \rail@ovalsp  : \railovalspace
    1.25  % \rail@framesp : \railframespace
    1.26 -% \rail@textlf	: \railtextleft
    1.27 -% \rail@textrt	: \railtextright
    1.28 -% \rail@textup	: \railtextup
    1.29 +% \rail@textlf  : \railtextleft
    1.30 +% \rail@textrt  : \railtextright
    1.31 +% \rail@textup  : \railtextup
    1.32  % \rail@joinsz  : \railjoinsize
    1.33  % \rail@joinhsz : \railjoinsize / 2
    1.34  % \rail@joinadj : \railjoinadjust
    1.35 @@ -192,6 +192,7 @@
    1.36  %
    1.37  % \railindexfont{TEXT} : set index entry format setup to TEXT
    1.38  
    1.39 +\def\rail@tokenfont{\ttfamily\upshape}
    1.40  \def\rail@termfont{\ttfamily\upshape}
    1.41  \def\rail@nontfont{\rmfamily\upshape}
    1.42  \def\rail@annofont{\rmfamily\itshape}
    1.43 @@ -238,7 +239,7 @@
    1.44  %
    1.45  % \ifrail@match : current \rail@i{NR}{TEXT} matches
    1.46  %
    1.47 -% \rail@first :	actions to be done first. read in .rao file,
    1.48 +% \rail@first : actions to be done first. read in .rao file,
    1.49  %               open .rai file if \@filesw true, undefine \rail@first.
    1.50  %               executed from \begin{rail} and \railtoken.
    1.51  %
    1.52 @@ -454,14 +455,14 @@
    1.53  
    1.54  \def\rail@token#1[#2]{
    1.55  \rail@setbox{%
    1.56 -{\rail@termfont \rail@expand{#1}}\ifx\@empty#2\else\ {\rail@annofont #2}\fi
    1.57 +{\rail@tokenfont \rail@expand{#1}}\ifx\@empty#2\else\ {\rail@annofont #2}\fi
    1.58  }
    1.59  \rail@oval
    1.60  }
    1.61  
    1.62  \def\rail@ctoken#1[#2]{
    1.63  \rail@setbox{%
    1.64 -{\rail@termfont \rail@expand{#1}}\ifx\@empty#2\else\ {\rail@annofont #2}\fi
    1.65 +{\rail@tokenfont \rail@expand{#1}}\ifx\@empty#2\else\ {\rail@annofont #2}\fi
    1.66  }
    1.67  \rail@coval
    1.68  }