From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/29787 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: setuphead Date: Sat, 29 Jul 2006 09:11:18 +0200 Message-ID: <44CB0A16.3080301@elvenkind.com> References: <7CFEB498-476B-4E80-A3F5-1EDA9852A912@st.estfiles.de> <44C8BEC6.5030305@elvenkind.com> <69F53897-0EEE-494B-92EB-EEF0E9510FDF@st.estfiles.de> 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 1154157103 10127 80.91.229.2 (29 Jul 2006 07:11:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 29 Jul 2006 07:11:43 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sat Jul 29 09:11:40 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 1G6iz2-0006K7-L9 for gctc-ntg-context-518@m.gmane.org; Sat, 29 Jul 2006 09:11:36 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 604241FE92; Sat, 29 Jul 2006 09:11:36 +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 05939-06; Sat, 29 Jul 2006 09:11:31 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6749C1FE7C; Sat, 29 Jul 2006 09:11:30 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9E3E61FE7C for ; Sat, 29 Jul 2006 09:11:27 +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 06814-07 for ; Sat, 29 Jul 2006 09:11:21 +0200 (CEST) Original-Received: from post-23.mail.nl.demon.net (post-23.mail.nl.demon.net [194.159.73.193]) by ronja.ntg.nl (Postfix) with SMTP id E4FE11FE76 for ; Sat, 29 Jul 2006 09:11:19 +0200 (CEST) Original-Received: from boo.demon.nl ([82.161.175.147]:56718 helo=[10.10.0.3]) by post-23.mail.nl.demon.net with esmtp (Exim 4.51) id 1G6iyl-000MQk-Aw for ntg-context@ntg.nl; Sat, 29 Jul 2006 07:11:19 +0000 User-Agent: Mozilla Thunderbird 1.0.6-7.6.20060mdk (X11/20050322) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <69F53897-0EEE-494B-92EB-EEF0E9510FDF@st.estfiles.de> 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:29787 Archived-At: Steffen Wolfrum wrote: > You mean like this? > > \setuphead[chapter][command=\midaligned,numbercommand=\it,inbetween= > \crlf,textcommand=\bf] That is what I meant but it dodn't work out too well. New approach: \def\Sectioncommand#1#2% {\vbox{\centerline{\it Chapter #1}% \centerline{\bfb #2}}} \setuphead[chapter] [command=\Sectioncommand, style=] Cheers, Taco