Releases: sahasatvik/typst-theorems
Releases · sahasatvik/typst-theorems
v1.1.3
v1.1.2
- Introduced the
thmproof
function for creating proof environments. - Inserting
#qedhere
in 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
thmbox
are 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 withrefnumbering
to control the appearance of@reference
s.
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@references
implemented.
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
figure
s, inspired by lemmify, an admittedly hacky solution to allow attaching<label>
s.
v0.1.0
- Numbered theorem environments via
thmenv
. - References via
thmref
and labels. - Predefined box and plain theorem styles, via
thmbox
andthmplain
.