On 10/11/2021 12:16 AM, noib3 via ntg-context wrote:
How can I make vertical microadjustments to individual characters in ConTeXt?

In LaTeX I would do it with

```
\documentclass{article}
\begin{document}
\raisebox{-1pt}{f}oo
\end{document}
```

however the following doesn't work

```
\starttext
\raisebox{-1pt}{f}oo
\stoptext
depends on if you want to keep kerning and ligature building etc

\starttext

xx\glyph yoffset 1pt `f\relax oo

xx\glyph yoffset 1pt `f\relax \glyph yoffset -1pt `o\relax \glyph yoffset 2pt `o\relax

xx\glyph yoffset 1pt `f\relax fi

\dontleavehmode\offset[y=-1pt]{f}oo

\stoptext


-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to