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: Patrice Dumas
Subject: Re: wrong font shape for `@var` in `@example`
Date: Sun, 21 Aug 2022 15:35:53 +0200

On Sun, Aug 21, 2022 at 11:24:56AM +0000, Werner LEMBERG wrote:
> 
> > Another option is to change your document to use @t{@slanted{...},
> > which produces the slanted typewriter font.
> 
> 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

-- 
Pat



reply via email to

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