From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/8530 Path: main.gmane.org!not-for-mail From: Christopher Cardinale Newsgroups: gmane.comp.tex.context Subject: Re: Forcing line-breaks in a Chapter title Date: Tue, 2 Jul 2002 15:02:48 -0700 (PDT) Sender: owner-ntg-context@let.uu.nl Message-ID: <20020702220248.52428.qmail@web10003.mail.yahoo.com> References: <20020702123536.87093.qmail@web10006.mail.yahoo.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035398925 28306 80.91.224.250 (23 Oct 2002 18:48:45 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:48:45 +0000 (UTC) Original-To: ntg-context@let.uu.nl In-Reply-To: <20020702123536.87093.qmail@web10006.mail.yahoo.com> Xref: main.gmane.org gmane.comp.tex.context:8530 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:8530 This seems to work, but what I need is some way to measure the width of some arbitrary text so that I can set the size of the \hskip. \def\ChapterStyle#1#2{% {\bf Chapter {#1}} \vtop to 5ex{\vskip5ex \hskip-5em {#2}}% } \setuphead[chapter][ before={\blank[0.25\textheight,force]}, after={\blank[4*big]}, textstyle=\bf, numberstyle=\bf, command=\ChapterStyle% ] \chapter{My Article} __________________________________________________ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com