% \iffalse meta-comment % % Copyright 1997-1998 Boris Lavva and any individual authors % listed elsewhere in this file. All rights reserved. % % For further copyright information see any other copyright notices in % this file. % % This file is contributed to the Babel system release 3.6. % --------------------------------------------------------- % This system is distributed in the hope that it will be useful, % but WITHOUT ANY WARRANTY; without even the implied warranty of % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. % % For error reports concerning UNCHANGED versions of this file no % more than one year old, see bugs.txt. % % Please do not request updates from me directly. Primary % distribution is through the CTAN archives. % % % IMPORTANT COPYRIGHT NOTICE: % % You are NOT ALLOWED to distribute this file alone. % % You are allowed to distribute this file under the condition that it % is distributed together with all the files listed in manifest.txt. % % If you receive only some of these files from someone, complain! % % Permission is granted to copy this file to another file with a % clearly different name and to customize the declarations in that % copy to serve the needs of your installation, provided that you % comply with the conditions in the file legal.txt from the LaTeX2e % distribution. % % However, NO PERMISSION is granted to produce or to distribute a % modified version of this file under its original name. % % You are NOT ALLOWED to change this file. % % File `hebrew.fdd' for installing the Hebrew encodings and fonts. % Copyright (C) 1997 -- 1998 Boris Lavva. % % Babel package for LaTeX version 2e % Copyright (C) 1989 -- 1997 by Johannes Braams, % TeXniek % All rights reserved. % \fi % \CheckSum{214} % % \iffalse %\ProvidesFile{lheenc.def} %\ProvidesFile{lhecmr.fd} %\ProvidesFile{lhecmss.fd} %\ProvidesFile{lhecmtt.fd} %\ProvidesFile{lheclas.fd} %\ProvidesFile{lheshold.fd} %\ProvidesFile{lheshscr.fd} %\ProvidesFile{lheshstk.fd} %\ProvidesFile{lhefr.fd} %\ProvidesFile{lhecrml.fd} %\ProvidesFile{lheredis.fd} %\ProvidesPackage{hebfont} %<*driver> \ProvidesFile{hebrew.drv} % % \fi % \ProvidesFile{hebrew.fdd} [1998/01/01 v1.0a % \iffalse % 7-bit Hebrew font encoding % Hebrew default font % Hebrew sans-serif font % Hebrew typewriter font % Hebrew classic font (by Joel M. Hoffman) % Hebrew shalom old font (by Jonathan Brecher) % Hebrew shalom script font (by Jonathan Brecher) % Hebrew shalom stick font (by Jonathan Brecher) % Hebrew frank-ruehl font % Hebrew carmel font (by Dr. Samy Zafrany) % Hebrew redis font (by Prof. Jacques J. Goldberg) % Hebrew font switching commands % Driver file for hebrew.fdd file % \fi % Hebrew font encodings support (test version: still liable to change)] % % \font\manual=logo10 % \providecommand\MF{{\manual META}\-{\manual FONT}} % \providecommand\PS{\textsc{PostScript}} % \providecommand\dst{\textsc{docstrip}} % \providecommand\LHE{\texttt{LHE}} % \providecommand\file[1]{\texttt{#1}} % \providecommand\pkg[1]{\texttt{#1}} % \GetFileInfo{hebrew.fdd} % % \changes{hebfdd~1.0a}{1998/01/01}{% % Initial version. Supports only 7-bit LHE font encoding and all % available Hebrew \TeX\ fonts (by Boris Lavva)} % % \section{Hebrew font encodings}\label{sec:hebfdd} % % The file \file{\filename}\footnote{The files described in this % section have version number \fileversion{} and were last revised % on \filedate.} contains the Local Hebrew Encoding (\LHE) % definition, the external font information needed to use the % Hebrew 7-bit fonts (old code fonts) and \pkg{hebfont} package % that provides Hebrew font switching commands. % % Using this file as an input, |lheenc.def| encoding definition % file, all |.fd| files (font definition files) and font switching % package for available Hebrew fonts are generated. We chose to use % 7-bit encoding as default font encoding, because: % \begin{enumerate} % \item There are many 7-bit encoded Hebrew fonts available, more % then for any other encoding. % \item Available \TeX{} Hebrew fonts do not include latin % alphabet, and we can safely map Hebrew glyphs to the % \texttt{ASCII} positions (0 -- 127). % \end{enumerate} % % Current definition of the \LHE{} encoding supports only Hebrew % letters (|\alef|--|\tav|), but not Hebrew points, such as % |\dagesh|, |\qamats|, |\patah|, |\shindot|, etc. We are working % now on such addition. % % \StopEventually{} % % \iffalse % \subsection{A driver for this document} % % The next bit of code contains the documentation driver file for % \TeX{}, i.e., the file that will produce the documentation you are % currently reading. It will be extracted from this file by the \dst{} % program. % % \begin{macrocode} %<*driver> \documentclass{ltxdoc} \title{Hebrew font encodings for use with \LaTeXe} \author{Boris Lavva} \date{Printed \today} \begin{document} \maketitle \DocInput{hebrew.fdd} \end{document} % % \end{macrocode} % \fi % % \subsection{The {\normalfont\dst{}} modules} % % The following modules are used in the implementation to direct % \dst{} in generating external files: % \begin{center} % \begin{tabular}{@{}ll} % driver & produce a documentation driver file \\[4pt] % LHEenc & produce the encoding definition for Local Hebrew % Encoding (\LHE)\\[4pt] % LHEcmr & make Hebrew default font in \LHE\\ % LHEcmss & make Hebrew sans-serif font in \LHE\\ % LHEcmtt & make Hebrew typewriter font in \LHE\\ % LHEclas & make Hebrew classic font (by Joel M.~Hoffman) in \LHE\\ % LHEshold & make Hebrew shalom old font (by Jonathan Brecher) % in \LHE\\ % LHEshscr & make Hebrew shalom script font (by Jonathan Brecher) % in \LHE\\ % LHEshstk & make Hebrew shalom stick font (by Jonathan Brecher) % in \LHE\\ % LHEfr & make Hebrew frank-ruehl font in \LHE\\ % LHEcrml & make Hebrew carmel font (by Dr. Samy Zafrany) in \LHE\\ % LHEredis & make Hebrew redis font (by Prof. Jacques J.~Goldberg) % in \LHE\\[4pt] % nowarn & option for font definition files, that used\\ % & to produce ``silent'' font substitutions without % giving warnings\\[4pt] % hebfont & create Hebrew font switching commands package % \end{tabular} % \end{center} % A typical \dst{} command file would then have entries like: %\begin{verbatim} %\generateFile{lhecmr.fd}{t}{\from{hebrew.fdd}{LHEcmr,nowarn}} %\end{verbatim} % % \subsection{The encoding definition file} % % The Hebrew font encoding \LHE{} is based upon the old-code encoding % also known as the Israeli Standard SI-960. Many Hebrew \TeX{} % fonts from the Hebrew University of Jerusalem are encoded % in this encoding. It only uses the lower 128 positions of the font % table. As local encoding its name start with the letter `L'. % % First we define the Local Hebrew Encoding; specify a default % for the font substitution process for the \LHE{} encoding and % supply a font to be used when all else fails. % % \begin{macrocode} %<*LHEenc> \DeclareFontEncoding{LHE}{}{} \DeclareFontSubstitution{LHE}{cmr}{m}{n} \DeclareErrorFont{LHE}{cmr}{m}{n}{10} % % \end{macrocode} % Then we define a few commands in the \LHE{} encoding. % \begin{macrocode} %<*LHEenc> \ProvideTextCommand{\textcopyright}{LHE}{\textcircled{\@latin{c}}} \ProvideTextCommand{\textregistered}{LHE}{\textcircled{\scshape% \@latin{r}}} \ProvideTextCommand{\texttrademark}{LHE}{\textsuperscript{\@latin{TM}}} % % \end{macrocode} % % Because not everyone can input Hebrew input text directly from % the keyboard we need to define control sequences for all the % Hebrew glyphs in the fonts. In addition, we want to support % many input encodings for Hebrew and to keep the language % definition file (|hebrew.ldf|) independent of the % encoding. Therefore, we exploit the standard \LaTeXe{} font % encoding mechanism to define control sequences for all the Hebrew % glyphs in the fonts in encoding-specific way. The language % definition file uses only the control sequences and doesn't need % to check the current font or input encoding. % % In the \LHE{} encoding (7-bit encoding) all the Hebrew glyphes % reside in the \emph{lower} half of the font. Currently, only the % Hebrew letters are supported. They use the same positions as the % latin small letters in |ASCII| encoding and the position of |`|. % % The symbol |`| (glyph 96) is used by Hebrew letter \emph{Alef}, % so we need to define its |lccode| to allow hyphenation. All other % letters retain the same |lccode|s as their latin counterparts. % \begin{macrocode} %<+LHEenc>\lccode``=`` % \end{macrocode} % Hebrew letters occupy the positions 96--122 in \LHE{} encoding: % \begin{macrocode} %<*LHEenc> \DeclareTextSymbol{\alef}{LHE}{96} \DeclareTextSymbol{\bet}{LHE}{97} \DeclareTextSymbol{\gimel}{LHE}{98} \DeclareTextSymbol{\dalet}{LHE}{99} \DeclareTextSymbol{\he}{LHE}{100} \DeclareTextSymbol{\vav}{LHE}{101} \DeclareTextSymbol{\zayin}{LHE}{102} \DeclareTextSymbol{\het}{LHE}{103} \DeclareTextSymbol{\tet}{LHE}{104} \DeclareTextSymbol{\yod}{LHE}{105} \DeclareTextSymbol{\finalkaf}{LHE}{106} \DeclareTextSymbol{\kaf}{LHE}{107} \DeclareTextSymbol{\lamed}{LHE}{108} \DeclareTextSymbol{\finalmem}{LHE}{109} \DeclareTextSymbol{\mem}{LHE}{110} \DeclareTextSymbol{\finalnun}{LHE}{111} \DeclareTextSymbol{\nun}{LHE}{112} \DeclareTextSymbol{\samekh}{LHE}{113} \DeclareTextSymbol{\ayin}{LHE}{114} \DeclareTextSymbol{\finalpe}{LHE}{115} \DeclareTextSymbol{\pe}{LHE}{116} \DeclareTextSymbol{\finaltsadi}{LHE}{117} \DeclareTextSymbol{\tsadi}{LHE}{118} \DeclareTextSymbol{\qof}{LHE}{119} \DeclareTextSymbol{\resh}{LHE}{120} \DeclareTextSymbol{\shin}{LHE}{121} \DeclareTextSymbol{\tav}{LHE}{122} % % \end{macrocode} % Letter |\sin| is defined as a synonym of |\shin|: % \begin{macrocode} %<+LHEenc>\let\sin=\shin % \end{macrocode} % % \subsection{The font definition files (in \LHE{} encoding)} % % \subsubsection{Hebrew default font} % % It uses \emph{Jerusalem} font for regular font, \emph{Old % Jaffa} font for italic shape and \emph{Dead Sea} font for bold % face. % \begin{macrocode} %<*LHEcmr> \DeclareFontFamily{LHE}{cmr}{\hyphenchar\font45} \DeclareFontShape{LHE}{cmr}{m}{n} {<-> jerus10 }{} %%%%%%% Font/shape undefined, therefore substituted \DeclareFontShape{LHE}{cmr}{m}{sc} %<-nowarn> {<->sub * cmr/m/n}{} %<+nowarn> {<->ssub * cmr/m/n}{} %%%%%%% Italicized shape \DeclareFontShape{LHE}{cmr}{m}{it} {<-> oldjaf10 }{} %%%%%%% Font/shape undefined, therefore substituted \DeclareFontShape{LHE}{cmr}{m}{sl} %<-nowarn> {<->sub * cmr/m/sl}{} %<+nowarn> {<->ssub * cmr/m/sl}{} %%%%%%% Bold extended series \DeclareFontShape{LHE}{cmr}{bx}{n} {<-> deads10 }{} %%%%%%% Font/shape undefined, therefore substituted \DeclareFontShape{LHE}{cmr}{b}{n} %<-nowarn> {<->sub * cmr/bx/n}{} %<+nowarn> {<->ssub * cmr/bx/n}{} %%%%%%% Font/shape undefined, therefore substituted \DeclareFontShape{LHE}{cmr}{bx}{sl} %<-nowarn> {<->sub * cmr/bx/n}{} %<+nowarn> {<->ssub * cmr/bx/n}{} %%%%%%% Font/shape undefined, therefore substituted \DeclareFontShape{LHE}{cmr}{bx}{it} %<-nowarn> {<->sub * cmr/bx/n}{} %<+nowarn> {<->ssub * cmr/bx/n}{} % % \end{macrocode} % % \subsubsection{Hebrew sans-serif font} % % We use \emph{Tel Aviv} font for the Sans family. \emph{Old % Jaffa} font is used for italic shape and \emph{Dead Sea} % used for bold face. % \begin{macrocode} %<*LHEcmss> \DeclareFontFamily{LHE}{cmss}{\hyphenchar\font45} \DeclareFontShape{LHE}{cmss}{m}{n} {<-> telav10 }{} %%%%%%% Font/shape undefined, therefore substituted \DeclareFontShape{LHE}{cmss}{m}{sc} %<-nowarn> {<->sub * cmss/m/n}{} %<+nowarn> {<->ssub * cmss/m/n}{} %%%%%%% Italicized shape \DeclareFontShape{LHE}{cmss}{m}{it} {<-> oldjaf10 }{} %%%%%%% Font/shape undefined, therefore substituted \DeclareFontShape{LHE}{cmss}{m}{sl} %<-nowarn> {<->sub * cmss/m/it}{} %<+nowarn> {<->ssub * cmss/m/it}{} %%%%%%% Bold extended series \DeclareFontShape{LHE}{cmss}{bx}{n} {<-> deads10 }{} %%%%%%% Font/shape undefined, therefore substituted \DeclareFontShape{LHE}{cmss}{b}{n} %<-nowarn> {<->sub * cmss/bx/n}{} %<+nowarn> {<->ssub * cmss/bx/n}{} %%%%%%% Font/shape undefined, therefore substituted \DeclareFontShape{LHE}{cmss}{bx}{sl} %<-nowarn> {<->sub * cmss/bx/n}{} %<+nowarn> {<->ssub * cmss/bx/n}{} %%%%%%% Font/shape undefined, therefore substituted \DeclareFontShape{LHE}{cmss}{bx}{it} %<-nowarn> {<->sub * cmss/bx/n}{} %<+nowarn> {<->ssub * cmss/bx/n}{} % % \end{macrocode} % % \subsubsection{Hebrew typewriter font} % % We use \emph{Tel Aviv} font as the typewriter font. \emph{Old % Jaffa} font is used for italic shape and \emph{Dead Sea} % used for bold face. % \begin{macrocode} %<*LHEcmtt> \DeclareFontFamily{LHE}{cmtt}{\hyphenchar \font\m@ne} \DeclareFontShape{LHE}{cmtt}{m}{n} {<-> telav10 }{} %%%%%%% Font/shape undefined, therefore substituted \DeclareFontShape{LHE}{cmtt}{m}{sc} %<-nowarn> {<->sub * cmtt/m/n}{} %<+nowarn> {<->ssub * cmtt/m/n}{} %%%%%%% Italicized shape \DeclareFontShape{LHE}{cmtt}{m}{it} {<-> oldjaf10 }{} %%%%%%% Font/shape undefined, therefore substituted \DeclareFontShape{LHE}{cmtt}{m}{sl} %<-nowarn> {<->sub * cmtt/m/it}{} %<+nowarn> {<->ssub * cmtt/m/it}{} %%%%%%% Bold extended series \DeclareFontShape{LHE}{cmtt}{bx}{n} {<-> deads10 }{} %%%%%%% Font/shape undefined, therefore substituted \DeclareFontShape{LHE}{cmtt}{bx}{it} %<-nowarn> {<->sub * cmtt/bx/n}{} %<+nowarn> {<->ssub * cmtt/bx/n}{} % % \end{macrocode} % % \subsubsection{Hebrew classic font} % % \emph{Hclassic} and \emph{hcaption} fonts are distributed freely % from |CTAN| sites and copyrighted by Joel M.~Hoffman, of 19 % Hillcrest Lane, Rye, NY 10580 USA, e-mail: % |72700.402@compuserve.com|. % % Hclassic is a modernized Classical Hebrew font (in the same way % that Knuth's |cmr| family is a modernized Roman font --- but his % fonts are much nicer). Hcaption is a slanted version of hclassic % font. Both fonts contain all of the Hebrew consonants, % the (rarely used) ligature \emph{alef-lamed} and two versions of % the letter \emph{ayin} for use with and without % vowels. Hclassic also contains all of the vowels found in Hebrew, % a symbol for \emph{meteg}, and dots for use as a \emph{dagesh} % and for differentiating \emph{shin} and \emph{sin} letters. % % Currently, only the Hebrew consonants (\emph{alef} -- \emph{tav}) % from these fonts are supported by \LaTeXe{}, however one can use % vowels and dots directly with \PlainTeX{} macros. We are working % on generic vowels and dots support for \LaTeXe. % % \begin{macrocode} %<*LHEclas> \DeclareFontFamily{LHE}{clas}{} \DeclareFontShape{LHE}{clas}{m}{n} {<-> s * [0.83345] hclassic }{} %%%%%%% Font/shape undefined, therefore substituted \DeclareFontShape{LHE}{clas}{m}{sc} %<-nowarn> {<->sub * clas/m/n}{} %<+nowarn> {<->ssub * clas/m/n}{} %%%%%%% Slanted shape \DeclareFontShape{LHE}{clas}{m}{sl} {<-> s * [0.69389] hcaption }{} %%%%%%% Font/shape undefined, therefore substituted \DeclareFontShape{LHE}{clas}{m}{it} %<-nowarn> {<->sub * clas/m/sl}{} %<+nowarn> {<->ssub * clas/m/sl}{} % % \end{macrocode} % % \subsubsection{Hebrew shalom fonts} % % All three shalom fonts (\emph{ShalomScript10}, % \emph{ShalomStick10} and \emph{ShalomOldStyle10}) have been % created by Jonathan Brecher, of 9 Skyview Road, Lexington, MA % 02173-1112 USA, e-mail: |brecher@husc.harvard.edu|. % % All shalom fonts have been written in \PS{} via Fontographer on a % Mac. The fonts have been converted to \MF{} by Rama Porrat % (e-mail: |rama@cc.huji.ac.il|), using % the utility typo, a font editor + converter between font formats % (a commercial product). |ShalomScript10.mf| is the \MF{} % equivalent of |ShalomScript.ps|, |ShalomStick10.mf| came from % |ShalomStick.ps| and |ShalomOldStyle10.mf| originated in % |ShalomOldStyle.ps|. % % The fonts differ in the letters' style. ShalomScript10 contains % hand writing Hebrew letters; ShalomStick10 contains sans-serif % letters, and ShalomOldStyle10 contains old style letters. All % three fonts contain vowels and dots (nikud). While converting to % \MF{}, letters and symbols within the fonts have been arranged % so as to get a usable font for writing Hebrew documents in \TeX{} % or \LaTeX{}, with as well as without vowels. % % Currently, only the Hebrew consonants (\emph{alef} -- \emph{tav}) % from these fonts are supported by \LaTeXe{}, however one can use % vowels and dots directly with \PlainTeX{} macros. We are working % on generic vowels and dots support for \LaTeXe. % % \begin{macrocode} %<*LHEshold> \DeclareFontFamily{LHE}{shold}{} \DeclareFontShape{LHE}{shold}{m}{n} {<-> shold10 }{} % %<*LHEshscr> \DeclareFontFamily{LHE}{shscr}{} \DeclareFontShape{LHE}{shscr}{m}{n} {<-> shscr10 }{} % %<*LHEshstk> \DeclareFontFamily{LHE}{shstk}{} \DeclareFontShape{LHE}{shstk}{m}{n} {<-> shstk10 }{} % % \end{macrocode} % % \subsubsection{Hebrew frank-ruehl font} % % \emph{Frank Ruehl} font was written in \MF{} and includes three % shapes: regular, bold extaneded and slanted. % % \begin{macrocode} %<*LHEfr> \DeclareFontFamily{LHE}{fr}{} \DeclareFontShape{LHE}{fr}{m}{n} {<-> fr }{} %%%%%%% Font/shape undefined, therefore substituted \DeclareFontShape{LHE}{fr}{m}{sc} %<-nowarn> {<->sub * fr/m/n}{} %<+nowarn> {<->ssub * fr/m/n}{} %%%%%%% Slanted shape \DeclareFontShape{LHE}{fr}{m}{sl} {<-> frsl }{} %%%%%%% Font/shape undefined, therefore substituted \DeclareFontShape{LHE}{fr}{m}{it} %<-nowarn> {<->sub * fr/m/sl}{} %<+nowarn> {<->ssub * fr/m/sl}{} %%%%%%% Bold extended series \DeclareFontShape{LHE}{fr}{bx}{n} {<-> frbx }{} %%%%%%% Font/shape undefined, therefore substituted \DeclareFontShape{LHE}{fr}{b}{n} %<-nowarn> {<->sub * fr/bx/n}{} %<+nowarn> {<->ssub * fr/bx/n}{} %%%%%%% Font/shape undefined, therefore substituted \DeclareFontShape{LHE}{fr}{bx}{sl} %<-nowarn> {<->sub * fr/bx/n}{} %<+nowarn> {<->ssub * fr/bx/n}{} %%%%%%% Font/shape undefined, therefore substituted \DeclareFontShape{LHE}{fr}{bx}{it} %<-nowarn> {<->sub * fr/bx/n}{} %<+nowarn> {<->ssub * fr/bx/n}{} % % \end{macrocode} % % \subsubsection{Hebrew carmel font} % % \emph{Carmel} font includes regular and slanted shapes. It was % created by Dr.~Samy Zafrany of the Technion, Haifa, Israel with % the intention of making nice fonts for headers and emphasized % text. % % \begin{macrocode} %<*LHEcrml> \DeclareFontFamily{LHE}{crml}{} \DeclareFontShape{LHE}{crml}{m}{n} {<-> crml10 }{} %%%%%%% Font/shape undefined, therefore substituted \DeclareFontShape{LHE}{crml}{m}{sc} %<-nowarn> {<->sub * crml/m/n}{} %<+nowarn> {<->ssub * crml/m/n}{} %%%%%%% Slanted shape \DeclareFontShape{LHE}{crml}{m}{sl} {<-> crmlsl10 }{} %%%%%%% Font/shape undefined, therefore substituted \DeclareFontShape{LHE}{crml}{m}{it} %<-nowarn> {<->sub * crml/m/sl}{} %<+nowarn> {<->ssub * crml/m/sl}{} % % \end{macrocode} % % \subsubsection{Hebrew redis font} % % \emph{Redis} font has been created by Prof.~Jacques J.~Goldberg % of the Technion. Haifa, Israel. The font is available in regular, % slanted and bold extanded shapes. This font contains a full set % of Hebrew letters in a ``sans-serif vectorized'' style, and % selected punctuation. % % \begin{macrocode} %<*LHEredis> \DeclareFontFamily{LHE}{redis}{} \DeclareFontShape{LHE}{redis}{m}{n}{% <5> <6> redis7 <7> <8> <9> <10> <12> gen * redis <10.95> redis10 <14.4> redis12 <17.28> <20.74> <24.88> redis17}{} %%%%%%% Font/shape undefined, therefore substituted \DeclareFontShape{LHE}{redis}{m}{sc} %<-nowarn> {<->sub * redis/m/n}{} %<+nowarn> {<->ssub * redis/m/n}{} %%%%%%% Slanted shape \DeclareFontShape{LHE}{redis}{m}{sl}{% <5> <6> <7> rediss8 <8> <9> <10> <12> gen * rediss <10.95> rediss10 <14.4> <17.28> <20.74> <24.88> rediss12}{} %%%%%%% Font/shape undefined, therefore substituted \DeclareFontShape{LHE}{redis}{m}{it} %<-nowarn> {<->sub * redis/m/sl}{} %<+nowarn> {<->ssub * redis/m/sl}{} %%%%%%% Bold extended series \DeclareFontShape{LHE}{redis}{bx}{n}{% <5> <6> <7> <8> <9> <10> <10.95> <12> <14.4> <17.28> <20.74> <24.88> redisb10}{} %%%%%%% Font/shape undefined, therefore substituted \DeclareFontShape{LHE}{redis}{b}{n} %<-nowarn> {<->sub * redis/bx/n}{} %<+nowarn> {<->ssub * redis/bx/n}{} %%%%%%% Font/shape undefined, therefore substituted \DeclareFontShape{LHE}{redis}{bx}{sl} %<-nowarn> {<->sub * redis/bx/n}{} %<+nowarn> {<->ssub * redis/bx/n}{} %%%%%%% Font/shape undefined, therefore substituted \DeclareFontShape{LHE}{redis}{bx}{it} %<-nowarn> {<->sub * redis/bx/n}{} %<+nowarn> {<->ssub * redis/bx/n}{} % % \end{macrocode} % % \subsubsection{Hebrew font switching commands} % % The \pkg{hebfont} package defines a number of high-level commands % (all starting with |\text..| similar to the standard \LaTeXe{} % font-change commands, for example |\textbf|) that have one % argument and typeset this argument in the requested way. These % commands are defined for all available Hebrew fonts defined above % and change only font parameters but not direction. % % For example, to use Hebrew Classic font family, the following % sequence of commands should be included in a \LaTeXe{} document: % \begin{quote} % |\sethebrew|\\ % |\textclas{Hebrew text printed with Classic fonts}| % \end{quote} % or to use Hebrew with Classic fonts locally: % \begin{quote} % |\R{\textclas{Hebrew text printed with Classic fonts}}| % \end{quote} % % \begin{table}[t] % \begin{center} % \begin{tabular}{lll} % \textit{Command} & \textit{Corresponds to} & % \textit{Font family} \\[4pt] % |\textjm{..}| & |\rmfamily| & Jerusalem font \\ % |\textds{..}| & |\bfseries| & Dead Sea font \\ % |\textoj{..}| & |\itshape| & Old Jaffa font \\ % & |\slshape| & \\ % & |\emph| & \\ % |\textta{..}| & |\sffamily| & Tel-Aviv font \\ % & |\ttfamily| & \\[2pt] % |\textcrml{..}| & |\fontfamily{crml}| & Carmel fonts \\[2pt] % |\textfr{..}| & |\fontfamily{fr}| & Frank-Ruehl fonts \\[2pt] % |\textredis{..}| & |\fontfamily{redis}| & Redis fonts \\[2pt] % |\textclas{..}| & |\fontfamily{redis}| & Classic fonts \\[2pt] % |\textshold{..}| & |\fontfamily{shold}| & Shalom Old Style font \\ % |\textshscr{..}| & |\fontfamily{shscr}| & Shalom Script font \\ % |\textshstk{..}| & |\fontfamily{shstk}| & Shalom Stick font % \end{tabular} % \end{center} % \caption{Hebrew font-change commands with arguments} % \label{tab:fntcmds} % \begin{quote} % The font change commands provided here all start with |\text..| % to emphasize that they are for use in normal text and to be % easily memorable. % \end{quote} % \end{table} % % We declare \LaTeXe{} font commands, e.g.\ |\textjm{|\ldots|}| % for all available fonts. Table~\ref{tab:fntcmds} shows the % meanings of all these new high-level commands. % % \begin{macro}{\textjm} % Switches to \emph{Jerusalem} font which is default regular Hebrew % font (``roman'' family). Commands |\textrm{|\ldots|}| and % old-style |{\rm |\ldots|}| will produce the same result. % \begin{macrocode} %<*hebfont> \DeclareTextFontCommand{\textjm}{\rmfamily\selectfont} % \end{macrocode} % \end{macro} % % \begin{macro}{\textds} % Switches to \emph{Dead Sea} font which is default bold font in % Hebrew. Commands |\textbf{|\ldots|}| and old-style % |{\bf |\ldots|}| will produce the same result. % \begin{macrocode} \DeclareTextFontCommand{\textds}{\bfseries\selectfont} % \end{macrocode} % \end{macro} % % \begin{macro}{\textoj} % Switches to \emph{Old Jaffa} font which is default italic font in % Hebrew. Commands |\textit{|\ldots|}|, |\textsl{|\ldots|}|, % |\emph{|\ldots|}| and old-style |{\it |\ldots|}| or % |{\em |\ldots|}| will produce the same result. % \begin{macrocode} \DeclareTextFontCommand{\textoj}{\itshape\selectfont} % \end{macrocode} % \end{macro} % % \begin{macro}{\textta} % Switches to \emph{Tel-Aviv} font which is default sans-serif font % in Hebrew. Commands |\textsf{|\ldots|}|, |\texttt{|\ldots|}| and % old-style |{\sf |\ldots|}| or |{\tt |\ldots|}| will produce the % same result (because sans-serif is used as typewriter font when % in Hebrew mode). % \begin{macrocode} \DeclareTextFontCommand{\textta}{\sffamily\selectfont} % \end{macrocode} % \end{macro} % % \begin{macro}{\textcrml} % Switches to \emph{Carmel} font. Regular and slanted variants of % carmel font will be used.. % \begin{macrocode} \DeclareTextFontCommand{\textcrml}{\fontfamily{crml}\selectfont} % \end{macrocode} % \end{macro} % % \begin{macro}{\textfr} % Switches to \emph{Frank-Ruehl} font family. Regular, bold and % slanted frank ruehl fonts will be used. % \begin{macrocode} \DeclareTextFontCommand{\textfr}{\fontfamily{fr}\selectfont} % \end{macrocode} % \end{macro} % % \begin{macro}{\textredis} % Switches to \emph{Redis} font family. Regular, bold and slanted % redis fonts of various sizes will be used. % \begin{macrocode} \DeclareTextFontCommand{\textredis}{\fontfamily{redis}\selectfont} % \end{macrocode} % \end{macro} % % \begin{macro}{\textclas} % Switches to \emph{Classic} font family. The normal font will be % hclassic and slanted --- hcaption. % \begin{macrocode} \DeclareTextFontCommand{\textclas}{\fontfamily{clas}\selectfont} % \end{macrocode} % \end{macro} % % \begin{macro}{\textshold} % Switches to \emph{Shalom Old Style} font. % \begin{macrocode} \DeclareTextFontCommand{\textshold}{\fontfamily{shold}\selectfont} % \end{macrocode} % \end{macro} % % \begin{macro}{\textshscr} % Switches to \emph{Shalom Script} font. % \begin{macrocode} \DeclareTextFontCommand{\textshscr}{\fontfamily{shscr}\selectfont} % \end{macrocode} % \end{macro} % % \begin{macro}{\textshstk} % Switches to \emph{Shalom Stick} font. % \begin{macrocode} \DeclareTextFontCommand{\textshstk}{\fontfamily{shstk}\selectfont} % \end{macrocode} % \end{macro} % % Finally, for backward compatibility with \LaTeX2.09. four old % font commands, e.g.\ |{\jm |\ldots|}| are defined too (see % Table~\ref{tab:oldcmds}). % \begin{table}[t] % \begin{center} % \begin{tabular}{lll} % \textit{Old font command} & \textit{Font name} & % \textit{Comment}\\[4pt] % |{\jm ..}| & Jerusalem & default regular (roman) font \\ % |{\ds ..}| & Dead Sea & default bold font \\ % |{\oj ..}| & Old Jaffa & default italic and slanted font \\ % & & used also to emphasize text \\ % |{\ta ..}| & Tel-Aviv & default sans-serif and typewriter font\\ % \end{tabular} % \end{center} % \caption{Hebrew old font-change commands for compatibility mode} % \label{tab:oldcmds} % \end{table} % \begin{macrocode} \if@compatibility \DeclareOldFontCommand{\jm}{\normalfont\rmfamily\selectfont}% {\@nomath\jm} \DeclareOldFontCommand{\ds}{\normalfont\bfseries\selectfont}% {\@nomath\ds} \DeclareOldFontCommand{\oj}{\normalfont\itshape\selectfont}% {\@nomath\oj} \DeclareOldFontCommand{\ta}{\normalfont\sffamily\selectfont}% {\@nomath\ta} \fi % % \end{macrocode} % % \Finale %% %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z %% Digits \0\1\2\3\4\5\6\7\8\9 %% Exclamation \! Double quote \" Hash (number) \# %% Dollar \$ Percent \% Ampersand \& %% Acute accent \' Left paren \( Right paren \) %% Asterisk \* Plus \+ Comma \, %% Minus \- Point \. Solidus \/ %% Colon \: Semicolon \; Less than \< %% Equals \= Greater than \> Question mark \? %% Commercial at \@ Left bracket \[ Backslash \\ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} %% \endinput