[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: |
Sun, 4 Sep 2022 10:11:04 +0100 |
On Sat, Sep 03, 2022 at 09:53:33PM +0100, Gavin Smith wrote:
> > OK, I thought that @var was always using a slanted typewriter font.
> > But then, this yields another inconsistency!
>
> This is not the case. In fact, @var has always used a slanted non-typewriter
> font when not in a typewriter context, e.g. inside regular paragraph text.
> In the future we plan to change @var to have this style everywhere.
>
> You can get this early by specifying
>
> @clear txicodevaristt
>
> in your document. This will give consistency between @deffn and
> @deftypefn.
I appreciate the changes broke consistency for @var between @deffn and
@deftypefn.
What I've done is use the ttsl font for @var in @def lines if txicodevaristt
is @set (currently the default, in the future to be turned off).
This means if documents use the two types of @def* command together with
@var, the font style for @var with be the same for both.