%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% afonts.sty
% 18.07.91 1.0
% 20.09.91 1.1 added NFSS macros (br)
% 19.11.91 1.2 magstephalf
% 24.12.91 1.3 format
% 12.02.92 1.4 message delayed
% 27.02.92 1.5 nash14 font
% 03.04.92 1.6 nash14bf font
% 31.08.93 1.7 added support for NFSS2, missing `pt' in NFSS1 def.,
%              define `nashbf' as series `bx' of family `nash' (br)
% 02.12.93 1.8 some polishing
% 10.07.94 1.9 register in arabtexconfig, version message with date
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% (c) Klaus Lagally
%     Institut fuer Informatik
%     Universitaet Stuttgart
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% load this file only, if \pnashbf not defined
%
\expandafter \ifx \csname pnashbf\endcsname \relax \else
  \expandafter \endinput
\fi

\version = {1.9}  		\datum = {10.07.94}  
\message {\the\version }	\message {\the\datum }

\edef \arabtexconfig {\arabtexconfig 
nashbf.sty \the\version \space (\the\datum) }

\chardef \fntatcode = \catcode`\@            \catcode`\@ = 11
\chardef \fntlscode = \catcode`\<            \catcode`\< = 12

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% select the nashbf font with \nashbf
%
\def\nashbf {\protect\pnashbf}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% If we are using the NFSS, Version 2,  \DeclareFontShape
% is defined.
%
\expandafter\ifx\csname DeclareFontShape\endcsname\relax

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Now it's possible that NFSS, Version 1, is used.
% If \selectfont is defined, NFSS is active, otherwise
% we assume LaTeX's `lfonts.tex'.
%
\expandafter\ifx\csname selectfont\endcsname\relax

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% OLD FONT SELECTION

% load all necessary fonts
%
\newfont {\tennashbf }{nash14bf}
\newfont {\elvnnashbf}{nash14bf scaled 1095}
\newfont {\twlvnashbf}{nash14bf \@magscale1}
\newfont {\frtnnashbf}{nash14bf \@magscale2}
\newfont {\svtnnashbf}{nash14bf \@magscale3}
\newfont {\twtynashbf}{nash14bf \@magscale4}
\newfont {\twfvnashbf}{nash14bf \@magscale5}

% add the \pnashbf command to the size changing hooks
% 
\@addfontinfo \@vpt    {\def\pnashbf {\tennashbf}}
\@addfontinfo \@viipt  {\def\pnashbf {\tennashbf}}
\@addfontinfo \@viiipt {\def\pnashbf {\tennashbf}}
\@addfontinfo \@ixpt   {\def\pnashbf {\tennashbf}}
\@addfontinfo \@xpt    {\def\pnashbf {\tennashbf}}
\@addfontinfo \@xipt   {\def\pnashbf {\elvnnashbf}}
\@addfontinfo \@xiipt  {\def\pnashbf {\twlvnashbf}}
\@addfontinfo \@xivpt  {\def\pnashbf {\frtnnashbf}}
\@addfontinfo \@xviipt {\def\pnashbf {\svtnnashbf}}
\@addfontinfo \@xxpt   {\def\pnashbf {\twtynashbf}}
\@addfontinfo \@xxvpt  {\def\pnashbf {\twfvnashbf}}

\else
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% NEW FONT SELECTION -- Version 1

% define \pnashbf to use the `nashbf' family, `m'edium series und
% `n'ormal shape.
%
\def\pnashbf{\family{nash}\series{bx}\shape{n}\selectfont}

% setup the font definition table
% (`1' at the beginning of a fontname: size not available, print
% warning to inform the user)
%
\new@fontshape{nash}{bx}{n}{%
      <5>1nash14bf%
      <6>1nash14bf%
      <7>1nash14bf%
      <8>1nash14bf%
      <9>1nash14bf%
      <10>nash14bf at14.4pt%
      <11>nash14bf at15.77441pt%
      <12>nash14bf at17.28pt%
      <14>nash14bf at20.736pt%
      <17>nash14bf at24.8832pt%
      <20>nash14bf at29.85984pt%
      <25>nash14bf at35.831808pt}{}
\extra@def{nash}{}{}

\fi

\else
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% NEW FONT SELECTION -- Version 2

% define \pnashbf to use the `unknown' fontencoding, `nash' fontfamily,
% `b'old e`x'tended fontseries und `n'ormal fontshape.
%
\def\pnashbf{\fontencoding{U}\fontfamily{nash}%
             \fontseries{bx}\fontshape{n}\selectfont}

% All other definitions are done in file `Unash.fd', which is
% loaded on demand.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\fi

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\catcode`\@ = \fntatcode        \catcode`\< = \fntlscode                   

\endinput
%%%%%%%%%%%%%%%%%%%%%%%%%%% EOF %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

