Typst Fumadocs

Cite

Documentation for the `cite` function.

Cite a work from the bibliography.

Before you starting citing, you need to add a bibliography somewhere in your document.

Example

This was already noted bypirates long ago. @arrghMultiple sources say ...@arrgh @netwok.You can also call `cite`explicitly. #cite(<arrgh>)#bibliography("works.bib")
Preview

If your source name contains certain characters such as slashes, which are not recognized by the <> syntax, you can explicitly call label instead.

Computer Modern is an example of a modernist serif typeface.
#cite(label("DBLP:books/lib/Knuth86a")).

Syntax

This function indirectly has dedicated syntax. References can be used to cite works from the bibliography. The label then corresponds to the citation key.

#cite(
  key,
  supplement: none | content,
  form: none | str,
  style: auto | str | bytes
) -> content

Parameters

Prop

Type

On this page