bug-texinfo
[Top][All Lists]
Advanced

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

Re: wrong font shape for `@var` in `@example`


From: Werner LEMBERG
Subject: Re: wrong font shape for `@var` in `@example`
Date: Sun, 21 Aug 2022 14:26:38 +0000 (UTC)

>> Two meta-ness levels meet in things like
>> 
>> ```
>> Add command line option @code{--jobs @var{n}}, where @var{n} ...
>> ```
> 
> Here @var{n} outputs in two different font styles.

Yes, and I think this is correct.  Talking about a variable has a
different metaness in comparison to a variable embedded in stuff to be
entered as a command.

> I can see that the typewriter style here groups the --jobs n text
> together.  Another way would be to use quotes, like
> 
>   Add command line option @samp{--jobs @var{n}}, where @var{n} ...
> 
> where @samp would produce single quotes around the option.

Exactly, this is what I've meant with

   ... if everywhere people would use `@samp` instead of `@code`.


     Werner



reply via email to

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