johanvx / typst-undergradmath

A Typst port of undergradmath
Creative Commons Attribution Share Alike 4.0 International
109 stars 7 forks source link

Unintended space before and after slash in inline fraction #1

Closed johanvx closed 1 year ago

johanvx commented 1 year ago

In the Common constructs section, there is a space before the symbol slash in math output, also a space after the symbol. This is different from the LaTeX math output.


LaTeX 2/3

image

Typst `2 slash 3`

Typst 2 \/ 3 or 2 slash 3


johanvx commented 1 year ago

This can be fixed by $"2/3"$, but I won't adopt it as it's ugly in code (the output is "fine" though).

johanvx commented 1 year ago

Related to typst/typst/issues/979.

johanvx commented 1 year ago

Related to typst/typst/issues/979.

Fixed by typst/typst/issues/1855. See Release v1.0.0 for the update.