summaryrefslogtreecommitdiff
path: root/language/arabic/arabtex/texinput/hefonts2.sty
blob: fe0ff7df212e19d6334370fffd3ddb02c82276c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
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 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%