Hi Claudia, Claudia Lanzl wrote:
Hello,
I have a question on (absolute) positionning of figures/images. I try to position my images in that way shown in the layout in this attachment (hope I can post images this way?).
I try to do it with the following lines:
\useexternalfigure[pic01][pic01] \useexternalfigure[pic02][pic02] \useexternalfigure[pic03][pic03] \useexternalfigure[pic04][pic04] \useexternalfigure[pic05][pic05]
This is obsolete, as long as the file name and the label are the same and you don't want to change the picture at definition time (scaling,...). I did the same some time ago.
\placefigure[left][]{none} { \startcombination[2*3] %\startcombination[2*2] %the following 3 lines don´t work! %probably I can not use \placeexternalfigure in the \startcombination !???
{\placeexternalfigure[left] {Caption} {\externalfigure[pic01.jpg]}}
{\externalfigure[pic02.jpg]}{} {\externalfigure[pic03.jpg]}{Caption}
I have only used start|stopcombinations with equal sized pictures so far. Don't know if you can get the desired layout with only one combination. Anyhow you can combine pic02 and pic03 {\vbox{\externalfigure[pic02.jpg][scale=1000] \blank[whatever is needed] \externalfigure[pic03.jpg][scale=1000]}} {Caption} and use two [2*1] combinations. Just a fast example with \framed instead of \externalfigure % - - - - - - - - \setupoutput[pdftex] \starttext \def\Double{\vbox{\framed[width=0.3\textwidth,height=.14\textheight]{} \blank[.02\textheight] \framed[width=0.3\textwidth,height=.14\textheight]{}}} \startcombination[2*1] {\framed[width=0.6\textwidth,height=.3\textheight]{}}{1} {{\Double}}{2 and 3} \stopcombination \blank \startcombination[2*1] {\framed[width=0.45\textwidth,height=.2\textheight]{}}{4} {\framed[width=0.45\textwidth,height=.2\textheight]{}}{5} \stopcombination \stoptext I hope this works for you. Happy fiddling with the picture dimensions and the space inbetween. Greetings, Peter
{\externalfigure[pic04.jpg]}{} {\externalfigure[pic05.jpg]}{} \stopcombination }
So if I position the images with {\externalfigure[pic0001.jpg]}{} and so on, I don´t get the layout I want to have. I found floating objects, can I use these to position the pictures in the way I want to?
yes, if you mean the whole combination (else no).
ANY COMMENT IS USEFUL!
Thank you very much!
------------------------------------------------------------------------
------------------------------------------------------------------------
_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context