Hi Francesco, On Sun Feb 23, 2025 at 7:00 PM CET, Francesco Ariis wrote: > Attached is an MRE which displays my problem, which you can > run with `groff -ms -t -Tpdf test.ms > out.pdf` > > In the document: > 1. line width is set to 17cms > 2. I insert a table and would like it to fill the whole 17cms > 3. this does not happen, on the contrary .ll seems to get > shrunk to 15cms.
Removing the -ms makes the issue disappear. The issue must originate in ms's definition of the TS macro, since adding .ds TS at the beginning of the document fixes the issue even when -ms is included. By the way, your table data includes a \{, which is an escape that starts a conditional input block. However, it doesn't seem to have an effect, since removing it doesn't fix it. > What to input to have the table fill the whole line length? The correct solution is to wait until someone fixes the bug in ms you just discovered. A quick fix is to re-define the TS and TE macros to do nothing, i.e. .ds TS .ds TE ~ onf