summaryrefslogtreecommitdiff
path: root/macros/latex/required/psnfss/test0.tex
blob: 743f6c6dca691020a8fa3cc7128e06a1cfc7bf7b (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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
\documentclass[11pt]{article}
\usepackage{mathptmx}
\usepackage[scaled=0.92]{helvet}
\usepackage{courier}
\usepackage[T1]{fontenc}
\parskip=2pt\parindent 0pt

\begin{document}
\section{A simple test of PSNFSS2e in new and old encoding}

\subsection{T1 encoding}

\begin{quote}\begin{tabular}{|ll|ll|ll|}\hline
\verb|\rm|   & \rm Roman         & \verb|\itshape|   & \itshape Italic
                                  & \verb|\scshape|   & \scshape Small Caps    \\
\verb|\em|   & \em Emphatic      & \verb|\slshape| & \slshape Slanted
                                  & \verb|\ttfamily|   & \ttfamily Typewriter     \\
\verb|\bfseries|   & \bfseries Boldface      & \verb|\sffamily| & \sffamily Sans Serif & &
\\ \hline
\end{tabular}\end{quote}

\begin{quote}\begin{tabular}{|*{5}{ll|}}\hline
\`{o} & \verb|\`{o}|  & \~{o}  & \verb|\~{o}|  & \v{o}  & \verb|\v{o}| &
\c{o}  & \verb|\c{o}|  & \'{o} & \verb|\'{o}|  \\
\={o} & \verb|\={o}|  & \H{o}  & \verb|\H{o}| & \d{o}  & \verb|\d{o}| &
\^{o}  & \verb|\^{o}|  & \.{o}  & \verb|\.{o}|  \\
\t{oo} & \verb|\t{oo}| & \b{o}  & \verb|\b{o}| & \"{o} & \verb|\"{o}| &
\u{o}  & \verb|\u{o}|  && \\ \hline
\end{tabular}\end{quote}

\begin{quote}\begin{tabular}{|*{4}{ll|}}\hline
\dag       & \verb|\dag|       & \S     & \verb|\S|     &
\copyright & \verb|\copyright|  &\i & \verb|\i|\\
\ddag      & \verb|\ddag|      & \P     & \verb|\P|     &
\pounds    & \verb|\pounds|    & {\j} & \verb|\j|\\
\oe        & \verb|\oe|        & \OE    & \verb|\OE|    &
\ae        & \verb|\ae|       & & \\
\AE        & \verb|\AE|        & \aa    & \verb|\aa|    &
\AA        & \verb|\AA|       && \\
\o         & \verb|\o|         & \O     & \verb|\O|     &
\l         & \verb|\l|        && \\
\L         & \verb|\L|         & \ss    & \verb|\ss|    &
?`         & \verb|?`|        && \\
!`         & \verb|!`|         & \ldots & \verb|\ldots| &
\LaTeX     & \verb|\LaTeX|    && \\
\hline
\end{tabular}\end{quote}
{This costs `\pounds' 45 to do; {\sffamily this costs \pounds 45 to do;
\em this costs \pounds 45 in sans italic to do;}
\scshape this costs ``\pounds'' 45 to do; \em this costs \pounds 45 to do
\bfseries this costs \pounds 45 to do for a f\'ee. And so on.}
The s\=un has got his h\=at in, hip hip hip hooray! !`THE DAZED BROWN
FOX QUICKLY GAVE 12345--67890 JUMPS! --- ?`But aren't Kafka's
Schlo{\ss} and {\AE}sop's {\OE}uvres often na{\"\i}ve vis-\`{a}-vis
the d{\ae}monic ph{\oe}nix's official r\^{o}le in fluffy souffl\'{e}s?

\newpage
\fontencoding{OT1}\renewcommand{\encodingdefault}{OT1}\selectfont

\subsection{OT1 encoding}

Note: do \emph{not} expect the pounds sign to be quite correct --- it
will always be in italic, and will be a dollar in the Helvetica fonts.

\begin{quote}\begin{tabular}{|ll|ll|ll|}\hline
\verb|\rm|   & \rm Roman         & \verb|\itshape|   & \itshape Italic
                                  & \verb|\scshape|   & \scshape Small Caps    \\
\verb|\em|   & \em Emphatic      & \verb|\slshape| & \slshape Slanted
                                  & \verb|\ttfamily|   & \ttfamily Typewriter     \\
\verb|\bfseries|   & \bfseries Boldface      & \verb|\sffamily| & \sffamily Sans Serif & &
\\ \hline
\end{tabular}\end{quote}

\begin{quote}\begin{tabular}{|*{5}{ll|}}\hline
\`{o} & \verb|\`{o}|  & \~{o}  & \verb|\~{o}|  & \v{o}  & \verb|\v{o}| &
\c{o}  & \verb|\c{o}|  & \'{o} & \verb|\'{o}|  \\
\={o} & \verb|\={o}|  & \H{o}  & \verb|\H{o}| & \d{o}  & \verb|\d{o}| &
\^{o}  & \verb|\^{o}|  & \.{o}  & \verb|\.{o}|  \\
\t{oo} & \verb|\t{oo}| & \b{o}  & \verb|\b{o}| & \"{o} & \verb|\"{o}| &
\u{o}  & \verb|\u{o}|  && \\ \hline
\end{tabular}\end{quote}

\begin{quote}\begin{tabular}{|*{4}{ll|}}\hline
\dag       & \verb|\dag|       & \S     & \verb|\S|     &
\copyright & \verb|\copyright|  &\i & \verb|\i|\\
\ddag      & \verb|\ddag|      & \P     & \verb|\P|     &
\pounds    & \verb|\pounds|    & {\j} & \verb|\j|\\
\oe        & \verb|\oe|        & \OE    & \verb|\OE|    &
\ae        & \verb|\ae|       & & \\
\AE        & \verb|\AE|        & \aa    & \verb|\aa|    &
\AA        & \verb|\AA|       && \\
\o         & \verb|\o|         & \O     & \verb|\O|     &
\l         & \verb|\l|        && \\
\L         & \verb|\L|         & \ss    & \verb|\ss|    &
?`         & \verb|?`|        && \\
!`         & \verb|!`|         & \ldots & \verb|\ldots| &
\LaTeX     & \verb|\LaTeX|    && \\
\hline
\end{tabular}\end{quote}
{This costs `\pounds' 45 to do; {\sffamily this costs \pounds 45 to do;
\em this costs \pounds 45 in sans italic to do;} 
\scshape this costs ``\pounds'' 45 to do; \em this costs \pounds 45 to do
\bfseries this costs \pounds 45 to do for a f\'ee. And so on.}
{\itshape Let's try USD in italic, too: \$ 45.}
The s\=un has got his h\=at in, hip hip hip hooray! !`THE DAZED BROWN
FOX QUICKLY GAVE 12345--67890 JUMPS! --- ?`But aren't Kafka's
Schlo{\ss} and {\AE}sop's {\OE}uvres often na{\"\i}ve vis-\`{a}-vis
the d{\ae}monic ph{\oe}nix's official r\^{o}le in fluffy souffl\'{e}s?

\section{Math alphabets used with Times}
\begin{quote}\begin{tabular}{|ll|}
\hline
$1, 2, 3, \sin, \log $    & \verb|$1, 2, 3, \sin, \log $|    \\
$c, v, f, \beta, \Gamma $ & \verb|$c, v, f, \beta, \Gamma $| \\
$\mathcal{A B C F} $   & \verb|$\mathcal{A, B, C, F} $|\\
\hline
\end{tabular}\end{quote}
\end{document}