As shown in the example and documentation, unnumbered theorem environments appear to have extra space after the name:
It would look better if rendered as "Example: The numbers...", i.e., with no space before the colon character. This would also be consistent with the LaTeX amsthm behavior.
As shown in the example and documentation, unnumbered theorem environments appear to have extra space after the name:
It would look better if rendered as "Example: The numbers...", i.e., with no space before the colon character. This would also be consistent with the LaTeX amsthm behavior.
I don't know typst, but it seems to me that the issue appears due to the incompatibility between the lines https://github.com/sahasatvik/typst-theorems/blob/1f56a2002eae445a6de8c6883687afb43cb62d3c/theorems.typ#L34 (setting number to empty text) and https://github.com/sahasatvik/typst-theorems/blob/1f56a2002eae445a6de8c6883687afb43cb62d3c/theorems.typ#L123 (where
[]
is notnone
).