From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/4220 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: [Q] formatting chapter title to one line Date: Fri, 23 Feb 2001 12:45:53 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <3.0.6.32.20010223124553.01939380@server-1> References: <200102202122.WAA21180@anxur.fi.muni.cz> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: main.gmane.org 1035394905 23898 80.91.224.250 (23 Oct 2002 17:41:45 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:41:45 +0000 (UTC) Cc: ntg-context@ntg.nl (ConTeXt List) Original-To: Han The Thanh In-Reply-To: <200102202122.WAA21180@anxur.fi.muni.cz> Xref: main.gmane.org gmane.comp.tex.context:4220 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:4220 At 10:22 PM 2/20/01 +0100, Han The Thanh wrote: >Hi all, > >I wish to format a chapter title (in appendix part) like: > > A. \starttext \setuphead [chapter] [appendixlabel=,style=\bfc,alternative=middle] \chapter{OEPS} \setuphead [chapter] [appendixlabel=,style=\bfc,alternative=middle, numbercommand=\catalogusnumber,command=\catalogchapter] \def\catalogusnumber #1{#1.} \def\catalogchapter#1#2{\hbox to \hsize{\hss#1~#2\hss}} \chapter{OEPS} \setuphead [chapter] [appendixlabel=,style=\bfc,alternative=paragraph,align=middle, numbercommand=\catalogusnumber,command=] \chapter{OEPS} \stoptext ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com -------------------------------------------------------------------------