[Top][All Lists]

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

Re: Double hyphens in variable names.

From: Stepan Kasal
Subject: Re: Double hyphens in variable names.
Date: Sun, 5 Oct 2003 12:36:12 +0200
User-agent: Mutt/


> Richard Stallman <address@hidden> writes:
> > One other alternative is to use a fixed width font but slightly
> > smaller than the roman font now used.  That might use little or no
> > extra space.  It would have a drawback too, in reducing the visibility
> > of the function name, but it still could be better overall than using
> > a fixed width font of the same size.

The current implementation uses bxshape, which is pretty wide.  Replacing
cmbx10 by cmtt10 means getting _narrower_ results in average, I guess.

Observe the following excerpt from a .log file:


> 48.07613pt.  l.1 \setbox0\hbox{\bf megabyte} \showthe\wd0
> 39.3956pt.   l.2 \setbox0\hbox{\bf variable} \showthe\wd0


> 41.99963pt.  l.3 \setbox0\hbox{\tt megabyte} \showthe\wd0
> 41.99963pt.  l.4 \setbox0\hbox{\tt variable} \showthe\wd0

Two more notes:

On Sun, Oct 05, 2003 at 09:53:47AM +0900, Miles Bader wrote:
> Mixing smaller font sizes in this way usually looks quite bad too.

current texinfo.tex contains:
| \setfont\defbf\bxshape{10}{\magstep1} %was 1314
| [...]
| \def\setdeffont#1 {\csname DEF#1\endcsname}
I don't know whether we prefer \defbf or \DEFbf (Karl?).

Have a nice day,
        Stepan Kasal

reply via email to

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