From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/85725 Path: news.gmane.org!not-for-mail From: "Jan Tosovsky" Newsgroups: gmane.comp.tex.context Subject: Centering the last line in combination subcaptions Date: Fri, 27 Dec 2013 23:55:55 +0100 Message-ID: <17303.210279397$1388184982@news.gmane.org> 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 1388184971 9938 80.91.229.3 (27 Dec 2013 22:56:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 27 Dec 2013 22:56:11 +0000 (UTC) To: "'mailing list for ConTeXt users'" Original-X-From: ntg-context-bounces@ntg.nl Fri Dec 27 23:56:18 2013 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 1VwgKF-0006My-LA for gctc-ntg-context-518@m.gmane.org; Fri, 27 Dec 2013 23:56:15 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AE7C7101E3; Fri, 27 Dec 2013 23:56:14 +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 ZnR-YpQPhiXF; Fri, 27 Dec 2013 23:56:12 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 748EF101E6; Fri, 27 Dec 2013 23:56:12 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5F5CE101E6 for ; Fri, 27 Dec 2013 23:56:11 +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 h8IFvNrniqTg for ; Fri, 27 Dec 2013 23:56:08 +0100 (CET) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 8A0CF101E3 for ; Fri, 27 Dec 2013 23:56:08 +0100 (CET) Original-Received: from fep13.mx.upcmail.net (fep13.mx.upcmail.net [62.179.121.33]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id rBRMu7Uk005095 for ; Fri, 27 Dec 2013 23:56:07 +0100 Original-Received: from edge03.upcmail.net ([192.168.13.238]) by viefep13-int.chello.at (InterMail vM.8.01.05.05 201-2260-151-110-20120111) with ESMTP id <20131227225607.SBMV10011.viefep13-int.chello.at@edge03.upcmail.net> for ; Fri, 27 Dec 2013 23:56:07 +0100 Original-Received: from emk ([78.102.141.29]) by edge03.upcmail.net with edge id 6mvs1n00j0eFPtq03mvs6C; Fri, 27 Dec 2013 23:55:52 +0100 X-SourceIP: 78.102.141.29 X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Ac8DVslVq3nVXR6UQW28zXNHsm7pWA== Content-Language: cs X-Bayes-Prob: 0.0314 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=62.179.121.33; 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: 0TL6KU7eN - 17ca499cfab6 - 20131227 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 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:85725 Archived-At: Hello Everyone, I try to fill the entire page with two images with their captions. The final page should be floating, keeping both images together and not containing any other text. I found this solution. It work fine for short captions / wide images. \starttext test \startplacefigure[location=page, number=no, title={}] %\setupcombinations[align={hz, hanging}] %\setuptolerance[strict] {\startcombination[1*2] {\externalfigure[cow]} {\input{ward}} {\externalfigure[cow]} {\input{ward}} \stopcombination} \stopplacefigure \stoptext 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. Is there any settings for centering the last line? Can the 'column' width be somehow extended to e.g. 80% of text width? If not via the 'combination', are there any better alternatives for my use case? Any hint is appreciated. Thanks, 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 ___________________________________________________________________________________