summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/tlc2/9-4-5.ltx
blob: c1e5c573d5efcbae04ec24af1a17e64aabe8c34e (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
%%
%% The LaTeX Companion, 2ed (second printing August 2004)
%%
%% Example 9-4-5 on page 579.
%%
%% Copyright (C) 2004 Frank Mittelbach, Michel Goossens,
%%    Johannes Braams, David Carlisle, and Chris Rowley
%%
%% It may be distributed and/or modified under the conditions
%% of the LaTeX Project Public License, either version 1.3
%% of this license or (at your option) any later version.
%%
%% See http://www.latex-project.org/lppl.txt for details.
%%

\documentclass{ttctexa}
\pagestyle{empty}
\setcounter{page}{6}
\setlength\textwidth{231.0pt}

  \typeout{This example requires fonts that are not available^^J%
           on the TLC2 demo CD}
\StartShownPreambleCommands
%
\renewcommand\rmdefault{cmr}
\renewcommand\bfdefault{bx}
\renewcommand\itdefault{it}
\usepackage[LHE,T1]{fontenc}
\usepackage[hebrew,english]{babel} \usepackage{hebfont}
\newcommand\cs[1]{\texttt{\textbackslash#1}}
\StopShownPreambleCommands
\begin{document}
  \begin{center}
    \begin{tabular}{llll}
      \itshape Command & \itshape Corresponds to Declaration & \itshape Font
       Family & \itshape Example \\[4pt]
      \cs{textjm}    & \cs{rmfamily} & Jerusalem font & \R{\textjm{\contentsname}} \\
      \cs{textds}    & \cs{bfseries} & Dead Sea font & \R{\textds{\contentsname}} \\
      \cs{textoj}    & \cs{itshape}  & Old Jaffa font&  \R{\textoj{\contentsname}}\\
      \cs{textta}    & \cs{sffamily} & Tel Aviv font &  \R{\textta{\contentsname}}\\
                     & \cs{ttfamily} & \\[2pt]
      \cs{textcrml}  & \cs{fontfamily}\verb={crml}=  & Carmel fonts &  \R{\textcrml{\contentsname}}\\[2pt]
      \cs{textfr}    & \cs{fontfamily}\verb={fr}}=   & Frank Ruehl fonts&  \R{\textfr{\contentsname}}\\[2pt]
      \cs{textredis} & \cs{fontfamily}\verb={redis}= & Redis fonts&  \R{\textredis{\contentsname}}\\[2pt]
      \cs{textclas}  & \cs{fontfamily}\verb={clas}= & Classic fonts&  \R{\textclas{\contentsname}}\\[2pt]
      \cs{textshold} & \cs{fontfamily}\verb={shold}= & Shalom Old Style font&  \R{\textshold{\contentsname}}\\
      \cs{textshscr} & \cs{fontfamily}\verb={shscr}= & Shalom Script font&  \R{\textshscr{\contentsname}}\\
      \cs{textshstk} & \cs{fontfamily}\verb={schstk}= & Shalom Stick font&  \R{\textshstk{\contentsname}}\\
    \end{tabular}
  \end{center}
\end{document}