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

    Interface CitationInline

    \cite{a,b} and friends. text is mutable on purpose, exactly as ReferenceInline.text is: it starts as UNRESOLVED_CITATION and the bibliography pass fills it in once every key is known (doc/bib.ts, chunk 39.5). Layout reads it at shaping time, so a later pass sees the rewrite.

    interface CitationInline {
        construct: string;
        keys: readonly string[];
        kind: "citation";
        loc: SourceRef;
        style: CitationStyle;
        text: string;
        textStyle: TextStyle;
    }

    Hierarchy

    • InlineBase
      • CitationInline
    Index
    construct: string

    The command as written, "\\citep", for diagnostics.

    keys: readonly string[]

    The keys in {a,b}, in the order written, trimmed and non-empty.

    kind: "citation"

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

    text: string

    What prints. [?] until the bibliography resolves it — visible in the PDF, by design.

    textStyle: TextStyle