* Frame around table
@ 2006-04-13 12:10 WN
2006-04-13 12:57 ` Hans Hagen
0 siblings, 1 reply; 2+ messages in thread
From: WN @ 2006-04-13 12:10 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Frame around table
2006-04-13 12:10 Frame around table WN
@ 2006-04-13 12:57 ` Hans Hagen
0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2006-04-13 12:57 UTC (permalink / raw)
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
-----------------------------------------------------------------
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-04-13 12:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-13 12:10 Frame around table WN
2006-04-13 12:57 ` Hans Hagen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).