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

Typst: $\partial_{[i} f_{j]}$ is rendered incorrectly #1766

Closed
certik opened this issue Jan 11, 2025 · 1 comment
Closed

Typst: $\partial_{[i} f_{j]}$ is rendered incorrectly #1766

certik opened this issue Jan 11, 2025 · 1 comment
Labels
bug Something isn't working typst

Comments

@certik
Copy link

certik commented Jan 11, 2025

Here is the source code:

* 0-form: $\partial_i f$
* 1-form: $\partial_{[i} f_{j]}$
* 2-form: $\partial_{[i} A_{jk]}$
* 3-form: $\partial_{[i} A_{jkl]} = 0$ (in 3 dimensions, since rank 4 fully
  antisymmetric tensor in 3D is identically 0)

Here is how it looks like in the typst output:

Image

and here is how it looks like in latex:

Image

Latex is correct, typst is incorrect.

@certik certik added the bug Something isn't working label Jan 11, 2025
@rowanc1 rowanc1 added the typst label Jan 13, 2025
@rowanc1
Copy link
Member

rowanc1 commented Jan 13, 2025

Looks like if the brackets are not balanced, they need to be spelled out (i.e. bracket.r). Will get a PR together.

rowanc1 added a commit to continuous-foundation/tex-to-typst that referenced this issue Jan 14, 2025
Fixes brackets to be spelled out if they are not balanced.

See jupyter-book/mystmd#1766
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

2 participants