Hey fellas,

Please see the attached table that Microsoft Word is able to format
effortlessly.

This is my attempt using tbl, rows get squashed into two:

.TS
center allbox tab(#);
cB cB cB
lfC lfC lfC.
Objeto#M\['e]todo#Tipo devolvido
HTMLCanvasElement#toBlob()#Blob
OffscreenCanvas#\^#\^
\^#transferToImageBitmap#ImageBitmap
.TE
12345678901234567890
.sp -1v
.ad r
09876543210987654321

My current workaround is to add a fourth empty column that spans two lines:

.TS
center tab(#);
l l l lzw(0)
|cB|cB|cB|lzw(0)
|lfC |lfC |lfC |lzw(0).
_#_#_
Objeto#M\['e]todo#Tipo devolvido
_#_#_
.TH
HTMLCanvasElement#toBlob()#Blob#T{
.
.ll 0
.sp 2
T}
_
OffscreenCanvas#\^#\^#\^
\^#_#_
\^#transferToImageBitmap#ImageBitmap
_#_#_
_
.TE
aaaaaaaaaaaa
.sp -1v
.ad r
bbbbbbbbbbb

However, the table becomes slightly not center-aligned.

I played with many options to no avail, such as features z and w for
key-letters, and setting line length to zero for an empty text block.

Best regards,
Bento

Reply via email to