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

    Function computeGlueSet

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

    • Set glue so that extent fills exactly target, TeX's hpack §658–§664.

      The order semantics are the subtle part and the thing PDF emission depends on: only glue whose order equals set.order moves at all. Finite glue on a line that also contains \hfil gets nothing — which is exactly why \hfil …\hfil centres its content instead of merely loosening the spaces.

      Parameters

      • extent: Extent
      • target: number

      Returns GlueSetting