help-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [help-texinfo] changing font size in hardcopy


From: Matthias Czapla
Subject: Re: [help-texinfo] changing font size in hardcopy
Date: Sat, 19 Mar 2005 16:29:58 +0100
User-agent: Mutt/1.5.6+20040907i

On Fri, Mar 18, 2005 at 04:48:54PM -0500, Karl Berry wrote:
> Matthias, I'm not sure why it had such a drastic effect on the layout,
> unless it's all related to the different \hsize, which doesn't entirely
> make sense to me.  Anyway, it seems the answer is, "no easy way to get
> bigger fonts".  Sorry.

No problem.  I knew very well that Texinfo wouldn't give me fine grained
control over the layout.  I've chosen it for other reasons.  Btw,
actually I want smaller fonts.  But it's not that important, would just
be nice.

> P.S. The non-easy way is to change this code in texinfo.tex.  E.g.,
> change and 11pt to 12pt (doesn't really matter), and \magstephalf to
> \magstep1.  There are better methods, but none I can give a recipe for
> off the top of my head.
> 
> % Text fonts (11.2pt, magstep1).
> \def\textnominalsize{11pt}
> \edef\mainmagstep{\magstephalf}
> [...]

Seems like I have an older version of texinfo.tex where this section looks
like this:

% Text fonts (11.2pt, magstep1).
\newcount\mainmagstep
\ifx\bigger\relax
  % not really supported.
  \mainmagstep=\magstep1
  \setfont\textrm\rmshape{12}{1000}
  \setfont\texttt\ttshape{12}{1000}
\else
  \mainmagstep=\magstephalf
  \setfont\textrm\rmshape{10}{\mainmagstep}
  \setfont\texttt\ttshape{10}{\mainmagstep}
\fi
\setfont\textbf\bfshape{10}{\mainmagstep}
\setfont\textit\itshape{10}{\mainmagstep}
\setfont\textsl\slshape{10}{\mainmagstep}
\setfont\textsf\sfshape{10}{\mainmagstep}
\setfont\textsc\scshape{10}{\mainmagstep}
\setfont\textttsl\ttslshape{10}{\mainmagstep}
\font\texti=cmmi10 scaled \mainmagstep
\font\textsy=cmsy10 scaled \mainmagstep

And using the latest texinfo.tex from the Texinfo homepage results in lots
of overfull hboxes and TeX waiting for me to type some commands.

Regards
Matthias




reply via email to

[Prev in Thread] Current Thread [Next in Thread]