Re: [NTG-context] combiation trickery again now with attachement - sorry

2010-02-18 Thread Willi Egger

Hi,

that is indeed trickery. Though I did not try it, possibly using a  
layer where the pictures and the captions are arranged could also be  
used. The advantage of a layer would be, that it contains all the  
pics and one would be able to move it as a hole to the spot intended.


Willi
On Feb 18, 2010, at 1:22 PM, Bernhard Rosensteiner wrote:


Am 16.02.2010 um 21:12 schrieb Peter Rolf:


Am 16.02.2010 19:40, schrieb Bernhard Rosensteiner:

Hi,

in the attachment is an example file which describes best what i  
want do. 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“ is tedious. Is there  
a better solution to do such 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. Please help.



Hi Bernhard,

that was fun. :)


yeah - thanks. Really nice. This gives me the motivation to read  
The TeXbook.


best regards
Bernhard

__ 
_
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
__ 
_


___
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
___


Re: [NTG-context] combiation trickery again now with attachement - sorry

2010-02-18 Thread Bernhard Rosensteiner
Am 16.02.2010 um 21:12 schrieb Peter Rolf:

> Am 16.02.2010 19:40, schrieb Bernhard Rosensteiner:
>> Hi,
>> 
>> in the attachment is an example file which describes best what i want do. 
>> 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“ is tedious. Is there a better solution to do such 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. Please help.
>> 
> Hi Bernhard,
> 
> that was fun. :)

yeah - thanks. Really nice. This gives me the motivation to read The TeXbook.

best regards
Bernhard

___
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
___


Re: [NTG-context] combiation trickery again now with attachement - sorry

2010-02-16 Thread Peter Rolf
Am 16.02.2010 19:40, schrieb Bernhard Rosensteiner:
> Hi,
> 
> in the attachment is an example file which describes best what i want do. 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“ is tedious. Is there a better solution to do such 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. Please help.
> 
Hi Bernhard,

that was fun. :)

Best wishes,  Peter

\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
___
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
___


[NTG-context] combiation trickery again now with attachement - sorry

2010-02-16 Thread Bernhard Rosensteiner
Hi,

in the attachment is an example file which describes best what i want do. 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“ is tedious. Is there a better solution to do such 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. Please help.

best regards
Bernhard




floatcombiantion.tex
Description: Binary data



___
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
___