mitex-rs / mitex

LaTeX support for Typst, powered by Rust and WASM. https://mitex-rs.github.io/mitex/
https://mitex-rs.github.io/mitex/tools/underleaf.html
Apache License 2.0
240 stars 8 forks source link

`\rangle` error for inline LaTeX `#mi` #169

Closed Yiyi-philosophy closed 1 month ago

Yiyi-philosophy commented 1 month ago

version: 0.2.4: problem:

#mi("\langle{w_1}\rangle")
#mitex(`\langle{w_1}\rangle`)

is different, and #mi fail to generate \rangle.

by the way, could anyone tell me that how to present $\langle \rangle$ in typst?

OrangeX4 commented 1 month ago

You shouldn't use double quotes "" because you need to deal with escapes.

---Original--- From: "Yiran @.> Date: Sun, Jun 2, 2024 15:58 PM To: @.>; Cc: @.***>; Subject: [mitex-rs/mitex] \rangle error for inline LaTeX #mi (Issue #169)

version: 0.2.4: problem:

mi("\langle{w_1}\rangle") #mitex(\langle{w_1}\rangle)

is different, and #mi fail to generate \range.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

Yiyi-philosophy commented 1 month ago

OK i see, thx