13 Apr
2006
13 Apr
'06
12:42 p.m.
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 \fi }\par } \starttext \room{1}{2}{% \student{Abc}{Def} \student{Abc}{Def} } \room{2}{5}{% \student{Abc}{Def} \student{Abc}{Def} \student{Abc}{Def} \student{Abc}{Def} \student{Abc}{Def} } \stoptext