10 Oct
2021
10 Oct
'21
10:25 p.m.
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