Closed jeanas closed 1 week ago
Hi @jeanas, I think the authors are preparing for a v2.0.0 release compatible with the current typst master. See https://github.com/sahasatvik/typst-theorems/tree/v2.0.0
In the meantime before this is fixed, I'm gonna shamelessly advertise my new package great-theorems ;)
You can achieve basically all the same things as ctheorems
, the main difference is that I separate counters and theorems strictly, and put counters into a separate package which is usable on its own. This allows you to e.g. have figures and theorems use the same counter (which can depend on the heading counter).
For the counter functionality you can use one of the two packages rich-counters or headcount.
Using current Typst master at commit typst/typst@d84a7e423b53e9b5740720270b132da60c8a3fea, the example document from https://typst.app/universe/package/ctheorems/ yields warnings:
Also, the text inside theorems gets centered, which is unwanted: