noib3 via ntg-context schrieb am 11.10.2021 um 00:16:
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
```
The \raisebox command expects a box for the second argument. A better
solution is to use the \offset command but in both cases you need
\dontleavehmode at the start of a paragraph.
%%%% begin example
\starttext
\dontleavehmode\raisebox{1pt}\hbox{f}oo
\dontleavehmode\offset[y=-1pt]{f}oo
\stoptext
%%%% end example
Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________