File: test2.tex

package info (click to toggle)
tetex-src 3.0.dfsg.2-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 122,292 kB
  • ctags: 2,709
  • sloc: makefile: 2,323; perl: 1,820; sh: 1,378; lisp: 448; python: 335; xml: 175; sed: 138; ansic: 138; yacc: 52
file content (39 lines) | stat: -rw-r--r-- 954 bytes parent folder | download | duplicates (11)
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
\documentclass[11pt]{article}

\renewcommand{\rmdefault}{ppl}
\renewcommand{\bfdefault}{b}
\linespread{1.05}

\usepackage[T1]{fontenc}
\usepackage{textcomp}

\begin{document}
\frenchspacing
\title{PSNFSS:\\ Palatino, Bookman, \\ NewCenturySchoolbook, AvantGarde}
\author{Sebastian Rahtz \and Walter Schmidt}
\date{2003-09-30}
\maketitle
\def\Try#1#2{%
{\fontfamily{#1}\selectfont
This is typeset in #2 (#1): 
\begin{quote}
\raggedright
A regular f\'ee  costs 123\,\texteuro.\\
\textit{An italic f\'ee costs 123\,\texteuro.}\\
\textsl{A slanted f\'ee costs 123\,\texteuro.}\\
\textsc{A SmallCaps f\'ee.}\\
{\bfseries A bold f\'ee costs 123\,\texteuro.\\
 \textit{A bold italic f\'ee costs 123\,\texteuro.}\\
 \textsl{A bold slanted f\'ee costs 123\,\texteuro.}\\
 \textsc{A bold SmallCaps f\'ee.}\\
}
\end{quote}
\par
}}

\Try{ppl}{Adobe Palatino}
\Try{pbk}{Adobe Bookman}
\Try{pnc}{Adobe NewCenturySchoolbook}
\Try{pag}{Adobe AvantGarde}

\end{document}