[net.emacs] alternate fonts for manual.

sjl@ukc.UUCP (S.J.Leviseur) (08/29/85)

This is the result of my experience at printing the emacs
document. This is the largest thing I have ever used TeX
on, and certainly the most complicated! Part of this may
be suspect (the ^F and magstep mods), but it generates
the whole manual. The result is certainly worth the effort,
it is on of the nicest manuals I have seen in a long time.
If you intend to modify the macros or fonts it helps to
have a tame TeX guru around. Enough of the disclaimers:-)

The first thing is to use the AM rather than the CM fonts.
We haven't got the CM fonts, so the descriptions from the
TeXbook were used to help match up the fonts.

The next change was to use magsteps rather than scaling to
a true point size. This is because we have the fonts for
magsteps rather than exact point size, this makes little
difference to the final appearance. The exception to this
is the titlerm font which is ambx10 scaled magstep 4, about
21 point, which is smaller than the original. This is not
really correct, but we haven't got an appropriate font for
this size. I cannot use a bigger font since our controller
for the laser printer hasn't got enough store to hold the
next font up!

Finally for those whose version of TeX explodes when it
reads a control character (ours!) this will get you by.
You must also remove the two ^F characters from emacs.tex.
I AM NOT SURE OF THE EFFECT OF THIS CHANGE, i don't think
there is any if the ^F is removed from emacs.tex. This
seems to just be a switch.

--------------------------------------------------------

About line 380 in botex.tex

% Font-change commands.
\font\btwelve=ambx10 scaled \magstep1
%% Try out Computer Modern fonts at a little bigger than \magstephalf
\font\tenrm=amr10 scaled \magstephalf
\font\tentt=amtt10 scaled \magstephalf
\font\tenbf=amb10 scaled \magstephalf
\font\tenit=amti10 scaled \magstephalf
\font\tensl=amsl10 scaled \magstephalf
% \font\tensf=amss10 scaled \magstephalf
\font\tensf=amss10 scaled \magstephalf
\def\li{\sf}
\font\tensc=amcsc10 scaled \magstephalf

\font\defbf=ambx7 scaled \magstep2
\let\deftt=\tentt
\font\twelvesf=amss10 scaled \magstep2

% Font for title
% This used to be a lot bigger, but our laser printer
% controller dies if I use HUGE fonts.
\font\titlerm = ambx10 scaled \magstep4

% Fonts for indices
\font\indit=ammi9 \font\indrm=amr9
\def\indbf{\indrm} \def\indsl{\indit}
\def\indexfonts{\let\it=\indit \let\sl=\indsl \let\bf=\indbf \let\rm=\indrm}

\font\secrm=ambx10 scaled \magstep2
\font\secit=amti10 scaled \magstep2
\font\secsl=amsl10 scaled \magstep2
\let\secbf=\secrm

\font\chaprm=ambx10 scaled \magstep3
\font\chapit=amti10 scaled \magstep3
\let\chapbf=\chaprm

\font\ssecrm=amb10 scaled \magstep1
\font\ssecit=amti10 scaled \magstep1
\font\ssecsl=amsl10 scaled \magstep1
\let\ssecbf=\ssecrm

--------------------------------------------------------

About line 430, well its the bit with the ^F in it!!

\def\fontspec #1{\endgroup
\if #1*\fontpop \global\advance\fontdepth by -1 \else
\global\advance\fontdepth by 1 %
\begingroup\let\fontpop=\endgroup\fontselect#1\fi}
--------------------------------------------------------
Newsgroups: net.emacs
Subject: alternate fonts for manual.
Expires: 
References: 
Sender: 
Reply-To: sjl@ukc.UUCP ()
Followup-To: 
Distribution: 
Organization: U of Kent at Canterbury, Canterbury, UK
Keywords: 

This is the result of my experience at printing the emacs
document. It is the largest thing I have ever used TeX on,
and certainly the most complicated! Part of this may be
suspect (the ^F and magstep changes), but it generates the
whole manual. The result is certainly worth the effort. If
you intend to modify the macros or fonts it helps to have
a tame TeX guru around.

The first thing is to use the AM rather than the CM fonts.
We haven't got the CM fonts, so the descriptions from the
TeXbook were used to help match up the fonts.

The next change was to use magsteps rather than scaling to
a true point size. This is because we have the fonts for
magsteps rather than exact point size, this makes little
difference to the final appearance. The exception to this
is the titlerm font which is ambx10 scaled magstep 4, about
21 point, the original was 28 point. This is not really
correct, but we haven't got an appropriate font for this
size. I cannot use a bigger font since our controller for
the laser printer hasn't got enough store to hold the next
font up!

Finally for those whose version of TeX explodes when it
reads a control character (ours!) this will get you by.
You must also remove the two ^F characters from emacs.tex.
I AM NOT SURE OF THE EFFECT OF THIS CHANGE, i don't think
there is any if the ^F is removed from emacs.tex. This
seems to just be a switch.

	sean

	sjl@ukc.uucp
	sjl%ukc@ucl-cs.arpa


--------------------------------------------------------
About line 380 in botex.tex
Font and scaling changes.
--------------------------------------------------------

% Font-change commands.
\font\btwelve=ambx10 scaled \magstep1
%% Try out Computer Modern fonts at a little bigger than \magstephalf
\font\tenrm=amr10 scaled \magstephalf
\font\tentt=amtt10 scaled \magstephalf
\font\tenbf=amb10 scaled \magstephalf
\font\tenit=amti10 scaled \magstephalf
\font\tensl=amsl10 scaled \magstephalf
% \font\tensf=amss10 scaled \magstephalf
\font\tensf=amss10 scaled \magstephalf
\def\li{\sf}
\font\tensc=amcsc10 scaled \magstephalf

\font\defbf=ambx7 scaled \magstep2
\let\deftt=\tentt
\font\twelvesf=amss10 scaled \magstep2

% Font for title
% This used to be a lot bigger, but our laser printer
% controller dies if I use HUGE fonts.
\font\titlerm = ambx10 scaled \magstep4

% Fonts for indices
\font\indit=ammi9 \font\indrm=amr9
\def\indbf{\indrm} \def\indsl{\indit}
\def\indexfonts{\let\it=\indit \let\sl=\indsl \let\bf=\indbf \let\rm=\indrm}

\font\secrm=ambx10 scaled \magstep2
\font\secit=amti10 scaled \magstep2
\font\secsl=amsl10 scaled \magstep2
\let\secbf=\secrm

\font\chaprm=ambx10 scaled \magstep3
\font\chapit=amti10 scaled \magstep3
\let\chapbf=\chaprm

\font\ssecrm=amb10 scaled \magstep1
\font\ssecit=amti10 scaled \magstep1
\font\ssecsl=amsl10 scaled \magstep1
\let\ssecbf=\ssecrm

--------------------------------------------------------
About line 430, well its the bit with the ^F in it!!
Changes to get rid of ^F.
--------------------------------------------------------

\def\fontspec #1{\endgroup
\if #1*\fontpop \global\advance\fontdepth by -1 \else
\global\advance\fontdepth by 1 %
\begingroup\let\fontpop=\endgroup\fontselect#1\fi}
--------------------------------------------------------