Hans van der Meer schrieb am 07.06.2021 um 22:57:
As can be seen in this screenshot, the text overshoots on the right side
the boundary of the fairly narrow \framedtext.
My intent is to not hyphenate the names, even if that means a ragged
edge on the right side.
But at the same time the text must absolutely stay within the confines
of the framedtext.
I played with \raggedright, \tolerance, \looseness, \emergencystretch
but no combination of them seems sufficient fto force all gtext inside.
Is there another solution to force the text inside the box or do I have
to insert linebreaks manually (a nuisance to be avoided, of course.)
Use the align key.
\starttext
\startframedtext[width=10cm,align={flushleft,nothyphenated}]
Martinus, zoon van Johannes van Zonnevelt en Johanna
Teikenbort: getuigen Adrianus van Zonnevelt en Anna
van Oostbroek.
\stopframedtext
\stoptext
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________