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

    Function documentDesign

    Page design: the sizes and dimensions article.cls would have supplied.

    • Apply \documentclass options and \usepackage[...]{geometry} to the default design.

      Only the options that change geometry are read. Anything else in the option list is reported rather than ignored, because a geometry option that silently did nothing would produce a document with the wrong margins and no sign of why (D38).

      Parameters

      • document: LatexDocument
      • file: string
      • diagnostics: {
            code?:
                | "syntax"
                | "unsupported"
                | "undefined-command"
                | "undefined-environment"
                | "undefined-reference"
                | "duplicate-label"
                | "missing-file"
                | "missing-font"
                | "overfull-box"
                | "underfull-box"
                | "budget-exceeded"
                | "limit-exceeded"
                | "stopped"
                | "internal";
            column?: number;
            construct?: string;
            file: string;
            line: number;
            message: string;
            severity: "error"
            | "warning"
            | "info";
        }[]

      Returns PageDesign