Templates¶
We have created two different templates: One based on LaTeX and one based on Typst. These templates are available through kit and are called upon using the starterkit: that is, the starterkit automatically builds the Typst pdf with every commit and the LaTeX pdf can be manually triggered.
Many more templates are available, visit myst-templates or run in the terminal:
If you want to know more about a specific template, visit either that template repository or run some command in the terminal. The latter shows the information from the template.yml like whether the number of columns can be set.
Thesis templates¶
We have created the two templates with default settings which can be override with the export.yml file that is included. In the next chapters these default settings are elaborated as well as how to change the template to your own preferences.
Additionally we dedicate a chapter to making your own template.
myst templates list --pdf
myst templates list arxiv_two_column --tex
Convert¶
myst build my-document.md --pdf
myst build my-document.md --typst
Final tweaks with typst¶
Final tweaks to a typst after automatic generation via Jupyter Book can be rendered by running:
typst compile main.typ
assuming that the main document is called main.typ and all other files are included or importated
or, specifying an output file:
typst compile main.typ output.pdf
A live preview of the typst document can be viewed by running:
typst watch main.typ
checks¶
Check whether typst is installed and which version by running:
typst --version