bug-texinfo
[Top][All Lists]
Advanced

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

Re: in printed output, @deffn arguments should use a typewriter font lik


From: Gavin Smith
Subject: Re: in printed output, @deffn arguments should use a typewriter font like with @deftypefn
Date: Fri, 2 Sep 2022 17:42:33 +0100

On Fri, Sep 02, 2022 at 05:49:26PM +0200, Vincent Lefevre wrote:
> With texinfo.tex 2022-09-01.06, consider
> 
> @deffn Command name-min arg-min
> @end deffn
> 
> @deffn Command name-min @var{arg-min}
> @end deffn
> 
> In printed output (PDF), name-min is printed in typewriter font
> as expected, but arg-min is printed in slanted font instead of
> slanted typewriter font (whether @var is used or not).

There is nothing new here regarding the font style of the @deffn arguments -
they have always been in slanted variable-width roman style.  When @var is
used this used to switch to slanted typewriter in this context but this
made no sense - there's no reason why the two use cases should have
different formatting.

> I think that this is incorrect, and slanted typewriter font should
> be used, as already done with @deftypefn.

It is not incorrect but a valid stylistic choice that is at least 40 years
old.  When in the past it was changed to slanted typewriter this led
to complaints that the slanted typewriter was not distinctive enough,
so it was changd back.

https://lists.gnu.org/archive/html/bug-texinfo/2003-11/msg00058.html

Which manual this is causing a problem for?




reply via email to

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