From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/30450 Path: news.gmane.org!not-for-mail From: william s Newsgroups: gmane.comp.tex.context Subject: Newbie question: Linebreak after number in figure caption? Date: Tue, 22 Aug 2006 19:11:38 +0100 (BST) Message-ID: <20060822181138.78916.qmail@web56414.mail.re3.yahoo.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 1156315071 3476 80.91.229.2 (23 Aug 2006 06:37:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 23 Aug 2006 06:37:51 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Aug 23 08:37:47 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 1GFmMz-000675-TT for gctc-ntg-context-518@m.gmane.org; Wed, 23 Aug 2006 08:37:45 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9A83C1FE46; Wed, 23 Aug 2006 08:37:44 +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 19214-01-2; Wed, 23 Aug 2006 08:37:36 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1BEC91FE3F; Wed, 23 Aug 2006 08:37:34 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BD1B61FE17 for ; Tue, 22 Aug 2006 20:11:59 +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 22480-03-2 for ; Tue, 22 Aug 2006 20:11:55 +0200 (CEST) Original-Received: from web56414.mail.re3.yahoo.com (web56414.mail.re3.yahoo.com [216.252.111.93]) by ronja.ntg.nl (Postfix) with SMTP id 9355D1FCF3 for ; Tue, 22 Aug 2006 20:11:54 +0200 (CEST) Original-Received: (qmail 78918 invoked by uid 60001); 22 Aug 2006 18:11:38 -0000 Original-Received: from [222.124.244.162] by web56414.mail.re3.yahoo.com via HTTP; Tue, 22 Aug 2006 19:11:38 BST Original-To: ntg-context@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl X-Mailman-Approved-At: Wed, 23 Aug 2006 08:37:31 +0200 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:30450 Archived-At: Hello, I would like to have Figure captions that look like this (centered, a newline between the number and the description): Figure 1 The description of the figure For now I put the linebreak manually in each caption text as you can see below. Putting the linebreak inside the style parameter indeed works, but the result is that "Figure 1" is left-aligned, even though the figure description is centered. I'm using a rather old version of ConTeXt and teTeX, but I have reproduced this behavior on the ConTeXt live page. I'm probably missing something really obvious, so can anyone suggest a better way of doing this? Thanks, William %% Doesn't work as expected % \setupcaptions[align=middle,width=\makeupwidth,headstyle=bold,style={\\\bf}] \setupcaptions[align=middle,width=\makeupwidth,headstyle=bold,style=bold] \starttext \reservefigure [height=4cm,width=10cm,frame=on][here][fig:reservation] {\\ An example of a reservation.} % I'm forced to put a linebreak in manually \stoptext Send instant messages to your online friends http://uk.messenger.yahoo.com