From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/56310 Path: news.gmane.org!not-for-mail From: Peter Rolf Newsgroups: gmane.comp.tex.context Subject: Re: combiation trickery again now with attachement - sorry Date: Tue, 16 Feb 2010 21:12:18 +0100 Message-ID: <4B7AFC22.80000@gmx.net> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------050407000406030508080506" X-Trace: ger.gmane.org 1266351173 25500 80.91.229.12 (16 Feb 2010 20:12:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 16 Feb 2010 20:12:53 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Feb 16 21:12:51 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 1NhTmp-0000jZ-Dc for gctc-ntg-context-518@m.gmane.org; Tue, 16 Feb 2010 21:12:47 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7A9BCC9C53; Tue, 16 Feb 2010 21:12:44 +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 K1bkwtexEnCW; Tue, 16 Feb 2010 21:12:41 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8C912C9C40; Tue, 16 Feb 2010 21:12:41 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6A44EC9C40 for ; Tue, 16 Feb 2010 21:12:40 +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 9-sdAhwGprn9 for ; Tue, 16 Feb 2010 21:12:38 +0100 (CET) Original-Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by balder.ntg.nl (Postfix) with SMTP id C223EC9C33 for ; Tue, 16 Feb 2010 21:12:37 +0100 (CET) Original-Received: (qmail invoked by alias); 16 Feb 2010 20:12:35 -0000 Original-Received: from i538766B0.versanet.de (EHLO [192.168.1.3]) [83.135.102.176] by mail.gmx.net (mp070) with SMTP; 16 Feb 2010 21:12:35 +0100 X-Authenticated: #24293357 X-Provags-ID: V01U2FsdGVkX18UK31q7usU+1unGN8IxpDHC1fBkxFwDjxOrMmej1 Y4HOPWv/2gPUJ2 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.1.7) Gecko/20100111 Lightning/1.0b1 Thunderbird/3.0.1 In-Reply-To: X-Enigmail-Version: 1.0.1 X-Y-GMX-Trusted: 0 X-FuHaFi: 0.69999999999999996 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:56310 Archived-At: This is a multi-part message in MIME format. --------------050407000406030508080506 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Am 16.02.2010 19:40, schrieb Bernhard Rosensteiner: > Hi, >=20 > in the attachment is an example file which describes best what i want d= o. The method with \offset and \clip to place the figures where i want is= really brutal force i think. Especially fiddling around with dimension = to get the "right fit=93 is tedious. Is there a better solution to do suc= h a start/stopcombination? > Floatplacing is also influenced by the offset command but i compensated= this with *hang - nevertheless all in all i think no good solution. Plea= se help. >=20 Hi Bernhard, that was fun. :) Best wishes, Peter --------------050407000406030508080506 Content-Type: text/plain; name="floatcombiantion.tex" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="floatcombiantion.tex" \setuptolerance[verytolerant, stretch] \setupalign[hz, hanging] \definefloat[subfigure][subfigures] \setupfloat[figure][] \setupfloat[tableleft][] \setupcaption[figure][width=max, align={hz, hanging}, style=sstf] \setupcaption[subfigure][way=bypage, location=top, width=max, align={hz, hanging}, inbetween={\blank[1*small]}, style={\smallbodyfont\sstf}, numberconversionset=characters, numberstopper={)}, prefixsegments=4:100] \starttext \input tufte \placefigure[left, here, force]{Maincaption} {\startcombination[2*2] {}{} {\blackrule[width=5cm,height=10\baselineskip,color=lightgray]}{caption 2} {\newbox\MYscratchbox \setbox\MYscratchbox\hbox\bgroup \blackrule[width=5cm,height=22.24\baselineskip,color=lightgray]\egroup \ht\MYscratchbox=10\baselineskip % fake height \box\MYscratchbox}{caption 1} {\blackrule[width=5cm,height=10\baselineskip,color=lightgray]}{caption 3} \stopcombination} \input tufte \page[yes] \input tufte \placefigure[left, here, force]{Maincaption} {\vbox\bgroup\hsize105mm \hbox\bgroup \vbox\bgroup\hsize50mm \blackrule[height=22.24\baselineskip,width=50mm,color=lightgray] \centerline{caption 1} \egroup \hskip5mm \vbox to 23.24\baselineskip\bgroup % +1 for caption \hsize50mm \vbox\bgroup \blackrule[height=10\baselineskip,width=50mm,color=lightgray] \centerline{caption 2} \egroup \vss \vbox\bgroup \blackrule[height=10\baselineskip,width=50mm,color=lightgray] \centerline{caption 3} \egroup \egroup \egroup % hbox \egroup % outer vbox } \input tufte \stoptext --------------050407000406030508080506 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --------------050407000406030508080506--