Graphics and media/Boxes and stacking mechanisms/Positioning

Unofficial ConTeXt Wiki mirror

Last modified: 2025-02-01

How to identify and use the position of content on the page

Here are first commands (anch-pos.mkiv):

Here is an example where

LuaMetaFun version

With MetaPost commands

And you can also replace \hpos{locA} by a region=locA parameter.

How to draw links between words on the page

The drawing of the arrow can be slightly improved

Generalise to several pairs of words

Anchors within frames

Anchors allows to work with positioning of specif points within a frame. You can use anchors with the following commands:

With matrices - example 1

With matrices - example 2

See also