[NTG-context] multiple columns inside \framed
Hans Hagen
pragma at wxs.nl
Thu Apr 13 13:18:19 CEST 2006
Mojca Miklavec wrote:
> Hello,
>
> I would like to typeset two columns of names inside one frame
> (centered horizontally). \startcolumns inside \framed doesn't work; is
> there any simple alternative? (Otherwise I'll manually split the
> content into two subframes.)
>
> I would appreciate any hints,
> Mojca
>
>
> \def\student#1#2{{#1 \sc#2}\par}
>
> % room number, number of students, students
> \def\room#1#2#3{#1:
> \framed[width=4.4cm,height=2cm]{%
> \ifnum#2<4 #3\else
> \startcolumns[n=2,distance=0pt]#3\stopcolumns
>
\startsimplecolumns[n=2,distance=0pt]#3\stopsimplecolumns
-----------------------------------------------------------------
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
-----------------------------------------------------------------
More information about the ntg-context
mailing list