[NTG-context] absolute positioning of figures
Peter Rolf
indiego at gmx.net
Fri Oct 13 19:58:52 CEST 2006
andrea valle wrote:
> Example:
>
> \definelayer [layer2a][width=.15\paperwidth]
>
> \setlayer [layer2a]
> [x=.15\paperwidth, y=.5\paperheight]
> {\externalfigure[layTest][width=.75\paperwidth]}
>
extend your example with
\clip[width=.15\paperwidth,height=<define
one>,hoffset=0pt,voffset=0pt]{\externalfigure..}
and you can see the difference.. (no picture in the smaller layer).
As I already mentioned, the size is (only?) significant, if you change
the default positioning (reference point). For example, you want to
place something with an offset of 2cm to the right bottom corner of the
layer. Therefore you need the exact width and height of the layer.
All default positioning (relative to top left corner of the layer)
doesn't care about the size, as there is no difference (no calculation
is needed).
I hope I have made myself clear.
Greetings, Peter
>
> I was expecting to have the layTest figure cut after its width exceeds
> the layer's width. It seems that this is unrelevant, i.e.
>
> If I have instead of this:
>
> \definelayer [layer2a][width=.15\paperwidth]
>
> this:
> \definelayer [layer2a][width=.75\paperwidth]
>
> It's the same.
>
> So, I cannot understand what width means for layers, as changing it has
> no consequences (in my example).
>
> Best
>
> -a-
>
>
>
>
>
>
> On 13 Oct 2006, at 18:31, Hans Hagen wrote:
>> \definelayer[blabla][width=20cm,height30cm]
>>
>> etc etc
>>
>> --
>>
>> -----------------------------------------------------------------
>> Hans Hagen | PRAGMA ADE
>> Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>> tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
>> | www.pragma-pod.nl
>> -----------------------------------------------------------------
>>
>> _______________________________________________
>> ntg-context mailing list
>> ntg-context at ntg.nl
>> http://www.ntg.nl/mailman/listinfo/ntg-context
>>
>>
> Andrea Valle
> DAMS - Facoltà di Scienze della Formazione
> Università degli Studi di Torino
> http://www.semiotiche.it/andrea
> andrea.valle at unito.it
>
> _______________________________________________
> ntg-context mailing list
> ntg-context at ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>
>
More information about the ntg-context
mailing list