Consider

------------------------------------------------------------
\input texinfo    @c -*-texinfo-*-

@code{char *t[]}

@code{char *t()}

@code{char *t__}

@deftypefn  Macro int f (char *t[])
@deftypefnx Macro int f (char *t())
@deftypefnx Macro int f (char *t__)
@end deftypefn

@deftypefun  int f (char *t[])
@deftypefunx int f (char *t())
@deftypefunx int f (char *t__)
@end deftypefun

@bye
------------------------------------------------------------

For @code, this is OK, but for @deftypefn and variants, the
square brackets and parentheses are rendered in a variable
width font instead of the monospace font. Note that in addition
to unusual style, the "[]" looks like a rectangle.

In practice, the issue can be seen in the GNU MPFR manual, which has

@deftypefun int mpfr_sum (mpfr_t @var{rop}, const mpfr_ptr @var{tab}[], 
unsigned long int @var{n}, mpfr_rnd_t @var{rnd})

-- 
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)

Reply via email to