Re: [NTG-context] Typing in natural width box

2016-11-09 Thread Hans Hagen
On 11/8/2016 3:10 PM, Henri Menke wrote: 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

Re: [NTG-context] Typing in natural width box

2016-11-08 Thread Henri Menke
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{%

[NTG-context] Typing in natural width box

2016-11-08 Thread Henri Menke
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