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

    Variable HEADING_DESIGNConst

    HEADING_DESIGN: Readonly<Record<HeadingLevel, HeadingDesign>> = ...

    \section … \paragraph as article.cls defines them. The face is already bold in the document model (chunk 6 resolves \bfseries into the title's inline styles), so only the size is supplied here.

    \paragraph's afterskip is -1em in article.cls, not a positive ex value like the other three — negative signals a run-in heading in real \@startsection, where the title becomes the leading material of the paragraph that textually follows rather than getting a line (or a vertical skip) of its own; layoutRunInParagraph in vlist.ts implements that branch and does not read afterEx at all for paragraph. This entry (1, ex not em, a plain guess rather than a transcribed value) survives only as layoutHeading's fallback vertical gap for the rare case nothing textually follows to run into — see that function's caller in vlist.ts.