Re: [NTG-context] keep text strictly inside box
Taco Hoekwater schrieb am 08.06.2021 um 08:42: On 7 Jun 2021, at 23:07, Wolfgang Schuster wrote: Use the align key. \starttext \startframedtext[width=10cm,align={flushleft,nothyphenated}] Also, ‘verytolerant’ helps: align={flushleft,nothyphenated,verytolerant}] Another option is to add‘broad’ when you have ragged or centered text, e.g. align={flushleft,broad,nothyphenated} 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 ___
Re: [NTG-context] keep text strictly inside box
> On 7 Jun 2021, at 23:07, Wolfgang Schuster > wrote: > > Use the align key. > > \starttext > > \startframedtext[width=10cm,align={flushleft,nothyphenated}] Also, ‘verytolerant’ helps: > align={flushleft,nothyphenated,verytolerant}] Best wishes, Taco > > 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 > ___ ___ 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 ___
Re: [NTG-context] keep text strictly inside box
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 ___