Am Montag, 30. September 2024, 05:58:10 MESZ schrieb [email protected]: > 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
signature.asc
Description: This is a digitally signed message part.
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : [email protected] / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________
