From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: ntg-context@ntg.nl
Subject: [NTG-context] Re: Sectionnumber and foo on the same line
Date: Tue, 30 Sep 2025 16:14:43 +0200 [thread overview]
Message-ID: <24e88751-b7f7-4643-9b17-93951183f259@gmail.com> (raw)
In-Reply-To: <403b65c239e44bdaa28557c80bab1e79@univie.ac.at>
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 : ntg-context@ntg.nl / 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
___________________________________________________________________________________
next prev parent reply other threads:[~2025-09-30 14:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-30 12:35 [NTG-context] " Ursula Hermann
2025-09-30 14:14 ` Wolfgang Schuster [this message]
2025-10-01 8:16 ` [NTG-context] " Ursula Hermann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=24e88751-b7f7-4643-9b17-93951183f259@gmail.com \
--to=wolfgang.schuster.lists@gmail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).