From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/37404 Path: news.gmane.org!not-for-mail From: "Wolfgang Schuster" Newsgroups: gmane.comp.tex.context Subject: Re: combination with an additional line centered in a placefigure? Date: Fri, 16 Nov 2007 13:39:45 +0100 Message-ID: <115224fb0711160439w66b4725fr624a2bee200967eb@mail.gmail.com> References: <200711160814.17056.tralalas@freenet.de> 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: ger.gmane.org 1195216834 26179 80.91.229.12 (16 Nov 2007 12:40:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 16 Nov 2007 12:40:34 +0000 (UTC) To: tralalas@freenet.de, "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Fri Nov 16 13:40:39 2007 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 lo.gmane.org with esmtp (Exim 4.50) id 1It0Up-0001Wk-BG for gctc-ntg-context-518@m.gmane.org; Fri, 16 Nov 2007 13:40:31 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 37AFD1FB72; Fri, 16 Nov 2007 13:40:17 +0100 (CET) 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 09969-02-4; Fri, 16 Nov 2007 13:40:10 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4B7A51FB37; Fri, 16 Nov 2007 13:40:08 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id F21CF1FB6B for ; Fri, 16 Nov 2007 13:39:54 +0100 (CET) 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 09723-01-15 for ; Fri, 16 Nov 2007 13:39:46 +0100 (CET) Original-Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.173]) by ronja.ntg.nl (Postfix) with ESMTP id 662591FB5E for ; Fri, 16 Nov 2007 13:39:46 +0100 (CET) Original-Received: by ug-out-1314.google.com with SMTP id h2so672348ugf for ; Fri, 16 Nov 2007 04:39:46 -0800 (PST) Original-Received: by 10.67.196.2 with SMTP id y2mr63751ugp.1195216785926; Fri, 16 Nov 2007 04:39:45 -0800 (PST) Original-Received: by 10.67.122.17 with HTTP; Fri, 16 Nov 2007 04:39:45 -0800 (PST) In-Reply-To: <200711160814.17056.tralalas@freenet.de> Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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:37404 Archived-At: 2007/11/16, Peter Schorsch : > Hi, > > as soon I enter the cbox-line the combination is not longer centered. I tried > to embed the combination in a cbox, but that had no effect. Has anyone a hint > how to center the combination successfullly? > > \starttext > \placefigure > [force][fig:xy] > {captiontext} > {\startcombination[2*1] > {\externalfigure[xxx][]}{} > {\externalfigure[yyy][]}{} > \stopcombination > \cbox{\tfx Quelle: XY} > } > \stoptext > > Thanks, P. \setuplegend [align=middle, bodyfont=small] \starttext \placefigure [force][fig:xy] {captiontext} {\placelegend {\startcombination[2*1] {\externalfigure[xxx]}{} {\externalfigure[yyy]}{} \stopcombination} {Quelle: XY}} \stoptext You can define legend commands with \definepairedbox (see core-mis.tex) and you can skip the second pair of brackets after \externalfigure. Wolfgang ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________