Hello Wolfgang
Thanks for that - I thought there would probably be a way of manipulating a
paragraph through some other mechanism, and the temporary alignment setting
does the job. (I'll investigate at some point how to do the reverse since
sometimes one wants to lose a line, typically so that a
Dear Denis
Thanks for the link. I find that \looseness doesn't have any effect
(though it doesn't generate an error), but Wolfgang has indicated another
way of achieving the same thing (which is wordy but can be converted into a
short macro name).
Best wishes
John Waś *🇪🇺 * Слава Україні!
* 🇺🇦
Thanks Mikail
I'll look into this when I'm back at my desk. In XeTeX I'm used to
looseness always working when the number is positive (generally just 1, of
course), even if that produces horrible interword spacing, while if the
number is negative it sometimes doesn't work at all if it simply can't
First, just guessing but maybe if more adds a line there might also be a less
parameter.
Anyway, this here works for me as well (adapted from Hans’s example,
https://mailman.ntg.nl/archives/list/ntg-context@ntg.nl/message/6MRZEFJD5SGIQXJQQOENETERY5FKMG6S/):
\starttext
\startlinenumber
Hi John,
I don't know what you are doing, maybe an example is needed. Since you have
used TeX for such a long time I assume that you know that looseness is
bound to the current paragraph and that it does not always change the
output of it.
Here is one example that shortens one line:
\setuplayou
Emanuel Han via ntg-context schrieb am Do., 26. Juni
2025, 06:22:
> I want to have sans serif for the text inside the frame.
>
> While the first example is showing the text with serifs,
> the second example is typeset in sans serif indeed, but unfortunately
> without the first letter (m here).
>
I want to have sans serif for the text inside the frame.
While the first example is showing the text with serifs,
the second example is typeset in sans serif indeed, but unfortunately
without the first letter (m here).
\starttext
%first example
\framed[frame=on, corner=round, radius=.3em, l
You're mixing up two different syntaxes. It's either
\startframed[...]
Content
\stopframed
or
\framed[...]{Content}
Duncan
On Thu, 26 Jun 2025, 05:21 Emanuel Han via ntg-context,
wrote:
> I want to have sans serif for the text inside the frame.
>
> While the first example is showing the text