The solution is to use strut=no in the framed and clear the before and after
keys of the typing environment. I found it by accident on the wiki:
http://wiki.contextgarden.net/Verbatim_text#Making_a_tight_vertical_fit
---
\starttext
\ruledhbox{%
\startframed[width=fit,align=right,strut=no,of
I am busy to edit an older article in which there are a couple of chemical
fromulas and reactions.
However, I am stuck because the following throws me an error when uncommenting
the line with “\chemical{2H^\oplus}{~waterstof (zuur)}” (something with $
inserted…)
Another aspect is, that the {DE
Dear list,
To answer this question on TeX.SX
https://tex.stackexchange.com/questions/338135/ I was trying to put a typing
environment into a natural width box. It first seemed that framedtext is doing
what I was after but it turned out that only the frame is adjusted to natural
width, the und