summaryrefslogtreecommitdiff
path: root/dviware/psprint/vms/psfonts.tex
blob: 6df7ba02d414c1deb0df50911ef2ad123bc37e6c (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
% This TeX source file illustrates the use (and abuse) of PostScript fonts.

\input psnames  % defines macros for names of PostScript fonts used by PSPRINT
\input pstext   % defines \PStext and \CMtext

\nopagenumbers
\parindent=0pt
\parskip=\bigskipamount

The following fonts should be available in all PostScript printers:

\font\cour=\Courier at 10pt
\font\courb=\CourierB at 10pt
\font\couro=\CourierO at 10pt
\font\courbo=\CourierBO at 10pt
\font\helv=\Helv at 10pt
\font\helvb=\HelvB at 10pt
\font\helvo=\HelvO at 10pt
\font\helvbo=\HelvBO at 10pt
\font\ts=\TimesS at 10pt
\font\tr=\TimesR at 10pt
\font\tb=\TimesB at 10pt
\font\ti=\TimesI at 10pt
\font\tbi=\TimesBI at 10pt
\font\sy=\Symbol at 10pt

\bigskip
\leftline{\courb Courier-Bold}
\leftline{\courbo Courier-BoldOblique}
\leftline{\couro Courier-Oblique}
\leftline{\cour Courier}
\leftline{\helvb Helvetica-Bold}
\leftline{\helvbo Helvetica-BoldOblique}
\leftline{\helvo Helvetica-Oblique}
\leftline{\helv Helvetica}
\leftline{\tb Times-Bold}
\leftline{\tbi Times-BoldItalic}
\leftline{\ti Times-Italic}
\leftline{\ts Times-Slanted}
\leftline{\tr Times-Roman}
\leftline{\sy Symbol \rm (Symbol)}

A PostScript font can be used at any desired size:

\font\trA=\TimesR at 12pt
\font\trB=\TimesR at 20.5pt
\font\trC=\TimesR at 144pt

\bigskip
\leftline{\trA Times-Roman at 12pt}
\leftline{\trB Times-Roman at 20.5pt}
\leftline{\trC At 144pt}

\def\sometext
{\'o \`o \^o \"o \~o \=o \.o \u o \v o \H o \t oo \c o \d o \b o
\oe\ \OE\ \ae\ \AE\ \aa\ \AA\ \o\ \O\ \l\ \L\ \ss\ \i\ \j}

\rm
Standard \TeX\ accents and foreign letters:
\sometext

PostScript accents and foreign letters:
\PStext
\tr \sometext     % \t, \aa, \AA and \j will generate error messages
\CMtext

\rm
A PostScript font usually appears {\tr darker and larger} than
an ``equivalent'' Computer Modern font.

\bye