help-texinfo
[Top][All Lists]
Advanced

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

Re: @macro to accept hyphen


From: Gavin Smith
Subject: Re: @macro to accept hyphen
Date: Sat, 7 Nov 2020 22:47:26 +0000
User-agent: Mutt/1.9.4 (2018-02-28)

On Sat, Nov 07, 2020 at 11:29:54PM +0100, Christopher Dimech wrote:
> 
> I have seen that mathematical expressions are not displayed
> when called within a macro.
> 
> @macro Regu
> @tex
> \alpha
> @end tex
> @end macro
> 
> @Regu
> 
> @tex
> \beta
> @end tex

\alpha and \beta need to be in math mode, and the macro works OK if
you double the backslash.


@macro Regu
@tex
$\\alpha$
@end tex
@end macro

@Regu

@tex
$\beta$
@end tex




reply via email to

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