更新日志
v0.6.1
Added support for the theorion package, and used it as the default math theorem environment.
v0.6.0
It's not a big update, but it's the first touying release since typst 0.13 was released.
Features
- feat: add auto style for display-current-heading.
- For users, you can use
show heading: set text(blue)to change color for heading in some themes likedewdrop. - For theme creator, you can use syntax like
utils.display-current-heading(level: 1, style: auto)to achieve the same result.
- For users, you can use
- feat: apply config-info information to
set document. - feat: set
stretch: falseby default foralternativesfunctions. This is a minor breaking change, but I think it would be more intuitive: no auto empty space.
Fixes
- fix: fix error with uncover using semi-transparent-cover
- fix: fix type string comparison https://github.com/touying-typ/touying/pull/153
- fix: fix horizontal-line bug in typst 0.13.0
- refactor: fix display-current-short-heading
v0.5.4 & v0.5.5
Features
- docs: improve param documentation and we have better hints for tinymist https://github.com/touying-typ/touying/pull/98
- feat: fake frozon states support for
headinghttps://github.com/touying-typ/touying/pull/124 - feat: add alpha-changing-cover and color-changing-cover https://github.com/touying-typ/touying/pull/129
- feat: add effect function https://github.com/touying-typ/touying/issues/111
- Example:
#effect(text.with(fill: red), "2-")[Something]will display[Something]if the current slide is 2 or later.
- Example:
- feat: add argument
config: (..)forxxx-slidefunctions - feat: add
alignargument for university theme