Changelog
v0.4.2
- theme(metropolis): decoupled text color with
neutral-dark(Breaking change) - feat: add mark-style uncover, only and alternatives
- feat: add warning for styled block for slides
- feat: add warning for touying-temporary-mark
- feat: add markup-text for speaker-note
- fix: fix bug of slides
v0.4.1
Features
- feat: support builtin outline and bookmark
- feat: support speaker note for dual-screen
- feat: add touying-mitex function
- feat: touying offers a gallery page via wiki
Fixes
- fix: add outline-slide for dewdrop theme
- fix: fix regression of default value "auto" for repeat
Miscellaneous Improvements
- feat: add list support for
touying-outlinefunction - feat: add auto-reset-footnote
- feat: add
freeze-in-empty-pagefor better page counter - feat: add
..argsfor register method to capture unused arguments
v0.4.0
Features
- feat: support
#footnote[]for all themes. - feat: access subslide and repeat in footer and header by
self => self.subslide. - feat: support numbered theorem environments by ctheorems.
- feat: support numbering for sections and subsections.
Fixes
- fix: make nested includes work correctly.
- fix: disable multi-page slides from creating the same section multiple times.
Breaking changes
- refactor: remove
self.paddingand addself.full-headerself.full-footerconfig.
v0.3.3
- template: move template to
touying-aquapackage, make Touying searchable in Typst Universe Packages - themes: fix bugs in university and dewdrop theme
- feat: make set-show rule work without
settingparameter - feat: make
composerparameter more simpler - feat: add
empty-slidefunction
v0.3.2
- fix critical bug: fix
is-sequencefunction, makegridandtablework correctly in touying - theme: add aqua theme, thanks for pride7
- theme: make university theme more configurable
- refactor: don't export variable
sby default anymore, it will be extracted byregisterfunction (Breaking Change) - meta: add
categoriesandtemplateconfig totypst.tomlfor Typst 0.11
v0.3.1
- fix some typos
- fix slide-level bug
- fix bug of pdfpc label
v0.3.0
Features
- better show-slides mode.
- support align and pad.
Documentation
- Add more detailed documentation.
Refactor
- simplify theme.
Fix
- fix many bugs.
v0.2.1
Features
- Touying-reducer: support cetz and fletcher animation
- university theme: add university theme
Fix
- fix footer progress in metropolis theme
- fix some bugs in simple and dewdrop themes
- fix bug that outline does not display more than 4 sections
v0.2.0
- Object-oriented programming: Singleton
s, binding methodsutils.methods(s)and(self: obj, ..) => {..}methods. - Page arguments management: Instead of using
#set page(..), you should useself.page-argsto retrieve or set page parameters, thereby avoiding unnecessary creation of new pages. #pausefor sequence content: You can use #pause at the outermost level of a slide, including inline and list.#pausefor layout functions: You can use thecomposerparameter to add yourself layout function likeutils.side-by-side, and simply use multiple pos parameters like#slide[..][..].#meanwhilefor synchronous display: Provide a#meanwhilefor resetting subslides counter.#pauseand#meanwhilefor math equation: Provide a#touying-equation("x + y pause + z")for math equation animations.- Slides: Create simple slides using standard headings.
- Callback-style
uncover,onlyandalternatives: Based on the concise syntax provided by Polylux, allow precise control of the timing for displaying content.- You should manually control the number of subslides using the
repeatparameter.
- You should manually control the number of subslides using the
- Transparent cover: Enable transparent cover using oop syntax like
#let s = (s.methods.enable-transparent-cover)(self: s). - Handout mode: enable handout mode by
#let s = (s.methods.enable-handout-mode)(self: s). - Fit-to-width and fit-to-height: Fit-to-width for title in header and fit-to-height for image.
utils.fit-to-width(grow: true, shrink: true, width, body)utils.fit-to-height(width: none, prescale-width: none, grow: true, shrink: true, height, body)
- Slides counter:
states.slide-counter.display() + " / " + states.last-slide-numberandstates.touying-progress(ratio => ..). - Appendix: Freeze the
last-slide-numberto prevent the slide number from increasing further. - Sections: Touying's built-in section support can be used to display the current section title and show progress.
sectionandsubsectionparameter in#slideto register a new section or subsection.states.current-section-titleto get the current section.states.touying-outlineors.methods.touying-outlineto display a outline of sections.states.touying-final-sections(sections => ..)for custom outline display.states.touying-progress-with-sections((current-sections: .., final-sections: .., current-slide-number: .., last-slide-number: ..) => ..)for powerful progress display.
- Navigation bar: Navigation bar like here by
states.touying-progress-with-sections(..), indewdroptheme. - Pdfpc: pdfpc support and export
.pdfpcfile without external tool bytypst querycommand simply.