Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add preamble for custom typst code #12

Open
cgahr opened this issue Nov 5, 2024 · 0 comments
Open

Add preamble for custom typst code #12

cgahr opened this issue Nov 5, 2024 · 0 comments

Comments

@cgahr
Copy link

cgahr commented Nov 5, 2024

Some backends like pgf/latex backend support preambles
#pgf.preamble: # See text.latex.preamble for documentation
It would be nice to support them as well for typst.

For example, I use

#let phi = math.phi.alt

to display the phi that I want without typing phi.alt. If I write $phi$ in i.e. labels, it does however display the standard phi and not the one that I want.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant