Am 30.09.2025 um 14:35 schrieb Ursula Hermann:
Dear List,

I have the followimg example, where the Sectionnumber Is not in the same line, as the text after the frame.

\setuppapersize[A4,width=19cm,height=24cm]]

This doesn't work, you need:

\definepapersize [uschi] [width=19cm,height=24cm]

\setuppapersize [uschi]

\starttext

3.11\line{\framed[frame=,leftframe=on,rulethickness=4pt,framecolor=red]{foo}
}

\stoptext

How can I put both in the same line?

3.11\inframed[frame=,leftframe=on,rulethickness=4pt,framecolor=red]{foo}

and drop \line because it creates a horizontal box with a width of the textblock, as you have also text before the box \line extends into the right margin and you get a overfull box message.

Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to