From aec1c1b77ee51b9359530d61cc7b8df2a37c7685 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 12 Jan 2006 23:51:33 +0000 Subject: arabtex git-svn-id: svn://tug.org/texlive/trunk@673 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/arabtex/hefonts2.sty | 72 ++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 Master/texmf-dist/tex/latex/arabtex/hefonts2.sty (limited to 'Master/texmf-dist/tex/latex/arabtex/hefonts2.sty') diff --git a/Master/texmf-dist/tex/latex/arabtex/hefonts2.sty b/Master/texmf-dist/tex/latex/arabtex/hefonts2.sty new file mode 100644 index 00000000000..fe0ff7df212 --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabtex/hefonts2.sty @@ -0,0 +1,72 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% hefonts2.sty +% ArabTeX +% load Hebrew fonts for NFSS2 +% 27.04.2003 +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% (c) Klaus Lagally and Bernd Raichle +% Institut fuer Formale Methoden der Informatik +% Universitaet Stuttgart +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\a@ident {hefonts2.sty} {3.11 define Hebrew fonts for NFSS2} {27.04.2003} + +% NEW FONT SELECTION -- Version 2 +%\a@message {using NFSS2} + +\def \fdef #1#2#3#4{% define NFSS2 font command +\pdef #1{\def \pheb {\fontencoding {U}\fontfamily {#2}% +\fontseries {#3}\fontshape {#4}\selectfont }% +\ifx \a@normalfont \a@default \gdef \a@normalfont {#1}\fi +%\setarabfont \pheb \set@arabfont }% +\setarabfont \pheb }% +\all@wcmd #1} + +\def \hdef #1{\fdef #1{heb}}% define Hebrew font + +% commands for selecting the default Hebrew fonts: + +\hdef \sethebrm {m}{n} +\hdef \sethebbf {bx}{n} + +%\let \hc \sethebrm \all@wcmd \hc +%\let \hp \sethebbf \all@wcmd \hp + +\hdef \hc {m}{n} +\hdef \hp {bx}{n} + +% commands for selecting the standard Hebrew fonts from CTAN: + +\hdef \Jm {m}{Jm} +\hdef \jm {m}{jm} +\hdef \ds {m}{ds} +\hdef \oj {m}{oj} +\hdef \ta {m}{ta} + +% commands for selecting the Shalom family of Hebrew fonts from CTAN: + +\hdef \shlmold {m}{so} +\hdef \shlmscr {m}{sr} +\hdef \shlmstk {m}{sk} + +% commands for selecting the Frank Ruehl family of Hebrew fonts from CTAN: + +\hdef \fr {m}{fr} +\hdef \frbx {bx}{fr} +\hdef \frsl {sl}{fr} + +% commands for selecting the Carmel family of Hebrew fonts from CTAN: + +\hdef \crml {m}{crml} +\hdef \crmlsl {sl}{crml} + +% All other definitions are done in file `Uheb.fd', which is +% loaded on demand. + +%\def \a@defaultfont {\hc } +\hc + +\endinput +%%%%%%%%%%%%%%%%%%%%%%%%%%% EOF %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + -- cgit v1.2.3