From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/17671 Path: main.gmane.org!not-for-mail From: VnPenguin Newsgroups: gmane.comp.tex.context Subject: Re: \setuphead for chapter Date: Wed, 29 Dec 2004 14:23:01 +0100 Message-ID: References: <41D2764F.3040001@wxs.nl> Reply-To: VnPenguin , mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1104326803 32617 80.91.229.6 (29 Dec 2004 13:26:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 29 Dec 2004 13:26:43 +0000 (UTC) Cc: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Dec 29 14:26:34 2004 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CjdqU-0000Ao-00 for ; Wed, 29 Dec 2004 14:26:34 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0B3AB1279C; Wed, 29 Dec 2004 14:26:34 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 25257-02; Wed, 29 Dec 2004 14:26:33 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BCF5312784; Wed, 29 Dec 2004 14:23:04 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 41C9F12784 for ; Wed, 29 Dec 2004 14:23:03 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 24955-05 for ; Wed, 29 Dec 2004 14:23:02 +0100 (CET) Original-Received: from rproxy.gmail.com (unknown [64.233.170.202]) by ronja.ntg.nl (Postfix) with ESMTP id 590D61277C for ; Wed, 29 Dec 2004 14:23:02 +0100 (CET) Original-Received: by rproxy.gmail.com with SMTP id f1so401630rne for ; Wed, 29 Dec 2004 05:23:01 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=nB+slGQt4l9A9l6tjAmr4hm43Osppxjj7DbEFPY2WBJRVb8t46ZbK6Gv4IDWcornXyygO7235Djr5xMwWCThWsyt5g5V3KNb042pLEextxoRr4SdMEniz7VRbWDVBZKxf5J0Pc7EqcvVYmtAGZEXwIHLNz0+tkjNydreb2zEaHo= Original-Received: by 10.38.149.3 with SMTP id w3mr137665rnd; Wed, 29 Dec 2004 05:23:01 -0800 (PST) Original-Received: by 10.38.67.14 with HTTP; Wed, 29 Dec 2004 05:23:01 -0800 (PST) Original-To: Hans Hagen In-Reply-To: <41D2764F.3040001@wxs.nl> X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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: by amavisd-new at ntg.nl Xref: main.gmane.org gmane.comp.tex.context:17671 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:17671 On Wed, 29 Dec 2004 10:18:07 +0100, Hans Hagen wrote: > VnPenguin wrote: > > Hi all, > > I'm trying to define chapter style like the following: > > ------------------------------------------------------------------ > > > > Chapter 1 > > > > This is the name of chapter > > > > ------------------------------------------------------------------ > > But I can't found the option of \setuphead which allows me insert a > > "new line" (and a vertical space) between chapter number and chapter > > name yet. > > > > Any help will be appreciated, > > \def\MyChapterCommand#1#2{#1\blank#2} > > \setuphead[chapter][command=\MyChapterCommand] > Here is the code I try: ----------------------- begin of code -------------------------------------------- \language[en] \setuppapersize[A4] \def\MyChapterCommand#1#2{#1\blank[2cm]#2} \setuphead [chapter] [command=\MyChapterCommand] \starttext \chapter[foo]{This is first Chapter} \section{totototo} \subsection{tatata} blahblah \stoptext ------------ end of code --------------------------------------------------- Unfortunately, I can not get the thing for which I'm looking :-) I'm wrong some thing ? Q.