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 <vinc...@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)