Debian Codegraph @

texmf-dist/tex/plain/varisize/20point.tex

raw
1 %%% This file is public domain.
2 %%% Originally written 1992, Don Hosek.
3 %%% This declaration added by Clea F. Rees 2008/11/16 with the permission of Dan Hosek.
4 %%%
5 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6 % This file sets up a twenty point environment for TeX. It can be initialized
7 % with the '\twentypoint' macro.
8 % It also sets up a '\tenpoint' macro in case you want to go back down.
9 % By Don Hosek (modified to 20 point by J. Leon)
10 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
11
12 \ifx\tenpoint\undefined\let\loadedfrommacro=Y
13 \input 10point
14 \let\loadedfrommacro=N\fi
15
16 \ifx\fourteenpoint\undefined
17 \input 14point
18 \fi
19
20 %%%
21 %%% Load in the fonts
22 %%%
23 \font\twentyrm=cmr17 scaled \magstep1
24 \font\twentyi=cmmi12 scaled \magstep3
25 \font\twentysy=cmsy10 scaled \magstep4
26 \font\twentyex=cmex10 scaled \magstep4
27 \font\twentybf=cmbx12 scaled \magstep3
28 \font\twentysl=cmsl12 scaled \magstep3
29 \font\twentytt=cmtt12 scaled \magstep3
30 \font\twentyit=cmti12 scaled \magstep3
31 \font\twentycsc=cmcsc10 scaled \magstep4
32
33 %%%
34 %%% Set up the twentypoint macros
35 %%%
36 \ifx\twentypoint\undefined
37 \def\twentypoint{\def\rm{\fam0\twentyrm}% switch to 20-point type
38 \textfont0=\twentyrm \scriptfont0=\fourteenrm \scriptscriptfont0=\tenrm
39 \textfont1=\twentyi \scriptfont1=\fourteeni \scriptscriptfont1=\teni
40 \textfont2=\twentysy \scriptfont2=\fourteensy \scriptscriptfont2=\tensy
41 \textfont3=\twentyex \scriptfont3=\twentyex
42 \scriptscriptfont3=\twentyex
43 \textfont\itfam=\twentyit \def\it{\fam\itfam\twentyit}%
44 \textfont\slfam=\twentysl \def\sl{\fam\slfam\twentysl}%
45 \textfont\ttfam=\twentytt \def\tt{\fam\ttfam\twentytt}%
46 \textfont\bffam=\twentybf \scriptfont\bffam=\fourteenbf
47 \scriptscriptfont\bffam=\tenbf \def\bf{\fam\bffam\twentybf}%
48 \textfont\scfam=\twentycsc \def\sc{\fam\scfam\twentycsc}%
49 \normalbaselineskip=25pt
50 \setbox\strutbox=\hbox{\vrule height20pt depth5pt width0pt}%
51 \normalbaselines\rm}
52 \fi