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/hefonts.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/hefonts.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/arabtex/hefonts.sty | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/arabtex/hefonts.sty b/Master/texmf-dist/tex/latex/arabtex/hefonts.sty new file mode 100644 index 00000000000..1c8cee2fab5 --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabtex/hefonts.sty @@ -0,0 +1,56 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% hefonts.sty +% ArabTeX +% load Hebrew fonts in LaTeX mode +% 02.07.1997 +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% (c) Klaus Lagally and Bernd Raichle +% Institut fuer Informatik +% Universitaet Stuttgart +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +% load this file only, if \pheb not defined +% select the Hebrew font by \pheb (\protected ) +% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\expandafter \ifx \csname pheb\endcsname \relax \else + \expandafter \endinput +\fi + +\a@ident {hefonts.sty} {3.06 standard Hebrew fonts} {02.07.1997} + +\chardef \fntatcode = \catcode`\@ \catcode`\@ = 11 +\chardef \fntlscode = \catcode`\< \catcode`\< = 12 + +\ifx \LaTeX \undefined \else + +% 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.) +% +\xpa \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'. +% + \xpa \ifx \csname selectfont\endcsname\relax + + % OLD FONT SELECTION + \UsePackage {hefonts0} + \else % NEW FONT SELECTION -- Version 1 + \UsePackage {hefonts1} + \fi +\else + % NEW FONT SELECTION -- Version 2 + \UsePackage {hefonts2} +\fi\fi + +\catcode`\@ = \fntatcode \catcode`\< = \fntlscode + +\endinput +%%%%%%%%%%%%%%%%%%%%%%%%%%% EOF %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |