20 Apr
2019
20 Apr
'19
12:53 p.m.
Hi, I'm trying to create a style with a left border in the margin. I want the border to start and stop with the text. For the bottom I used framedepth but the bar still goes too far on the top? \showframe \showboxes \defineframedtext[leftbartext][ width=broad, frame=off, leftframe=on, rulethickness=.5ex, offset=-\framedparameter{rulethickness}, frameoffset=\dimexpr\leftmargindistance + \framedparameter{rulethickness}\relax, framedepth=-\framedparameter{frameoffset}, ] \starttext \startleftbartext \input knuth \stopleftbartext \stoptext Regards, Gilles