Page setup: paper, margins, headers and footers

Every page setting is one line under page: in the front matter, the same key in the API and the MCP tool. Each sample shows one of them on a real document.

Paper formats, landscape pages, custom sizes, margins, headers and footers in Markdown, and page numbers in any style, each set in front matter.

In the Markdown reference

The sample documents describe invented organizations in several countries. All names and figures are illustrative.