From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/62661 Path: news.gmane.org!not-for-mail From: Alan BRASLAU Newsgroups: gmane.comp.tex.context Subject: Re: How to set the caption length? Date: Sat, 16 Oct 2010 08:35:09 +0200 Organization: CEA DSM-IRAMIS-SPEC Message-ID: <201010160835.10157.alan.braslau@cea.fr> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1287210933 11008 80.91.229.12 (16 Oct 2010 06:35:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 16 Oct 2010 06:35:33 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sat Oct 16 08:35:31 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P70Md-0006CO-53 for gctc-ntg-context-518@m.gmane.org; Sat, 16 Oct 2010 08:35:31 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 12559CA743; Sat, 16 Oct 2010 08:35:30 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ej81yorvsTyI; Sat, 16 Oct 2010 08:35:27 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4FB6BCA73A; Sat, 16 Oct 2010 08:35:27 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EA5E8CA73A for ; Sat, 16 Oct 2010 08:35:25 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id YozZQV0MQZ4c for ; Sat, 16 Oct 2010 08:35:14 +0200 (CEST) Original-Received: from filter5-ams.mf.surf.net (filter5-ams.mf.surf.net [192.87.102.73]) by balder.ntg.nl (Postfix) with ESMTP id 84A25CA737 for ; Sat, 16 Oct 2010 08:35:14 +0200 (CEST) Original-Received: from sainfoin-out.extra.cea.fr (sainfoin-out.extra.cea.fr [132.166.172.107]) by filter5-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o9G6ZDlp006507 for ; Sat, 16 Oct 2010 08:35:14 +0200 Original-Received: from epeire2.extra.cea.fr (epeire2.extra.cea.fr [132.167.198.32]) by sainfoin.extra.cea.fr (8.14.2/8.14.2/CEAnet-Internet-out-2.0) with ESMTP id o9G6ZDxh018366 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 16 Oct 2010 08:35:13 +0200 Original-Received: from orpin1.extra.cea.fr (orpin1.extra.cea.fr [132.167.198.4]) by epeire2.extra.cea.fr (8.14.4/8.14.4) with ESMTP id o9G6ZC7C004337; Sat, 16 Oct 2010 08:35:12 +0200 (envelope-from alan.braslau@cea.fr) Original-Received: from dogger.localnet (scylla.extra.cea.fr [132.166.43.101]) by orpin1.extra.cea.fr (8.13.8/8.13.8/CEAnet-Extranet-out-1.1) with ESMTP id o9G6ZCws009680; Sat, 16 Oct 2010 08:35:12 +0200 User-Agent: KMail/1.13.5 (Linux/2.6.32; KDE/4.4.5; i686; ; ) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=132.166.172.107; country=FR; region=A3; city=Gif-sur-yvette; latitude=48.6833; longitude=2.1333; http://maps.google.com/maps?q=48.6833,2.1333&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0BDjizdK4 - 1bebd9e71bc6 - 20101016 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.73 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:62661 Archived-At: On Saturday 16 October 2010 07:07:01 seasoul wrote: > When a figure is placed, but this figure size is much smaller than the > textwidth, the caption length will adjust after the figure size. > > \placefigure > > [][fig:xxx] > > {xxxxxxxxxxxxxxxxxxxxxxxxxxxx} > > {\externalfigure[xxx]} > > > > when set the figure size to an arbitrary size, the caption length will also > change. But what I expect is, i change the figure size, but the caption > size is always the textwith, or i can set it arbitrarily, for example 90% > of the text size. > > > > I know it should be very easy, but honestly, i do not know. For example, try: \setupcaption [figure] [width=.8\textwidth] Alan ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________