[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: @macro to accept hyphen
From: |
Christopher Dimech |
Subject: |
Re: @macro to accept hyphen |
Date: |
Sun, 8 Nov 2020 10:56:46 +0100 |
Have not seen a mathematical expression in the manual. Thusly I have provided
you with one. Works perfectly, no problem with it.
You have this sentence in the macro.
To get a single ‘\’ in the macro expansion, use ‘\\’
Although the information is there, it is very cryptic. If we include an
indented
example with a real math expression, users will be immediately drawn to it.
> Sent: Sunday, November 08, 2020 at 10:02 AM
> From: "Gavin Smith" <gavinsmith0123@gmail.com>
> To: "Christopher Dimech" <dimech@gmx.com>
> Cc: "help-texinfo gnu" <help-texinfo@gnu.org>
> Subject: Re: @macro to accept hyphen
>
> On Sun, Nov 08, 2020 at 01:15:06AM +0100, Christopher Dimech wrote:
> > Did not know about the doubling \\. How is that?
>
> It's explained in the manual.
>
> > Could you include an example
> > of a macro with Mathematical expression? Have written an example for you.
> >
> >
> > @macro Mtk
> > @tex
> > In spherical coordinates, the Laplacian Operator is $\\nabla^2 \\phi(r)$.
> > $$\\nabla^2 \\phi(r) =
> > {1 \\over r^2} {\\partial \\over \\partial r}
> > \\bigg\\lbrack r^2 {\\partial \\phi \\over \\partial r}\\bigg\\rbrack$$
> > @end tex
> > @end macro
> >
> > @Mtk
>
> Your example works perfectly; what is the problem with it?
>
- @macro to accept hyphen, Christopher Dimech, 2020/11/07
- Re: @macro to accept hyphen, Gavin Smith, 2020/11/07
- Re: @macro to accept hyphen, Christopher Dimech, 2020/11/07
- Re: @macro to accept hyphen, Gavin Smith, 2020/11/07
- Re: @macro to accept hyphen, Christopher Dimech, 2020/11/07
- Re: @macro to accept hyphen, Gavin Smith, 2020/11/08
- Re: @macro to accept hyphen,
Christopher Dimech <=
- Re: @macro to accept hyphen, Gavin Smith, 2020/11/09
- Re: @macro to accept hyphen, Patrice Dumas, 2020/11/09
- Re: @macro to accept hyphen, Christopher Dimech, 2020/11/09
- @bnumpaper , @cnumpaper, Christopher Dimech, 2020/11/08
- Re: @bnumpaper , @cnumpaper, Gavin Smith, 2020/11/08
- Re: @bnumpaper , @cnumpaper, Christopher Dimech, 2020/11/08