| 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 seven point environment for TeX. It can be initialized |
| 7 |
% with the '\sevenpoint' 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 |
|
| 19 |
\font\sevenit=cmti7 |
| 20 |
% |
| 21 |
% When reduced size fonts are available, they will be loaded here. |
| 22 |
% Instead, at present, necessary fonts are simulated using existing ones. |
| 23 |
% |
| 24 |
\let\sevensl=\sevenit \let\seventt=\sevenrm |
| 25 |
|
| 26 |
\let\fourrm=\fiverm \let\fouri=\fivei \let\foursy=\fivesy |
| 27 |
\let\fourbf=\fivebf |
| 28 |
|
| 29 |
%%% |
| 30 |
%%% Set up the sevenpoint macros |
| 31 |
%%% |
| 32 |
\ifx\sevenpoint\undefined |
| 33 |
\def\sevenpoint{\def\rm{\fam0\sevenrm} %switch to a 7-point type |
| 34 |
\textfont0=\sevenrm \scriptfont0=\fiverm \scriptscriptfont0=\fourrm |
| 35 |
\textfont1=\seveni \scriptfont1=\fivei \scriptscriptfont1=\fouri |
| 36 |
\textfont2=\sevensy \scriptfont2=\fivesy \scriptscriptfont2=\foursy |
| 37 |
\textfont3=\tenex \scriptfont3=\tenex \scriptscriptfont3=\tenex |
| 38 |
\textfont\itfam=\sevenit \def\it{\fam\itfam\sevenit}% |
| 39 |
\textfont\slfam=\sevensl \def\sl{\fam\slfam\sevensl}% |
| 40 |
\textfont\ttfam=\seventt \def\tt{\fam\ttfam\seventt}% |
| 41 |
\textfont\bffam=\sevenbf \scriptfont\bffam=\fivebf |
| 42 |
\scriptscriptfont\bffam=\fourbf \def\bf{\fam\bffam\sevenbf}% |
| 43 |
\normalbaselineskip=10pt |
| 44 |
\setbox\strutbox=\hbox{\vrule height7.5pt depth2.5pt width0pt}% |
| 45 |
\normalbaselines\rm} |
| 46 |
\fi |