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

Wolfgang Schuster wolfgang.schuster.lists at gmail.com
Fri Feb 12 13:47:33 CET 2021


Peter M√ľnster schrieb am 12.02.2021 um 13:31:
> Hi,
> 
> When I want to type an "i" in the position-command, there is some
> vertical offset:
> 
> \starttext
> \startpositioning
> \position(1, 1){i} \position(2, 1){x}
> \position(1, 2){x} \position(2, 2){i}
> \position(1, 3){a} \position(2, 3){x}
> \position(1, 4){x} \position(2, 4){a}
> \stoppositioning
> \stoptext
> 
> Why is it so, and how could I avoid that please?

1. Because the letters have different heights.

\startTEXpage[offset=1ex]
\processisolatedchars{aix}\ruledhbox
\stopTEXpage

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

Wolfgang


More information about the ntg-context mailing list