Atrium — shared contracts and the typesetting engine
    Preparing search index...

    Function createEnglishHyphenator

    Line breaking and glue setting. model.ts's vocabulary is already exported above.

    • The en-US hyphenator, TeX's own patterns.

      The Hypher instance is built once and shared: constructing it walks ~4500 patterns into a trie, and doing that per paragraph would dominate the cost of setting a document. Sharing is safe because the object is read-only after construction, and it cannot affect output because the trie is a pure function of the pattern file.

      \lefthyphenmin and \righthyphenmin come from the pattern file (2 and 3 for English, the same values plain TeX uses) and hypher applies them itself.

      Returns Hyphenator