summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/tlc2/7-10-1.ltx
blob: 05b8e202c5dba2b202c5b407cf23e20307f0f6e0 (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
%%
%% The LaTeX Companion, 2ed (second printing August 2004)
%%
%% Example 7-10-1 on page 439.
%%
%% 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{183.0pt}

\typeout{This example requires commercial fonts that are not provided^^J%
         with a free LaTeX installation but must be obtained separately.}
\begin{filecontents}{t1zasj.fd}
\ProvidesFile{t1zasj.fd}
   [2003/10/12 font definitions for T1 Aldus/Palatino mix.]
\DeclareFontFamily{T1}{zasj}{}
\DeclareFontShape{T1}{zasj}{m}{n} {<->pasr9d}{}
\DeclareFontShape{T1}{zasj}{m}{sc}{<->pasrc9d}{}
\DeclareFontShape{T1}{zasj}{m}{it}{<->pasri9d}{}
\DeclareFontShape{T1}{zasj}{m}{sl}{<->ssub * pasx/m/it}{}
\DeclareFontShape{T1}{zasj}{b}{n}{<-> pplb8t}{}
\DeclareFontShape{T1}{zasj}{b}{sc}{<->pplbc8t}{}
\DeclareFontShape{T1}{zasj}{b}{sl}{<->pplbo8t}{}
\DeclareFontShape{T1}{zasj}{b}{it}{<->pplbi8t}{}
\end{filecontents}
\begin{filecontents}{fontmix.sty}
\ProvidesPackage{fontmix}[2003/10/12 T1 Aldus/Palatino mix.]
\RequirePackage[T1]{fontenc}
\renewcommand\rmdefault{zasj} \renewcommand\bfdefault{b}
\end{filecontents}

\StartShownPreambleCommands
\usepackage{fontmix}
% t1zasj.fd and fontmix.sty as defined above
\StopShownPreambleCommands
\begin{document}
\section*{Zapf's Palatino and Aldus}
This text is set in the typeface Aldus with
matching \emph{old-style} numerals `123456789'.

As a companion \textbf{bold face} Zapf's
Palatino is selected.
\end{document}