Debian Codegraph @

texmf-dist/tex/plain/varisize/12point.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 twelve point environment for TeX. It can be initialized
7 % with the '\twelvepoint' macro.
8 % It also sets up a '\tenpoint' macro in case you want to go back down.
9 % By Don Hosek
10 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
11
12 \ifx\tenpoint\undefined\let\loadedfrommacro=Y
13 \input 10point
14 \let\loadedfrommacro=N\fi
15
16 %%%
17 %%% Load in the fonts
18 %%%
19 \font\twelverm=cmr12
20 \font\twelvei=cmmi12
21 \font\twelvesy=cmsy10 scaled \magstep1
22 \font\twelveex=cmex10 scaled \magstep1
23 \font\twelvebf=cmbx12
24 \font\twelvesl=cmsl12
25 \font\twelvett=cmtt12
26 \font\twelveit=cmti12
27 \font\twelvecsc=cmcsc10 scaled \magstep1
28
29 \font\ninerm=cmr9 \font\sevenrm=cmr7
30 \font\ninei=cmmi9 \font\seveni=cmmi7
31 \font\ninesy=cmsy9 \font\sevensy=cmsy7
32 \font\ninebf=cmbx9 \font\sevenbf=cmbx7
33
34 %%%
35 %%% Set up the twelvepoint macros
36 %%%
37 \ifx\twelvepoint\undefined
38 \def\twelvepoint{\def\rm{\fam0\twelverm}% switch to 11-point type
39 \textfont0=\twelverm \scriptfont0=\ninerm \scriptscriptfont0=\sevenrm
40 \textfont1=\twelvei \scriptfont1=\ninei \scriptscriptfont1=\seveni
41 \textfont2=\twelvesy \scriptfont2=\ninesy \scriptscriptfont2=\sevensy
42 \textfont3=\twelveex \scriptfont3=\twelveex\scriptscriptfont3=\twelveex
43 \textfont\itfam=\twelveit \def\it{\fam\itfam\twelveit}%
44 \textfont\slfam=\twelvesl \def\sl{\fam\slfam\twelvesl}%
45 \textfont\ttfam=\twelvett \def\tt{\fam\ttfam\twelvett}%
46 \textfont\bffam=\twelvebf \scriptfont\bffam=\ninebf
47 \scriptscriptfont\bffam=\sevenbf \def\bf{\fam\bffam\twelvebf}%
48 \textfont\scfam=\twelvecsc \def\sc{\fam\scfam\twelvecsc}%
49 \normalbaselineskip=14pt
50 \setbox\strutbox=\hbox{\vrule height9.5pt depth4.5pt width0pt}%
51 \normalbaselines\rm}
52 \fi