Typst Fumadocs

Symbol

Documentation for the Symbol type.

A Unicode symbol.

Typst defines common symbols so that they can easily be written with standard keyboards. The symbols are defined in modules, from which they can be accessed using field access notation:

  • General symbols are defined in the sym module and are accessible without the sym. prefix in math mode.
  • Emoji are defined in the emoji module

Moreover, you can define custom symbols with this type's constructor function.

Loading compiler...

Many symbols have different variants, which can be selected by appending the modifiers with dot notation. The order of the modifiers is not relevant. Visit the documentation pages of the symbol modules and click on a symbol to see its available variants.

Loading compiler...

Constructor

Create a custom symbol with modifiers.

Loading compiler...
#symbol(
  variants
) -> symbol

Parameters

Prop

Type

On this page