| 1 |
\documentclass[11pt]{article} |
| 2 |
\usepackage{mathptmx} |
| 3 |
\usepackage[scaled=0.92]{helvet} |
| 4 |
\usepackage{courier} |
| 5 |
\usepackage[T1]{fontenc} |
| 6 |
\parskip=2pt\parindent 0pt |
| 7 |
|
| 8 |
\begin{document} |
| 9 |
\section{A simple test of PSNFSS2e in new and old encoding} |
| 10 |
|
| 11 |
\subsection{T1 encoding} |
| 12 |
|
| 13 |
\begin{quote}\begin{tabular}{|ll|ll|ll|}\hline |
| 14 |
\verb|\rm| & \rm Roman & \verb|\itshape| & \itshape Italic |
| 15 |
& \verb|\scshape| & \scshape Small Caps \\ |
| 16 |
\verb|\em| & \em Emphatic & \verb|\slshape| & \slshape Slanted |
| 17 |
& \verb|\ttfamily| & \ttfamily Typewriter \\ |
| 18 |
\verb|\bfseries| & \bfseries Boldface & \verb|\sffamily| & \sffamily Sans Serif & & |
| 19 |
\\ \hline |
| 20 |
\end{tabular}\end{quote} |
| 21 |
|
| 22 |
\begin{quote}\begin{tabular}{|*{5}{ll|}}\hline |
| 23 |
\`{o} & \verb|\`{o}| & \~{o} & \verb|\~{o}| & \v{o} & \verb|\v{o}| & |
| 24 |
\c{o} & \verb|\c{o}| & \'{o} & \verb|\'{o}| \\ |
| 25 |
\={o} & \verb|\={o}| & \H{o} & \verb|\H{o}| & \d{o} & \verb|\d{o}| & |
| 26 |
\^{o} & \verb|\^{o}| & \.{o} & \verb|\.{o}| \\ |
| 27 |
\t{oo} & \verb|\t{oo}| & \b{o} & \verb|\b{o}| & \"{o} & \verb|\"{o}| & |
| 28 |
\u{o} & \verb|\u{o}| && \\ \hline |
| 29 |
\end{tabular}\end{quote} |
| 30 |
|
| 31 |
\begin{quote}\begin{tabular}{|*{4}{ll|}}\hline |
| 32 |
\dag & \verb|\dag| & \S & \verb|\S| & |
| 33 |
\copyright & \verb|\copyright| &\i & \verb|\i|\\ |
| 34 |
\ddag & \verb|\ddag| & \P & \verb|\P| & |
| 35 |
\pounds & \verb|\pounds| & {\j} & \verb|\j|\\ |
| 36 |
\oe & \verb|\oe| & \OE & \verb|\OE| & |
| 37 |
\ae & \verb|\ae| & & \\ |
| 38 |
\AE & \verb|\AE| & \aa & \verb|\aa| & |
| 39 |
\AA & \verb|\AA| && \\ |
| 40 |
\o & \verb|\o| & \O & \verb|\O| & |
| 41 |
\l & \verb|\l| && \\ |
| 42 |
\L & \verb|\L| & \ss & \verb|\ss| & |
| 43 |
?` & \verb|?`| && \\ |
| 44 |
!` & \verb|!`| & \ldots & \verb|\ldots| & |
| 45 |
\LaTeX & \verb|\LaTeX| && \\ |
| 46 |
\hline |
| 47 |
\end{tabular}\end{quote} |
| 48 |
{This costs `\pounds' 45 to do; {\sffamily this costs \pounds 45 to do; |
| 49 |
\em this costs \pounds 45 in sans italic to do;} |
| 50 |
\scshape this costs ``\pounds'' 45 to do; \em this costs \pounds 45 to do |
| 51 |
\bfseries this costs \pounds 45 to do for a f\'ee. And so on.} |
| 52 |
The s\=un has got his h\=at in, hip hip hip hooray! !`THE DAZED BROWN |
| 53 |
FOX QUICKLY GAVE 12345--67890 JUMPS! --- ?`But aren't Kafka's |
| 54 |
Schlo{\ss} and {\AE}sop's {\OE}uvres often na{\"\i}ve vis-\`{a}-vis |
| 55 |
the d{\ae}monic ph{\oe}nix's official r\^{o}le in fluffy souffl\'{e}s? |
| 56 |
|
| 57 |
\newpage |
| 58 |
\fontencoding{OT1}\renewcommand{\encodingdefault}{OT1}\selectfont |
| 59 |
|
| 60 |
\subsection{OT1 encoding} |
| 61 |
|
| 62 |
Note: do \emph{not} expect the pounds sign to be quite correct --- it |
| 63 |
will always be in italic, and will be a dollar in the Helvetica fonts. |
| 64 |
|
| 65 |
\begin{quote}\begin{tabular}{|ll|ll|ll|}\hline |
| 66 |
\verb|\rm| & \rm Roman & \verb|\itshape| & \itshape Italic |
| 67 |
& \verb|\scshape| & \scshape Small Caps \\ |
| 68 |
\verb|\em| & \em Emphatic & \verb|\slshape| & \slshape Slanted |
| 69 |
& \verb|\ttfamily| & \ttfamily Typewriter \\ |
| 70 |
\verb|\bfseries| & \bfseries Boldface & \verb|\sffamily| & \sffamily Sans Serif & & |
| 71 |
\\ \hline |
| 72 |
\end{tabular}\end{quote} |
| 73 |
|
| 74 |
\begin{quote}\begin{tabular}{|*{5}{ll|}}\hline |
| 75 |
\`{o} & \verb|\`{o}| & \~{o} & \verb|\~{o}| & \v{o} & \verb|\v{o}| & |
| 76 |
\c{o} & \verb|\c{o}| & \'{o} & \verb|\'{o}| \\ |
| 77 |
\={o} & \verb|\={o}| & \H{o} & \verb|\H{o}| & \d{o} & \verb|\d{o}| & |
| 78 |
\^{o} & \verb|\^{o}| & \.{o} & \verb|\.{o}| \\ |
| 79 |
\t{oo} & \verb|\t{oo}| & \b{o} & \verb|\b{o}| & \"{o} & \verb|\"{o}| & |
| 80 |
\u{o} & \verb|\u{o}| && \\ \hline |
| 81 |
\end{tabular}\end{quote} |
| 82 |
|
| 83 |
\begin{quote}\begin{tabular}{|*{4}{ll|}}\hline |
| 84 |
\dag & \verb|\dag| & \S & \verb|\S| & |
| 85 |
\copyright & \verb|\copyright| &\i & \verb|\i|\\ |
| 86 |
\ddag & \verb|\ddag| & \P & \verb|\P| & |
| 87 |
\pounds & \verb|\pounds| & {\j} & \verb|\j|\\ |
| 88 |
\oe & \verb|\oe| & \OE & \verb|\OE| & |
| 89 |
\ae & \verb|\ae| & & \\ |
| 90 |
\AE & \verb|\AE| & \aa & \verb|\aa| & |
| 91 |
\AA & \verb|\AA| && \\ |
| 92 |
\o & \verb|\o| & \O & \verb|\O| & |
| 93 |
\l & \verb|\l| && \\ |
| 94 |
\L & \verb|\L| & \ss & \verb|\ss| & |
| 95 |
?` & \verb|?`| && \\ |
| 96 |
!` & \verb|!`| & \ldots & \verb|\ldots| & |
| 97 |
\LaTeX & \verb|\LaTeX| && \\ |
| 98 |
\hline |
| 99 |
\end{tabular}\end{quote} |
| 100 |
{This costs `\pounds' 45 to do; {\sffamily this costs \pounds 45 to do; |
| 101 |
\em this costs \pounds 45 in sans italic to do;} |
| 102 |
\scshape this costs ``\pounds'' 45 to do; \em this costs \pounds 45 to do |
| 103 |
\bfseries this costs \pounds 45 to do for a f\'ee. And so on.} |
| 104 |
{\itshape Let's try USD in italic, too: \$ 45.} |
| 105 |
The s\=un has got his h\=at in, hip hip hip hooray! !`THE DAZED BROWN |
| 106 |
FOX QUICKLY GAVE 12345--67890 JUMPS! --- ?`But aren't Kafka's |
| 107 |
Schlo{\ss} and {\AE}sop's {\OE}uvres often na{\"\i}ve vis-\`{a}-vis |
| 108 |
the d{\ae}monic ph{\oe}nix's official r\^{o}le in fluffy souffl\'{e}s? |
| 109 |
|
| 110 |
\section{Math alphabets used with Times} |
| 111 |
\begin{quote}\begin{tabular}{|ll|} |
| 112 |
\hline |
| 113 |
$1, 2, 3, \sin, \log $ & \verb|$1, 2, 3, \sin, \log $| \\ |
| 114 |
$c, v, f, \beta, \Gamma $ & \verb|$c, v, f, \beta, \Gamma $| \\ |
| 115 |
$\mathcal{A B C F} $ & \verb|$\mathcal{A, B, C, F} $|\\ |
| 116 |
\hline |
| 117 |
\end{tabular}\end{quote} |
| 118 |
\end{document} |