We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/FujishigeTemma/typst-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
symbol.md•986 B
# Symbol
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]($scripting/#fields):
- General symbols are defined in the [`sym` module]($category/symbols/sym)
and are accessible without the `sym.` prefix in math mode.
- Emoji are defined in the [`emoji` module]($category/symbols/emoji)
Moreover, you can define custom symbols with this type's constructor
function.
```example
#sym.arrow.r \
#sym.gt.eq.not \
$gt.eq.not$ \
#emoji.face.halo
```
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.
```example
$arrow.l$ \
$arrow.r$ \
$arrow.t.quad$
```
## Constructor
### `symbol`
Create a custom symbol with modifiers.