| 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 ten point sans-serif environment for TeX. It can be |
| 7 |
% initialized with the '\tenpointss' macro. |
| 8 |
% It also sets up a '\tenpoint' macro in case you want to get serifs back. |
| 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\tenss=cmss10 \font\eightss=cmss8 |
| 19 |
\font\tenssbf=cmssbx10 |
| 20 |
\font\tensssl=cmssi10 \font\eightsl=cmssi8 |
| 21 |
|
| 22 |
%%% The following fonts are loaded in to make super- and sub- scripts uniform |
| 23 |
%%% in all fonts. |
| 24 |
\font\eighti=cmti8 |
| 25 |
\font\eightsy=cmsy8 |
| 26 |
|
| 27 |
%%% |
| 28 |
%%% Set up the tenpointss macros |
| 29 |
%%% |
| 30 |
\ifx\tenpointss\undefined |
| 31 |
\def\tenpointss{\def\rm{\fam0\tenss}% switch to 10-point ss type |
| 32 |
\textfont0=\tenss \scriptfont0=\eightss \scriptscriptfont0=\eightss |
| 33 |
\textfont1=\teni \scriptfont1=\eighti \scriptscriptfont1=\eighti |
| 34 |
\textfont2=\tensy \scriptfont2=\eightsy \scriptscriptfont2=\eightsy |
| 35 |
\textfont3=\tenex \scriptfont3=\tenex \scriptscriptfont3=\tenex |
| 36 |
\textfont\itfam=\tensssl \def\it{\fam\itfam\tensssl}% |
| 37 |
\textfont\slfam=\tensssl \def\sl{\fam\slfam\tensssl}% |
| 38 |
\textfont\ttfam=\tentt \def\tt{\fam\ttfam\tentt}% |
| 39 |
\textfont\bffam=\tenssbf \scriptfont\bffam=\eightss |
| 40 |
\scriptscriptfont\bffam=\eightss \def\bf{\fam\bffam\tenssbf}% |
| 41 |
\textfont\scfam=\tencsc \def\sc{\fam\scfam\tencsc}% |
| 42 |
\normalbaselineskip=12pt |
| 43 |
\setbox\strutbox=\hbox{\vrule height10pt depth2pt width0pt}% |
| 44 |
\normalbaselines\rm} |
| 45 |
\fi |