From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/27134 Path: news.gmane.org!not-for-mail From: "Mojca Miklavec" Newsgroups: gmane.comp.tex.context Subject: multiple columns inside \framed Date: Thu, 13 Apr 2006 12:42:52 +0200 Message-ID: <6faad9f00604130342m386ae48dwfa9ec8ed049b0ce@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1144925095 6753 80.91.229.2 (13 Apr 2006 10:44:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 13 Apr 2006 10:44:55 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Apr 13 12:44:52 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1FTzJZ-0003a7-Ms for gctc-ntg-context-518@m.gmane.org; Thu, 13 Apr 2006 12:44:41 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5FEA112793; Thu, 13 Apr 2006 12:44:41 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 03606-04; Thu, 13 Apr 2006 12:44:41 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EE5B41278E; Thu, 13 Apr 2006 12:42:56 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 027D21278E for ; Thu, 13 Apr 2006 12:42:54 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 03606-03 for ; Thu, 13 Apr 2006 12:42:53 +0200 (CEST) Original-Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.184]) by ronja.ntg.nl (Postfix) with SMTP id ECAB91276F for ; Thu, 13 Apr 2006 12:42:52 +0200 (CEST) Original-Received: by nproxy.gmail.com with SMTP id p46so1208255nfa for ; Thu, 13 Apr 2006 03:42:52 -0700 (PDT) Original-Received: by 10.49.68.13 with SMTP id v13mr120518nfk; Thu, 13 Apr 2006 03:42:52 -0700 (PDT) Original-Received: by 10.48.223.20 with HTTP; Thu, 13 Apr 2006 03:42:52 -0700 (PDT) Original-To: "mailing list for ConTeXt users" Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:27134 Archived-At: 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