summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/plain/mnras/fonttest.tex
blob: c84aa89bc4459078542f25cdbb0a524e8c2e5d8e (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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
% FONTTEST.TEX
%
% Test all the possible font combinations in the MN design
%
% v0.4   --- released 25th August 1994 (M. Reed)
% v0.3   --- released 22nd February 1994
% v0.25  --- released 24th July 1992
% v0.1   --- first released 27th February 1992
%
% Copyright Cambridge University Press

% The following line automatically loads the mn macros if you are not
% using a format file.
\ifx\mnmacrosloaded\undefined \input mn\fi


% If your system has the AMS fonts version 2.0 installed, MN.tex can be
% made to use them by uncommenting the line: %\AMStwofontstrue
%
% By doing this, you will be able to obtain upright Greek characters.
% e.g. \umu, \upi etc.  See the section on "Upright Greek characters" in
% the author guide for further information.

\newif\ifAMStwofonts
%\AMStwofontstrue

\ifCUPmtplainloaded
  \AMStwofontstrue
\else
  \NewTextAlphabet{textbfit} {cmbxti10} {}
  \NewTextAlphabet{textbfss} {cmssbx10} {}
  \NewMathAlphabet{mathbfit} {cmbxti10} {} % for math mode
  \NewMathAlphabet{mathbfss} {cmssbx10} {} %  "   "    "
  %
  \ifAMStwofonts
    \NewSymbolFont{upmath} {eurm10}
    \NewSymbolFont{AMSa} {msam10}
    \NewMathSymbol{\upi}     {0}{upmath}{19}
    \NewMathSymbol{\umu}     {0}{upmath}{16}
    \NewMathSymbol{\upartial}{0}{upmath}{40}
    \NewMathSymbol{\leqslant}{3}{AMSa}{36}
    \NewMathSymbol{\geqslant}{3}{AMSa}{3E}
    \let\oldle=\le     \let\oldleq=\leq
    \let\oldge=\ge     \let\oldgeq=\geq
    \let\leq=\leqslant \let\le=\leqslant
    \let\geq=\geqslant \let\ge=\geqslant
  \fi
  %
\fi

\def\tface{\ifCUPmtplainloaded (Monotype Times)\else (Computer Modern)\fi}

\parindent=0pt

\onecolumn

\pageoffset{-2.5pc}{0pc}

\begintopmatter
\title{A test file showing all of the possible font combinations}

\shortauthor{Monthly Notices font test \tface}
\shorttitle{Monthly Notices font test \tface}
\maketitle

\overfullrule=0pt

\loadboldmathnames

% not available in sub, sub sub and super, super super script:
% \it, \sl, \tt, \sc and \sf (Computer Modern version)

\def\digs{0123456789}
\def\testfont#1{%
   \advance\baselineskip by 5pt
   {\tenrm #1:}\medskip
   {$\rm Roman^{\rm Roman^{\rm Roman}}$}\ \ 
   {$\bf Boldface^{\bf Boldface^{\bf Boldface}}$}\par
%
   \ifCUPmtplainloaded % Times version
     {$\it Italic^{\it Italic^{\it Italic}}$}\ \ 
     {$\sl Slanted^{\sl Slanted^{\sl Slanted}}$}\par
     {$\tt Typewriter^{\tt Typewriter^{\tt Typewriter}}$}\ \ 
     {$\sc Small\ Caps^{\sc Small\ Caps^{\sc Small\ Caps}}$}\par
     {$\sf Sans\ Serif^{\sf Sans\ Serif^{\sf Sans\ Serif}}$}\par
   \else
     {\it Italic}\ \ 
     {\sl Slanted}\ \ 
     {\tt Typewriter}\par
     {\sc Small Caps}\ \ 
     {\sf Sans Serif}\par
   \fi
   %
   {\textbfit{Bold text italic}%
     $^{\mathbfit{Bold\ text\ italic^{\mathbfit{Bold\ text\ italic}}}}$}\par
   {\textbfss{Bold sans-serif}%
     $^{\mathbfss{Bold\ sans-serif}^{\mathbfss{Bold\ sans-serif}}}$}\par
   %
   \ifAMStwofonts
      Upright math, and others $\upi^{\upi^{\upi}}, \umu^{\umu^{\umu}},
      \upartial^{\upartial^{\upartial}}, \le^{\le^{\le}}, \ge^{\ge^{\ge}}$
      \par
   \fi
   %
   {$\cal CALAGRAPHIC^{\cal CALAGRAPHIC^{\cal CALAGRAPHIC}}$}\par
   {$\bmath{\cal BOLD\ CALAGRAPHIC^{\cal BOLD\ CALAGRAPHIC^{\cal BOLD\ CALAGRAPHIC}}}$}\par

   {$Math\ italic^{Math\ italic^{Math\ italic}}$}\par
   {$\bmath{Bold\ math\ italic^{Bold\ math\ italic^{Bold\ math\ italic}}}$}\par

   {${\rm Oldstyle}\ \oldstyle \digs^{\oldstyle \digs^{\oldstyle \digs}}$}\par
   {${\rm Bold\ oldstyle}\ \bmath{\oldstyle \digs^{\oldstyle \digs^{\oldstyle \digs}}}$}\par

   {\rm Math symbols}\ \ 
            $\gamma^{\gamma^{\gamma}}\quad \theta^{\theta^{\theta}}
             \quad \nu^{\nu^{\nu}}\quad \nabla^{\nabla^{\nabla}}$\par
   {\rm Bold math symbols}\ \ 
            $\bgamma^{\bgamma^{\bgamma}}\quad \btheta^{\btheta^{\btheta}}
             \quad \bnu^{\bnu^{\bnu}}\quad \bnabla^{\bnabla^{\bnabla}}$\par
%  $$
%  \bar x_1-\bar x_2-\left (t_{1-{\alpha\over 2}}
%  \ \times \ s\sqrt{{1\over n_1}+{1\over n_2}}\right )\ {\rm to} \ \bar
%  x_1-\bar x_2+\left (t_{1-{\alpha\over 2}}
%  \times s\sqrt{{1\over n_1}+{1\over n_2}}\right )
%  $$
% }%
 Special symbols:
 $\la$\  $\ga$\  $\getsto$\  $\cor$\  $\lid$\  $\gid$\  $\sol$\  $\sog$\ 
 $\lse$\  $\gse$\  $\grole$\  $\leogr$\  $\loa$\  $\goa$\  \sun\  \degr\ 
 \diameter\  $\sq$\  \fd\  \fh\  \fm\  \fs\  \fdg\  \fp\  \farcs\  \farcm\ 
 \arcsec\  \arcmin\  $\bbbr$ $\bbbm$ $\bbbn$ $\bbbf$ $\bbbh$ $\bbbk$
 $\bbbp$ $\bbbone$ $\bbbc$ $\bbbq$ $\bbbt$ $\bbbs$ $\bbbz$\par
 %
 \ifCUPmtplainloaded
   \Half
   \noindent (Monotype Times version only)\par
   \noindent AMS symbol fonts:
     $\boxplus$, $\boxtimes$, $\blacksquare$, $\centerdot$, $\lozenge$,
     $\blacklozenge$, $\yen$, $\checkmark$, $\circledR$, $\maltese$,
     $\nleqq$, $\ngeqq$,
     $\precneqq$, $\succneqq$, $\precnapprox$, $\succnapprox$, $\lnapprox$,
     $\gnapprox$\par
   \noindent Blackboard Bold: $\Bbb{A}\ldots\Bbb{Z}$\par
 \fi
 \Two
}


\eightpoint\testfont{8 point}%

\ninepoint\testfont{9 point}%

\vfil\eject

\tenpoint\testfont{10 point}%

\elevenpoint\testfont{11 point}%

\vfil\eject

\fourteenpoint\testfont{14 point}%

\vfil\eject

\seventeenpoint\testfont{17 point}%

\bye

% end of fonttest.tex