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== Bibliography14
15To use a bibliography, add it at the end of your document:16
17```typst18#bibliography("refs.bib")19```20
21Typst supports BibTeX (`.bib`) and Hayagriva (`.yml`) bibliography formats. Citation styles can be set with:22
23```typst24#set bibliography(style: "ieee")25```26
27Available styles include: `apa`, `ieee`, `chicago-author-date`, `mla`, and many others.28
29== Inline citations30
31Different citation forms:32
33- Parenthetical: #cite(<knuth1984>, form: "prose") discusses this topic34- Just the year: published in #cite(<knuth1984>, form: "year")35
36== How it works on sublimated37
38Push your `.typ` file alongside a `.bib` file in the same folder. The compiler resolves the bibliography automatically through relative path imports. v1 of v2
commit 38ef659
message create bibliography.typ via macOS
author anton
date Apr 18, 2026
size 1.1 KB