Is there a way to get a rule between the columns of a column set? Thanks, Bart
On Wed, 5 Mar 2008 12:43:11 -0700
Bart Wise
Is there a way to get a rule between the columns of a column set?
It looks like there is no build in command to enable arule between the column but you could use MetaPost to draw a background for every column. \usemodule[visual] \definecolumnset[example][n=4,distance=5mm] \startuseMPgraphic{columnrule} path p ; p := unitsquare xyscaled (OverlayWidth+5mm,OverlayHeight) ; draw lrcorner p -- urcorner p ; setbounds currentpicture to p ; \stopuseMPgraphic \defineoverlay[columnrule][\useMPgraphic{columnrule}] \setupcolumnset[example][1,2,3][background=columnrule] \starttext \startcolumnset[example] \dorecurse{30}{\fakewords{50}{100}} \stopcolumnset \stoptext Greetings Wolfgang
It works! Thanks Wolfgang. On Wednesday March 5 2008, Wolfgang Schuster wrote:
\usemodule[visual]
\definecolumnset[example][n=4,distance=5mm]
\startuseMPgraphic{columnrule} path p ; p := unitsquare xyscaled (OverlayWidth+5mm,OverlayHeight) ; draw lrcorner p -- urcorner p ; setbounds currentpicture to p ; \stopuseMPgraphic
\defineoverlay[columnrule][\useMPgraphic{columnrule}]
\setupcolumnset[example][1,2,3][background=columnrule]
\starttext
\startcolumnset[example] \dorecurse{30}{\fakewords{50}{100}} \stopcolumnset
\stoptext
participants (2)
-
Bart Wise
-
Wolfgang Schuster