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

    Interface PlacedMath

    A set formula placed on a page — $x^2$ or a display. y is its top edge, like a rule's and an image's, and height is the whole box: the formula's height and its depth, since a formula hangs below the baseline it was placed on.

    The picture rides along, already parsed, for the reason PlacedImage carries its bytes: emission has nothing to look anything up in (the engine performs no I/O, D38). pdf/content.ts maps the SVG's viewBox onto this rectangle and writes path operators straight into the page's content stream — no XObject, no resource dictionary, nothing to register.

    interface PlacedMath {
        height: number;
        kind: "math";
        loc: SourceRef;
        picture: SvgDocument;
        source: string;
        width: number;
        x: number;
        y: number;
    }
    Index
    height: number
    kind: "math"

    Where it was written, so an emission-time complaint still points somewhere useful.

    picture: SvgDocument

    The MathJax <svg>, parsed during layout so a failure could name a source line.

    source: string

    The TeX it was set from, for golden dumps.

    width: number
    x: number
    y: number