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

    Interface ImageInline

    \includegraphics[...]{file} — horizontal material, so an inline: it can sit in a paragraph, and inside a figure it is a paragraph of its own.

    No bytes here, and no intrinsic size. The engine performs no I/O (D38): the file arrives in compile()'s file map like every other input, and decoding it is src/image/'s job at layout time. This node carries only what the source said.

    interface ImageInline {
        kind: "image";
        loc: SourceRef;
        path: string;
        sizing: ImageSizing;
        style: TextStyle;
    }

    Hierarchy

    • InlineBase
      • ImageInline
    Index
    kind: "image"

    Where this material starts in the source. Only start — see SourceSpan.

    path: string

    The name as written, \includegraphics{fig/plot}'s fig/plot — no extension guessing here.

    sizing: ImageSizing
    style: TextStyle

    The style in force, for a diagnostic that needs to name the surroundings.