Hello,
thanks Peter for the explanation.
On Fri, 07 Jun 2013 14:41:45 +0200, Peter Rolf
The layer is divided into a 2x2 matrix of squares, where 'x' is the center. This gets you a total of 3x3=9 different corners.
o---o---o | | | o---x---o | | | o---o---o
Now you choose one 'corner' (the reference point) for the placement. The placement is done in relation to this point. The chosen 'corner' c is our new 'center point' (only for placement) now.
With 'location' you define, where (in relation to 'corner') the content is placed. Again you have nine different corners to choose from.
An example to make this clear.
'corner={top,right}, location={bottom,right}' will place content in the area L (outside the original layer). Think about the 'corner' c as a magnetic grid point, where the content snaps to. The 'location' l defines, from which direction we approach the point c.
x = layer center point c = corner 'top,right', d = location 'bottom right', L = location (area)
o---o---o | | | ----o---c---o | | | L | ----x---o---d | | | ---------
I hope I haven't mixed things up. Feel free to correct this and to wikify the final version.
I added some info to wiki: http://wiki.contextgarden.net/Layers#Understanding_.22location.22_and_.22cor... Best regards, Lukas
Peter
-- Ing. Lukáš Procházka [mailto:LPr@pontex.cz] Pontex s. r. o. [mailto:pontex@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038