Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Config

There are two kinds of configs, system configs and the project config, these have different but overlapping.

Project Config

The project config is specified in the typst.toml manifest under the tool.tytanic section.

KeyDefaultDescription
tests"tests"The path in which unit tests are found, relative to the project root.
default.dirltrSets the default direction used for creating difference documents, expects either ltr or rtl as an argument. Can be overridden per test using an annotation.
default.ppi144.0Sets the default pixel per inch used for exporting and comparing documents, expects a floating point value as an argument. Can be overridden per test using an annotation.
default.max-delta1Sets the default maximum allowed per-pixel delta, expects an integer between 0 and 255 as an argument. Can be overridden per test using an annotation.
default.max-deviations0Sets the default maximum allowed deviations, expects an integer as an argument. Can be overridden per test using an annotation.

System Config

There are currently no system config options and the config is not yet loaded.