TypstDocumentation

documentShowable
Question mark

The root element of a document and its metadata.

All documents are automatically wrapped in a document element. The main use of this element is to use it in set rules to specify document metadata.

The metadata set with this function is not rendered within the document. Instead, it is embedded in the compiled PDF file.

Parameters
Question mark

title
nonestringSettable
Question mark

The document's title. This is often rendered as the title of the PDF viewer window.

author
nonestringSettable
Question mark

The document's author.