grofftut: hdtbl
This commit is contained in:
parent
2825ac9a1a
commit
b06e4413e9
31
grofftut.ms
31
grofftut.ms
@ -154,11 +154,11 @@ Seriously, these macros are awesome guys.
|
||||
|
||||
(Temporary name for the following macro)
|
||||
.ft CW
|
||||
.PRETTY_PERCENTAGE 5.5 20
|
||||
.FRAC 5.5 20
|
||||
.ft
|
||||
.br
|
||||
Produces:
|
||||
.PRETTY_PERCENTAGE 5.5 20
|
||||
.FRAC 5.5 20
|
||||
|
||||
.HORIZONTALLINE
|
||||
|
||||
@ -422,6 +422,33 @@ T}
|
||||
.TE
|
||||
.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
|
||||
Some references
|
||||
.PP
|
||||
|
Loading…
Reference in New Issue
Block a user