On Sat, Jan 14, 2023 at 10:19:54AM +0000, Gavin Smith wrote: > I wonder if we could use it with multiple rows so that columns had > the width of the widest text, plus some padding. This would not > allow for text wrapping but could be ok for short tables.
The following plain TeX input shows that good table output is possible for short tables, without anything like a prototype row. We just need to use this underlying TeX functionality in texinfo.tex. There's quite a lot to consider, including line wrapping, items in the TODO file: - multicolumn * width to take up `the rest'. - @multitable: handle @hsep and @vsep. - @multitable: repeat table headings if multiple pages long. - @multitable: support a heading line concept (<thead> in HTML). this thread too suggesting mixing column fractions and prototypes: https://lists.gnu.org/archive/html/bug-texinfo/2021-03/msg00041.html \halign{ #\hskip1em\hfil&#\hskip1em&#\cr \bf Operation & \bf Symbol & \bf Type \cr less than & \tt < & relational infix \cr less than or equal to & \tt <= & relational infix \cr equality (syntactic) & \tt = & relational infix \cr }
