Releases: sahasatvik/typst-theorems
Releases · sahasatvik/typst-theorems
v1.1.3
v1.1.2
- Introduced the
thmprooffunction for creating proof environments. - Inserting
#qedherein a block equation/list/enum item (in a proof) places the qed symbol on the same line. The qed symbol can be customized viathmrules.
v1.1.1
- Extra named arguments given to a theorem environment produced by
thmbox(orthmplain) are passed toblock.
Notes
See #17 (comment) for an illustration of this feature.
v1.1.0
- Extra named arguments given to
thmboxare passed toblock. - Fixed spacing bug for unnumbered environments.
Breaking changes
- The
supplement(for references) is no longer set inthmenv. It can be passed to the theorem environment directly, along withrefnumberingto control the appearance of@references.
Notes
- The 'dummy figure' (used for marking a location for accessing the correct counter) has been replaced with labelled metadata.
v1.0.0
- Normal use of
<label>s and@referencesimplemented.
Breaking changes
- Removed
thmref. - Import must be followed by
show: thmrules. - Syntax change from
#theorem(name: "Euclid")[]to simply#theorem("Euclid")[].
Notes
- Theorem environments are wrapped in
figures, inspired by lemmify, an admittedly hacky solution to allow attaching<label>s.
v0.1.0
- Numbered theorem environments via
thmenv. - References via
thmrefand labels. - Predefined box and plain theorem styles, via
thmboxandthmplain.