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

Angular brackets in typst #1688

Open
lorenzo-rovigatti opened this issue Dec 2, 2024 · 1 comment
Open

Angular brackets in typst #1688

lorenzo-rovigatti opened this issue Dec 2, 2024 · 1 comment
Labels
bug Something isn't working typst

Comments

@lorenzo-rovigatti
Copy link

Hi! It looks like the \langle and \rangle math commands don't work with typst. To test it, just try to export to typst this simple equation:

\langle A \rangle

which should give

$$ \langle A \rangle $$

On my computer (myst 1.3.18, typst 0.12.0) I get these errors:

error: unknown variable: langle
   ┌─ _build/temp/mystJryZMx/book_typst.typ:30:2
   │
30 │ $ lang
le a rangle $
   │   ^^^^^^
   │
   = hint: if you meant to display multiple letters as is, try adding spaces between each letter: `l a n g l e`
   = hint: or if you meant to display this as text, try placing it in quotes: `"langle"`


Error: Command failed: typst compile "/tmp/TYPST/_build/temp/mystJryZMx/book_typst.typ"
error: unknown variable: langle
   ┌─ _build/temp/mystJryZMx/book_typst.typ:30:2
   │
30 │ $ langle a rangle $
   │   ^^^^^^
   │
   = hint: if you meant to display multiple letters as is, try adding spaces between each letter: `l a n g l e`
   = hint: or if you meant to display this as text, try placing it in quotes: `"langle"`
@lorenzo-rovigatti lorenzo-rovigatti added the bug Something isn't working label Dec 2, 2024
@rowanc1
Copy link
Member

rowanc1 commented Dec 2, 2024

Thank you for the bug report!

@agoose77 agoose77 added the typst label Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working typst
Projects
None yet
Development

No branches or pull requests

3 participants