Templates
Start with an existing layout
Section titled “Start with an existing layout”On the dashboard, open New document and choose the template option. Pick a template that resembles the document you want to write, then open its main file.
Compile the unchanged template first. This gives you a working starting point before replacing its sample title, author, sections, and bibliography.
Change content before changing layout
Section titled “Change content before changing layout”A template may keep layout in another file or import a package. Look for the #import and #show lines near the beginning of the main file. Keep those lines while replacing sample prose.
For page size, margins, and text settings, inspect Document → Page & text setup…. A template may also provide its own parameters; use those when it expects them.
Reuse your own template
Section titled “Reuse your own template”On a document card, open More actions → Add to templates to include that existing document in Templates. This does not create a new document. Use Remove from templates to reverse it; use New document → From template… to create from a template.
For a one-off starting point, keep an editable project ZIP. For layouts shared across several documents, publish reusable definitions as a local package.
A personal copy of a shared document includes independent snapshots of its referenced local packages. Editing the copy does not grant permission to change the original template library.
Find public packages
Section titled “Find public packages”Document → Browse Typst Universe… helps you find public packages and insert imports. Packages may need network access on first use. Check their documentation for the version and usage expected by the template.
Slide examples
Section titled “Slide examples”Choose New document → From template… → Examples. The first four choices create editable slide projects, ready to compile and open with Present.

| Example | Format | Contents |
|---|---|---|
| Scientific presentation | 7 pages, 16:9 | A seminar starter with prompts for a question, methods, results, references and appendix. |
| Research talk · worked example | 6 pages, 16:9 | An illustrative memory study, a bar chart, uncertainty and limitations. All data is synthetic. |
| Journal club · critical discussion | 5 pages, 4:3 | A fictional paper, claims versus measured outcomes, study design and discussion questions. |
| Teaching slides · probability | 6 pages, 16:9 | Coin-toss predictions, an outcome table, a reveal on the next page and practice questions. |
Each choice creates a new project. Replace the sample content in main.typ; the three worked
examples also include an editable theme.typ for typography, spacing and footers. They do not
require external Typst packages. Research and journal-club examples are teaching material,
not published findings.
In the worked examples, add ratio: "4:3" or ratio: "16:9" to the deck.with(...) arguments.
The scientific starter sets its page size directly: change its height from 15.75 cm to 21 cm for
4:3 while keeping the 28 cm width. Recompile after changing the ratio and check that each slide
still fits.
Choose Present to rehearse with private notes, a timer and drawing tools. See Presenting documents.