On 2/2/2026 6:01 PM, Henning Hraban Ramm wrote:

* What’s the meaning of anchoring, xanchor, yanchor?

It's basically just an interface to box manipulation (esp xoffset and yoffset and orientation). Just one of the many (known) secrets of luametatex.

Hans


-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
\continuewhenlmtxmode

\startTEXpage[offset=15TS]

    \framed
        [anchoring={flushleft,top,up},offset=overlay]
        {anchoring}

    \framed
        [anchoring={flushleft,top,up},offset=overlay,xanchor=-1cm]
        {anchoring}

    \framed
        [anchoring={flushright,top,up},offset=overlay,yanchor=-1cm]
        {anchoring}

    \blank[3*line]

    x\hbox yoffset -1lh to 0pt{\hss anchoring\hss}x

\stopTEXpage
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to