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 ).

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
___________________________________________________________________________________

Reply via email to