Frame around table
Hi, I am trying to frame a horizontal itemized list like \framed[frame=on,height=2.1cm,width=16.4cm]{% \startitemize[8,columns,four] \item alleenstaand \item samenwonend/getrouwd \item eenoudergezin \item kinderen/leeftijd \stopitemize } but the list does not come out right. Should I be using overlays here ? I know the overlay basics a little bit, but I don't know how to setup a background for itemized lists. Thanks for your help. Wim
WN wrote:
Hi,
I am trying to frame a horizontal itemized list like
\framed[frame=on,height=2.1cm,width=16.4cm]{% \startitemize[8,columns,four] \item alleenstaand \item samenwonend/getrouwd \item eenoudergezin \item kinderen/leeftijd \stopitemize }
but the list does not come out right. Should I be using overlays here ? I know the overlay basics a little bit, but I don't know how to setup a background for itemized lists.
this is tricky with frames since column soperatr in the mvl (main vertical list) and framed is a box; one can apply the new streams module \usemodule[streams] \definestreamlayer[whatever][width=12cm] \starttext \startstreamlayer[whatever] \startitemize[columns,two][after=] \item one \item two \item three \item four \stopitemize \stopstreamlayer \framed[strut=no,align=normal]{\placestreamlayer[whatever]\obeydepth} \ifx\starttextstreamlayer\undefined \else \starttextstreamlayer[whatever] \startitemize[columns,two] \item one \item two \item three \item four \stopitemize \stoptextstreamlayer \framed[strut=no]{\placetextstreamlayer[whatever]} \fi \stoptext the starttextstreamlayer macro is new -) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
WN