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 15:02:56 +0000 (UTC)

>> Honestly, I don't like that – what I want *does* transport
>> metaness!  Using `@t` would demote this to a 'fancy font change to
>> make the author happy', which is not true.
> 
> You want meta-mess and also formatting as code.  So, you could
> define a @macro for that, like
> 
> @macro codevar {argument}
> @r{@t{@slanted{\argument\}}}
> @end macro

Exactly.  However, using a Texinfo configuration as suggested in
another e-mail would be a much friendlier solution for than that,
which could even be issued using `texi2pdf`'s `--command` option or
using a `texinfo.cnf` file.


    Werner

reply via email to

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