[NTG-context] vertical offset with "i" in position-command

Peter M√ľnster pm at a16n.net
Fri Feb 12 14:22:23 CET 2021


On Fri, Feb 12 2021, Wolfgang Schuster wrote:

> 2. Add \strut, e.g. \position(1, 1){\strut i}

Ah, thanks. So the anchor is not the baseline, but the top-left corner of
the content.

Since "\setuppositioning[before=\strut]" does not work, I use this
workaround now:
\def\myPosition(#1, #2)#3{\position(#1, #2){\strut#3}}

Would it make sense to add the "before" key to \setuppositioning?

-- 
           Peter


More information about the ntg-context mailing list