TypstDocumentation

Meta

Document structuring, introspection, and metadata configuration.

Here, you can find functions to structure your document and interact with that structure. This includes section headings and figures, bibliography management, cross-referencing and more.

Moreover, this category is home to Typst's introspection capabilities: With the counter function, you can access and manipulate page, section, figure, and equation counters or create custom ones. And the query function lets you search for elements in the document to construct things like a list of figures or headers which show the current chapter title.

Functions