sahasatvik / typst-theorems

An implementation of numbered theorem environments in typst
MIT License
209 stars 13 forks source link

Add configurable separator (currently #h(0.1em):#h(0.2em)) #3

Closed rmolinari closed 1 year ago

rmolinari commented 1 year ago

Thanks for this great package!

I would like to typset theorems and lemmas without a colon between "Theorem " and the body: image (Note the difference between the lemma and its proof.)

typst-theorems hardcodes this separator as #h(0.1em):#h(0.2em). I suggest adding a parameter to thmbox with this value as a default.

I will submit a pull request.