[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: spurious space after macro expansion in math mode for TeX output
From: |
Vincent Lefevre |
Subject: |
Re: spurious space after macro expansion in math mode for TeX output |
Date: |
Wed, 9 Nov 2022 14:22:06 +0100 |
User-agent: |
Mutt/2.2.8+49 (040ba998) vl-149028 (2022-11-07) |
On 2022-11-09 14:17:10 +0100, Vincent Lefevre wrote:
> \input texinfo @c -*-texinfo-*-
>
> @tex
> \gdef\texatan{\mathop{\rm atan}}
> @end tex
>
> @iftex
> @macro atan {T}
> \\mathop{\\rm atan}
> @end macro
> @end iftex
>
> Spacing test with atan.
>
> @math{\mathop{\rm atan}(x)}
>
> @math{\texatan(x)}
>
> @math{@atan{z}(x)}
Actually, the space after "atan" disappears even without the "z":
@math{@atan{}(x)}
So, in short,
@macro atan
or
@macro atan {}
generates a space after "atan", but not
@macro atan {T}
--
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
- spurious space after macro expansion in math mode for TeX output, Vincent Lefevre, 2022/11/07
- Re: spurious space after macro expansion in math mode for TeX output, Gavin Smith, 2022/11/07
- Re: spurious space after macro expansion in math mode for TeX output, Vincent Lefevre, 2022/11/07
- Re: spurious space after macro expansion in math mode for TeX output, Gavin Smith, 2022/11/08
- Re: spurious space after macro expansion in math mode for TeX output, Vincent Lefevre, 2022/11/08
- Re: spurious space after macro expansion in math mode for TeX output, Gavin Smith, 2022/11/08
- Re: spurious space after macro expansion in math mode for TeX output, Vincent Lefevre, 2022/11/08
- Re: spurious space after macro expansion in math mode for TeX output, Patrice Dumas, 2022/11/09
- Re: spurious space after macro expansion in math mode for TeX output, Vincent Lefevre, 2022/11/09
- Re: spurious space after macro expansion in math mode for TeX output,
Vincent Lefevre <=
- Re: spurious space after macro expansion in math mode for TeX output, Vincent Lefevre, 2022/11/09
- Re: spurious space after macro expansion in math mode for TeX output, Gavin Smith, 2022/11/12
- Re: spurious space after macro expansion in math mode for TeX output, Vincent Lefevre, 2022/11/12
- Re: spurious space after macro expansion in math mode for TeX output, Gavin Smith, 2022/11/12
- Re: spurious space after macro expansion in math mode for TeX output, Gavin Smith, 2022/11/12
- Re: spurious space after macro expansion in math mode for TeX output, Gavin Smith, 2022/11/09
- Re: spurious space after macro expansion in math mode for TeX output, Gavin Smith, 2022/11/09
- Re: spurious space after macro expansion in math mode for TeX output, Gavin Smith, 2022/11/12
- Re: spurious space after macro expansion in math mode for TeX output, Vincent Lefevre, 2022/11/12
- Re: spurious space after macro expansion in math mode for TeX output, Gavin Smith, 2022/11/12