diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-12 23:51:33 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-12 23:51:33 +0000 |
commit | aec1c1b77ee51b9359530d61cc7b8df2a37c7685 (patch) | |
tree | 8b5e1e20b56e0abf130e7da219468e197cde8725 /Master/texmf-dist/tex/latex/arabtex/afonts.sty | |
parent | e1c54083e49986785dd4d24e891b89e0772a4de1 (diff) |
arabtex
git-svn-id: svn://tug.org/texlive/trunk@673 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/arabtex/afonts.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/arabtex/afonts.sty | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/arabtex/afonts.sty b/Master/texmf-dist/tex/latex/arabtex/afonts.sty new file mode 100644 index 00000000000..4b7303ad240 --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabtex/afonts.sty @@ -0,0 +1,52 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% 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 +% 31.08.93 1.6 added support for NFSS2, missing `pt' in NFSS1 def. (br) +% 14.03.94 1.7 identify lfonts.tex or NFSS version used +% 16.11.95 3.04 split into separate files +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% (c) Klaus Lagally and Bernd Raichle +% Institut fuer Informatik +% Universitaet Stuttgart +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% load this file only, if \pnash not defined + +\expandafter \ifx \csname pnash\endcsname \relax \else + \expandafter \endinput \fi + +\a@ident {afonts.sty} {3.04 define Naskh font } {16.11.1995} + +\def\nash {\protect\pnash} +\def\nashbf {\protect\pnashbf} +% select the nash font with \nash + +\expandafter\ifx\csname DeclareFontShape\endcsname\relax + +% If we are using the NFSS, Version 2, \DeclareFontShape +% is defined. +% (The \expandafter\ifx\csname...\endcsname\relax is necessary, +% because the NFSS2 styleoptions use LaTeX's internal \@ifundefined +% command.) + +\expandafter\ifx\csname selectfont\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'. + + % OLD FONT SELECTION + \UsePackage {afonts0} + \else % NEW FONT SELECTION -- Version 1 + \UsePackage {afonts1} + \fi +\else % NEW FONT SELECTION -- Version 2 + \UsePackage {afonts2} +\fi + +\endinput +%%%%%%%%%%%%%%%%%%%%%%%%%%% EOF %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |