Elliot Clifton wrote:
Thank you very much Taco. It works very well. It really is useful to be able to select less aggressive hyphenation when necessary.
here is a variant: stepwise and relative to the current values: \unprotect \startvariables all lesshyphenation: lesshyphenation morehyphenation: morehyphenation \stopvariables \def\lesshyphens {\lefthyphenmin =\numexpr\lefthyphenmin +1\relax \righthyphenmin=\numexpr\righthyphenmin+1\relax} \def\morehyphens {\ifcase\lefthyphenmin \else \lefthyphenmin =\numexpr\lefthyphenmin +1\relax \fi \ifcase\righthyphenmin\else \righthyphenmin=\numexpr\righthyphenmin+1\relax \fi} \installalign \v!lesshyphenation {\lesshyphens} \installalign \v!morehyphenation {\morehyphens} %D The next two lines implement 'align=lesshyphenation' as an option %D for \type{\framed} etc. \setvalue{\@@ragged@@command\v!lesshyphenation}{\appendtoks\lesshyphens\to\everyraggedcommand} \setvalue{\@@ragged@@command\v!morehyphenation}{\appendtoks\morehyphens\to\everyraggedcommand} \protect Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------