1= Citations and bibliography2
3Typst has built-in citation and bibliography support.4
5== Citing sources6
7Citations use the `@key` syntax, referencing entries in a `.bib` or `.yml` bibliography file.8
9As described by @knuth1984, the art of computer programming requires careful attention to algorithms. Modern typesetting builds on decades of work @lamport1994.10
11The web has fundamentally changed publishing @berners-lee1989.12
13== Citation forms14
15Different ways to cite:16
17- Default: @knuth198418- Prose form: #cite(<knuth1984>, form: "prose")19
20== Styles21
22Citation style can be set with:23
24```typst25#set bibliography(style: "ieee")26```27
28Available styles include: `apa`, `ieee`, `chicago-author-date`, `mla`, and many others.29
30== How it works on sublimated31
32Push your `.typ` file alongside a `.bib` file in the same folder. The compiler resolves the bibliography automatically through relative path imports.33
34== References35
36#bibliography("refs.bib") v2
commit 6effa5d
message edit bibliography.typ via macOS
author anton
date Apr 18, 2026
size 943 B