From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/86222 Path: news.gmane.org!not-for-mail From: "Jan Tosovsky" Newsgroups: gmane.comp.tex.context Subject: Re: Centering the last line in combination subcaptions Date: Sat, 8 Feb 2014 00:07:00 +0100 Message-ID: <24442.4275508665$1391814444@news.gmane.org> References: <008201cf0356$ccebf400$66c3dc00$@tosovsky@email.cz> <016201cf244b$29d9f210$7d8dd630$@tosovsky@email.cz> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1391814431 2032 80.91.229.3 (7 Feb 2014 23:07:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 7 Feb 2014 23:07:11 +0000 (UTC) To: "'mailing list for ConTeXt users'" Original-X-From: ntg-context-bounces@ntg.nl Sat Feb 08 00:07:19 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WBuVy-0006LP-4H for gctc-ntg-context-518@m.gmane.org; Sat, 08 Feb 2014 00:07:18 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1C7A1101F7; Sat, 8 Feb 2014 00:07:17 +0100 (CET) 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 TG2zmzJgnF5u; Sat, 8 Feb 2014 00:07:14 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 1E30A101EB; Sat, 8 Feb 2014 00:07:14 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A0286101EB for ; Sat, 8 Feb 2014 00:07:12 +0100 (CET) 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 CEnGuNxpqLGD for ; Sat, 8 Feb 2014 00:07:10 +0100 (CET) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id 9428E101E1 for ; Sat, 8 Feb 2014 00:07:00 +0100 (CET) Original-Received: from fep18.mx.upcmail.net (fep18.mx.upcmail.net [62.179.121.38]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s17N6xst006004 for ; Sat, 8 Feb 2014 00:07:00 +0100 Original-Received: from edge03.upcmail.net ([192.168.13.238]) by viefep18-int.chello.at (InterMail vM.8.01.05.05 201-2260-151-110-20120111) with ESMTP id <20140207230659.ZFYB29045.viefep18-int.chello.at@edge03.upcmail.net> for ; Sat, 8 Feb 2014 00:06:59 +0100 Original-Received: from emk ([78.102.140.160]) by edge03.upcmail.net with edge id Pb6y1n00Z3Tq9wW03b6zTk; Sat, 08 Feb 2014 00:06:59 +0100 X-SourceIP: 78.102.140.160 In-Reply-To: <016201cf244b$29d9f210$7d8dd630$@tosovsky@email.cz> X-Mailer: Microsoft Office Outlook 12.0 Content-Language: cs Thread-Index: Ac8DVslVq3nVXR6UQW28zXNHsm7pWAg8xPxQAAODl6A= X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=62.179.121.38; country=AT; latitude=47.3333; longitude=13.3333; http://maps.google.com/maps?q=47.3333,13.3333&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03Lnz6Xk3 - 4f05026477d1 - 20140208 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.71 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:86222 Archived-At: On 2014-02-07 Jan Tosovsky wrote: > On 2013-12-27 Jan Tosovsky wrote: > > > > If captions are long and the image narrow, they are typeset on > > multiple lines. Default centering produces the ragged column - > > both not very nice and difficult to read. When the alignment is > > set to hanging, it looks better except the last line which is > > not centered. Finally fixed with align=last :-) This is the improved example. The only remaining issue is an one empty line between the image and the label when \startnarrower command is used. Please compare two pages w/o this option set: %\definefontfamily[palatino][rm][Palatino Linotype][features={default, quality}] %\setupbodyfont[palatino] \setupnarrower[middle=-2.8cm] \starttext test \startplacefigure[location=page, number=no, title={}] \setupcombinations[align={last, hz, hanging}] {\startcombination[1*2] {\externalfigure[cow]} {\startnarrower {\itx \input{tufte}} \stopnarrower} {\externalfigure[cow]} {\startnarrower {\itx \input{lorem}} \stopnarrower} \stopcombination} \stopplacefigure \startplacefigure[location=page, number=no, title={}] \setupcombinations[align={last, hz, hanging}] {\startcombination[1*2] {\externalfigure[cow]} {\itx \input{ward}} {\externalfigure[cow]} {\itx \input{ward}} \stopcombination} \stopplacefigure \stoptext I haven't find any better way to extend the caption width than that negative value for narrowed text. It works, but that empty space above looks weird :-( Thanks for any suggestions, Jan ___________________________________________________________________________________ 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 ___________________________________________________________________________________