grofftut: hdtbl

This commit is contained in:
Karchnu 2021-12-16 00:58:20 +01:00
parent 2825ac9a1a
commit b06e4413e9

View File

@ -154,11 +154,11 @@ Seriously, these macros are awesome guys.
(Temporary name for the following macro) (Temporary name for the following macro)
.ft CW .ft CW
.PRETTY_PERCENTAGE 5.5 20 .FRAC 5.5 20
.ft .ft
.br .br
Produces: Produces:
.PRETTY_PERCENTAGE 5.5 20 .FRAC 5.5 20
.HORIZONTALLINE .HORIZONTALLINE
@ -422,6 +422,33 @@ T}
.TE .TE
.METAINFO2 .METAINFO2
.NH
Tables with hdtbl
.PP
.mso hdtbl.tmac
.\"
.ds t*bgc white\" background color
.\".ds t*fgc black \" foreground color
.\".nr t*cpd 0.1n \" cell padding
.ds t*bc pink2\" border color
.
.TBL cols=3 width='10% 45%'
. CPTN val=b This is a fine table. This is a fine table. This is a fine table. This is a fine table. This is a fine table. This is a fine table.
. TR
. TD fst=I first cell
. TD fgc=green4 bgc= 1*2
. TD hal=c val=m rowspan=2 hello
. TR .TD 2*1 ".TD bgc=pink" 2*2
. TR height=0.5i .TD 3*1 ".TD colspan=2 hal=r fst=B" Last cell
.ETB
.TBL cols=3 width='50% 25%'
. TR
. TD fst=I first cell, long message
. TD fgc=green4 bgc= second
. TD bgc= 3
.ETB
.NH .NH
Some references Some references
.PP .PP