Closed psads-git closed 2 months ago
You first need to create the theorem-functions like example
and then apply the styling:
#import "@preview/lemmify:0.1.5": *
#let (
theorem, lemma, corollary,
remark, proposition, example,
proof, rules: thm-rules
) = default-theorems("thm-group", lang: "en")
#show: thm-rules
#example(name: "xxx")[
#lorem(100)
]
That is it, @Marmare314. Thanks!
I am using the following code in
typst
0.11, but getting the error below. Could you please help me? Thanks!