Am Montag, 30. September 2024, 05:58:10 MESZ schrieb ai2472206007@yeah.net:
I'm not sure I understand your needs. But if you don't want a background, but just need a border. You can try command “startsidebar“ : https://wiki.contextgarden.net/Command/setupsidebar
Thank you for that command, it is pretty much that what I want. In contrast to a textbackground, it seems to be always in the margin of the page. I tried: ``` \definesidebar[excursussb][ rulethickness=1mm, rulecolor=darkred, distance=1mm, % <- this seems to be not respected for text that is narrower ] \definedescription[excursus][ text={Excursus:\ }, alternative=top, headstyle=bold, width=broad, before={\startnarrower\startsidebar[exkursussb]}, after={\stopsidebar\stopnarrower}, ] ``` The more relevant problem, however, is that it does not work with footnotes. I got exactly the same problems like with textbackground (see the stackexchange post for screenshots). Gerion