Debian Codegraph @

texmf-dist/tex/plain/varisize/8point.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 an eight point environment for TeX. It can be initialized
7 % with the '\eightpoint' macro.
8 % It also sets up a '\tenpoint' macro in case you want to go back down.
9 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
10
11 \ifx\tenpoint\undefined\let\loadedfrommacro=Y
12 \input 10point
13 \let\loadedfrommacro=N\fi
14
15 %%%
16 %%% Load in the fonts
17 %%%
18 \font\eightrm=cmr8 \font\sixrm=cmr6
19 \font\eighti=cmmi8 \font\sixi=cmmi6
20 \font\eightsy=cmsy8 \font\sixsy=cmsy6
21 \font\eightbf=cmbx8 \font\sixbf=cmbx6
22 \font\eightsl=cmsl8 \font\eighttt=cmtt8 \font\eightit=cmti8
23 %%%
24 %%% Set up the eightpoint macros
25 %%%
26 \ifx\eightpoint\undefined
27 \def\eightpoint{\def\rm{\fam0\eightrm} %switch to a 8-point type
28 \textfont0=\eightrm \scriptfont0=\sixrm \scriptscriptfont0=\fiverm
29 \textfont1=\eighti \scriptfont1=\sixi \scriptscriptfont1=\fivei
30 \textfont2=\eightsy \scriptfont2=\sixsy \scriptscriptfont2=\fivesy
31 \textfont3=\tenex \scriptfont3=\tenex \scriptscriptfont3=\tenex
32 \textfont\itfam=\eightit \def\it{\fam\itfam\eightit}%
33 \textfont\slfam=\eightsl \def\sl{\fam\slfam\eightsl}%
34 \textfont\ttfam=\eighttt \def\tt{\fam\ttfam\eighttt}%
35 \textfont\bffam=\eightbf \scriptfont\bffam=\sixbf
36 \scriptscriptfont\bffam=\fivebf \def\bf{\fam\bffam\eightbf}%
37 \normalbaselineskip=10pt
38 \setbox\strutbox=\hbox{\vrule height7.5pt depth2.5pt width0pt}%
39 \normalbaselines\rm}
40 \fi