Skip to content
This repository was archived by the owner on Jul 5, 2024. It is now read-only.
Discussion options

You must be logged in to vote

The syntax for unpacking in typst is shorthands.with(..custom_shorthands).

Also, you can probably use "scoped" shorthands like this:

#let custom_shorthands = ()

#custom_shorthands.push(...)
#shorthands(..custom_shorthands)[
  Arrows: \
  ...
]

#custom_shorthands.push(...)
...

#show: shorthands.with(..custom_shorthands)

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@davidleejy
Comment options

@EpicEricEE
Comment options

@davidleejy
Comment options

Answer selected by davidleejy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants