Debian Codegraph @

texmf-dist/doc/latex/psnfss/test/test2.tex

raw
1 \documentclass[11pt]{article}
2
3 \renewcommand{\rmdefault}{ppl}
4 \renewcommand{\bfdefault}{b}
5 \linespread{1.05}
6
7 \usepackage[T1]{fontenc}
8 \usepackage{textcomp}
9
10 \begin{document}
11 \frenchspacing
12 \title{PSNFSS:\\ Palatino, Bookman, \\ NewCenturySchoolbook, AvantGarde}
13 \author{Sebastian Rahtz \and Walter Schmidt}
14 \date{2003-09-30}
15 \maketitle
16 \def\Try#1#2{%
17 {\fontfamily{#1}\selectfont
18 This is typeset in #2 (#1):
19 \begin{quote}
20 \raggedright
21 A regular f\'ee costs 123\,\texteuro.\\
22 \textit{An italic f\'ee costs 123\,\texteuro.}\\
23 \textsl{A slanted f\'ee costs 123\,\texteuro.}\\
24 \textsc{A SmallCaps f\'ee.}\\
25 {\bfseries A bold f\'ee costs 123\,\texteuro.\\
26 \textit{A bold italic f\'ee costs 123\,\texteuro.}\\
27 \textsl{A bold slanted f\'ee costs 123\,\texteuro.}\\
28 \textsc{A bold SmallCaps f\'ee.}\\
29 }
30 \end{quote}
31 \par
32 }}
33
34 \Try{ppl}{Adobe Palatino}
35 \Try{pbk}{Adobe Bookman}
36 \Try{pnc}{Adobe NewCenturySchoolbook}
37 \Try{pag}{Adobe AvantGarde}
38
39 \end{document}