[NTG-context] Visual highlighted text with title, mix of enumeration and framedtext
Henning Hraban Ramm
texml at fiee.net
Mon Mar 6 13:45:37 CET 2023
Am 06.03.23 um 12:19 schrieb Gerion Entrup via ntg-context:
> I want to typeset a "Good to know" section that is visually highlighted
> and can spawn across multiple pages.
> In LaTeX this would be possible with the mdframed package. See the
> attached screenshot for an example how it might look like (it is copied
> out of page 4: Definition: Inhomogeneous linear of the mdframed
> I have searched in the wiki and found \defineenumeration:
> This is near of that what I need. However I explicitly does not need an
> enumeration (so no number or counter). Also I am not sure if I can set a
> background and so on.
> The other possibility is \defineframedtext. For example this goes much
> in the direction that I want:
> However, there does not seem a possibility to define a title and it
> seems to not work on multiple pages.
> Is there a mix of an enumeration and framedtext that can produce
> something like in the attached picture?
If you donât need an enumeration, then donât use one.
Did you try text backgrounds?
And then use the plethora of \framed options.
More information about the ntg-context