summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/tlc2/7-10-1.ltx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/tlc2/7-10-1.ltx')
-rw-r--r--Master/texmf-dist/doc/latex/tlc2/7-10-1.ltx53
1 files changed, 53 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/tlc2/7-10-1.ltx b/Master/texmf-dist/doc/latex/tlc2/7-10-1.ltx
new file mode 100644
index 00000000000..05b8e202c5d
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/tlc2/7-10-1.ltx
@@ -0,0 +1,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}