Skip to content

Releases: nleanba/typst-theoretic

v0.3.1

04 Feb 09:15
029bc81

Choose a tag to compare

This release only fixes some bugs.

  • Improved handling of positional arguments: Fixes #6.
  • Fixed bug in QED-handling: Fixes #7.
  • Added missing color for "Proposition" in fancy preset

Full Changelog: v0.3.0...v0.3.1

v0.3.0: Styling overhaul

27 Dec 16:42
11a3d3f

Choose a tag to compare

Styling Changes

The old fmt-prefix and fmt-body have been removed, instead there is now more fine-grained control available.

There are now styled presets: basic, corners, columns, fancy, bar, colorbox. These can be controlled by a variant parameter on the theorem (e.g. variant: "important" adds a frame around the theorem in most presets), and a fine-grained options dictionary.

The basic style closely mimics the "amsthm" style, and there is similar options available: e.g. remove the . after the title by using options: (head-punct: none).

For full control and defining custom styles, there is a show-theorem parameter which allows for completely custom rendering.

Other Changes

  • title and label arguments can now be passed as positional or named arguments
  • solution is now a named argument
  • It now takes a piece of content as suffix (qed), instead of a function (fmt-suffix)
  • Nested proofs are now supported (with correct QED placement)
  • There is a new qed-in-equation() helper function to help with manually placed QEDs after block equations.
  • Restated theorems now use the same style as the original automatically.
  • Solutions section: You can now customize what environment/style to use for the solutions.

Please see the manual for full documentation.

Full Changelog: v0.2.0...v0.3.0

v0.2.0

05 Mar 09:20
fe47962

Choose a tag to compare

What's Changed

  • Typst 13 Compatibility by @nleanba in #1
    • Outline customization no longer uses show rules. Check the manual.

Full Changelog: v0.1.1...v0.2.0

v0.1.1 Automatic QED

06 Feb 15:02
754de43

Choose a tag to compare

Proofs (theoretic.theorem with fmt-suffix != none) will now automatically place the qed mark inside any trailing lists/enums, and aligned with any trailing block equations!

Full Changelog: v0.1.0...v0.1.1

v0.1.0

04 Feb 11:39
d122ba0

Choose a tag to compare