6effa5d ←fb5175cantonApr 18, 2026 api

edit bibliography.typ via macOS

M /docs/undefined
8 unmodified lines
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== Bibliography
13== Citation forms
14
15To use a bibliography, add it at the end of your document:
15Different ways to cite:
16
17```typst
18#bibliography("refs.bib")
19```
17- Default: @knuth1984
18- Prose form: #cite(<knuth1984>, form: "prose")
19
21Typst supports BibTeX (`.bib`) and Hayagriva (`.yml`) bibliography formats. Citation styles can be set with:
20== Styles
21
22Citation style can be set with:
23
24```typst
25#set bibliography(style: "ieee")
26```
27
28Available styles include: `apa`, `ieee`, `chicago-author-date`, `mla`, and many others.
29
29== Inline citations
30
31Different citation forms:
32
33- Parenthetical: #cite(<knuth1984>, form: "prose") discusses this topic
34- Just the year: published in #cite(<knuth1984>, form: "year")
35
30== How it works on sublimated
31
32Push your `.typ` file alongside a `.bib` file in the same folder. The compiler resolves the bibliography automatically through relative path imports.
33
34== References
35
36#bibliography("refs.bib")