
On 6/14/2025 9:46 AM, Damien Thiriet via ntg-context wrote:
Hi,
My presentations are using the luciole font (https://luciole- vision.com/), a font designed for eyed-impaired people and big sizes. It is quite appreciated by my pupils. However, some titles are overboxed. There is certainly a way to force line break and avoid such breaks, but I don't know it (although I attended Hans and Mikael's brilliant speeches about \penalty ).
just don't justify: \setuphead[align=flushleft]
I designed a MWE reproducing this with Latin Modern Sans.
\setuppapersize [S3]
\setupbodyfont [sans,24pt] \setupalign[nothyphenated] \setuptolerance[verytolerant,stretch]
\starttext \startsection[title={Don't be hyphenated, no overfullboxes}] \input ward \stopsection \stoptext
Thanks,
Damien
PS: For those interested in Luciole, my typescripts:
%\starttypescript [luciole] % \definefontsynonym [Luciole-Regular] [file:Luciole-Regular] % \definefontsynonym [Luciole-Italic] [file:Luciole-Regular-Italic] % \definefontsynonym [Luciole-BoldItalic] [file:Luciole-Bold-Italic] % \definefontsynonym [Luciole-Bold] [file:Luciole-Bold] %\stoptypescript % %\starttypescript [luciole] % \setups [font:fallback:sans] % \definefontsynonym[Sans] [Luciole-Regular] [features=default] % \definefontsynonym[SansItalic] [Luciole-Italic] [features=default] % \definefontsynonym[SansBoldItalic] [Luciole-BoldItalic] [features=default] % \definefontsynonym[SansBold] [Luciole-Bold] [features=default] %\stoptypescript % %\starttypescript [luciole] % \definetypeface [luciole] [ss] [sans] [luciole] [default] %\stoptypescript %
%\usetypescriptfile [luciole] %\setupbodyfont[luciole,sans,24pt]
___________________________________________________________________________________ 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 ___________________________________________________________________________________
-- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------