1"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1477],{30010:e=>{e.exports=JSON.parse('{"blogPosts":[{"id":"touying-0-6-1","metadata":{"permalink":"/blog/touying-0-6-1","editUrl":"https://github.com/touying-typ/touying-typ.github.io/tree/main/blog/2025-01-01-touying-0-6-1.md","source":"@site/blog/2025-01-01-touying-0-6-1.md","title":"Touying 0.6.1","description":"Touying 0.6.1 adds first-class support for the theorion package and uses it as the default math theorem environment.","date":"2025-01-01T00:00:00.000Z","formattedDate":"January 1, 2025","tags":[{"label":"release","permalink":"/blog/tags/release"}],"readingTime":0.51,"hasTruncateMarker":true,"authors":[{"name":"OrangeX4","title":"Maintainer of Touying.","url":"https://github.com/OrangeX4","imageURL":"https://orangex4.cool/images/icons/profile.jpg","key":"orangex4"}],"frontMatter":{"slug":"touying-0-6-1","title":"Touying 0.6.1","authors":"orangex4","tags":["release"]},"unlisted":false,"nextItem":{"title":"Touying 0.6.0","permalink":"/blog/touying-0-6-0"}},"content":"Touying 0.6.1 adds first-class support for the [theorion](https://github.com/OrangeX4/typst-theorion) package and uses it as the default math theorem environment.\\n\\n\x3c!-- truncate --\x3e\\n\\n## What\'s New\\n\\n- **Theorion integration**: Added built-in support for the `theorion` package, which provides beautiful numbered theorem, lemma, corollary, definition, and proof environments. It is now the recommended way to write theorem blocks in Touying slides.\\n\\n```typst\\n#import \\"@preview/touying:0.6.1\\": *\\n#import themes.university: *\\n#import \\"@preview/theorion:0.3.2\\": *\\n#import cosmos.clouds: *\\n#show: show-theorion\\n\\n#show: university-theme.with(\\n aspect-ratio: \\"16-9\\",\\n config-common(frozen-counters: (theorem-counter,)),\\n)\\n\\n= Theorems\\n\\n== Prime numbers\\n\\n#theorem(title: \\"Euclid\\")[\\n There are infinitely many primes.\\n]\\n```\\n\\nSee the [Theorion integration guide](/docs/integration/theorion) for more details."},{"id":"touying-0-6-0","metadata":{"permalink":"/blog/touying-0-6-0","editUrl":"https://github.com/touying-typ/touying-typ.github.io/tree/main/blog/2024-12-01-touying-0-6-0.md","source":"@site/blog/2024-12-01-touying-0-6-0.md","title":"Touying 0.6.0","description":"Touying 0.6.0 is the first release since Typst 0.13 and brings several quality-of-life improvements.","date":"2024-12-01T00:00:00.000Z","formattedDate":"December 1, 2024","tags":[{"label":"release","permalink":"/blog/tags/release"}],"readingTime":0.655,"hasTruncateMarker":true,"authors":[{"name":"OrangeX4","title":"Maintainer of Touying.","url":"https://github.com/OrangeX4","imageURL":"https://orangex4.cool/images/icons/profile.jpg","key":"orangex4"}],"frontMatter":{"slug":"touying-0-6-0","title":"Touying 0.6.0","authors":"orangex4","tags":["release"]},"unlisted":false,"prevItem":{"title":"Touying 0.6.1","permalink":"/blog/touying-0-6-1"},"nextItem":{"title":"Touying 0.5.0 \u2014 A Major Redesign","permalink":"/blog/touying-0-5-0"}},"content":"Touying 0.6.0 is the first release since Typst 0.13 and brings several quality-of-life improvements.\\n\\n\x3c!-- truncate --\x3e\\n\\n## Features\\n\\n- **Auto heading style**: `utils.display-current-heading(level: 1, style: auto)` now respects show rules like `show heading: set text(blue)`.\\n- **Document metadata**: `config-info` fields are now applied to `set document` automatically.\\n- **`alternatives` default**: `stretch: false` is now the default \u2014 content no longer expands to fill the slide automatically. *(Minor breaking change \u2014 more intuitive behaviour.)*\\n\\n## Fixes\\n\\
1n- Fix error with `uncover` using `semi-transparent-cover`.\\n- Fix type string comparison ([#153](https://github.com/touying-typ/touying/pull/153)).\\n- Fix horizontal-line bug in Typst 0.13.0.\\n- Refactor: fix `display-current-short-heading`.\\n\\n## Getting Started\\n\\n```typst\\n#import \\"@preview/touying:0.6.1\\": *\\n#import themes.university: *\\n\\n#show: university-theme.with(\\n aspect-ratio: \\"16-9\\",\\n config-info(\\n title: [My Talk],\\n author: [Alice],\\n date: datetime.today(),\\n ),\\n)\\n\\n#title-slide()\\n\\n= Introduction\\n\\n== Hello\\n\\n#lorem(40)\\n```"},{"id":"touying-0-5-0","metadata":{"permalink":"/blog/touying-0-5-0","editUrl":"https://github.com/touying-typ/touying-typ.github.io/tree/main/blog/2024-09-01-touying-0-5-0.md","source":"@site/blog/2024-09-01-touying-0-5-0.md","title":"Touying 0.5.0 \u2014 A Major Redesign","description":"Touying 0.5.0 is a significant rewrite. The goal: make Touying more user-friendly, more flexible, and more powerful.","date":"2024-09-01T00:00:00.000Z","formattedDate":"September 1, 2024","tags":[{"label":"release","permalink":"/blog/tags/release"}],"readingTime":0.76,"hasTruncateMarker":true,"authors":[{"name":"OrangeX4","title":"Maintainer of Touying.","url":"https://github.com/OrangeX4","imageURL":"https://orangex4.cool/images/icons/profile.jpg","key":"orangex4"}],"frontMatter":{"slug":"touying-0-5-0","title":"Touying 0.5.0 \u2014 A Major Redesign","authors":"orangex4","tags":["release"]},"unlisted":false,"prevItem":{"title":"Touying 0.6.0","permalink":"/blog/touying-0-6-0"},"nextItem":{"title":"Touying 0.2.0","permalink":"/blog/touying-0-2-0"}},"content":"Touying 0.5.0 is a significant rewrite. The goal: make Touying more user-friendly, more flexible, and more powerful.\\n\\n\x3c!-- truncate --\x3e\\n\\n## Major Changes\\n\\n### No more closures \u2014 cleaner config syntax\\n\\nConfiguration is now done with `config-xxx` functions:\\n\\n```typst\\n#show: university-theme.with(\\n aspect-ratio: \\"16-9\\",\\n config-colors(primary: blue),\\n config-info(title: [My Talk], author: [Alice]),\\n)\\n```\\n\\n### New Stargazer theme\\n\\nA new visually striking theme, originally created by [Coekjan](https://github.com/Coekjan/) for the [touying-buaa](https://github.com/Coekjan/touying-buaa) project.\\n\\n### Fake frozen states\\n\\nUse numbering and `#pause` together without issues. Control with `config-common(frozen-counters: ...)`.\\n\\n### Special heading labels\\n\\n`<touying:hidden>`, `<touying:unnumbered>`, `<touying:unoutlined>`, `<touying:unbookmarked>` for precise control over heading behaviour.\\n\\n### `#show: appendix`\\n\\nFreeze the slide counter at the end of your main content:\\n\\n```typst\\n#show: appendix\\n\\n= Appendix\\n\\n== Extra Slide\\n\\nPlease pay attention to the current slide number.\\n```\\n\\n### Adaptive columns for outlines\\n\\n```typst\\n#components.adaptive-columns(outline(indent: 1em))\\n```\\n\\n## Migration Guide\\n\\nSee the [Changelog](/docs/changelog#v050) for the detailed step-by-step migration guide from 0.4.x."},{"id":"touying-0-2-0","metadata":{"permalink":"/blog/touying-0-2-0","editUrl":"https://github.com/touying-typ/touying-typ.github.io/tree/main/blog/2024-01-17-touying-0-2-0.md","source":"@site/blog/2024-01-17-touying-0-2-0.md","title":"Touying 0.2.0","description":"Touying 0.2.0 is done.","date":"2024-01-17T00:00:00.000Z","formattedDate":"January 17, 2024","tags":[{"label":"development","permalink":"/blog/tags/development"}],"readingTime":1.875,"hasTruncateMarker":false,"authors":[{"name":"OrangeX4","title":"Maintainer of Touying.","url":"https://github.com/OrangeX4","imageURL":"https://orangex4.cool/images/icons/profile.jpg","key":"orangex4"}],"frontMatter":{"slug":"touying-0-2-0","title":"Touying 0.2.0","authors":"orangex4","tags":["development"]},"unlisted":false,"prevItem":{"title":"Touying 0.5.0 \u2014 A Major Redesign","permalink":"/blog/touying-0-5-0"}},"content":"Touying 0.2.0 is done.\\n\\n## Implemented Features\\n\\n- [x] **Object-oriented programming:** Singleton `s`, binding methods `utils.methods(s)` and `(self: obj, ..) => {..}` methods.\\n- [x] **Page arguments management:** Instead of using `#set page(..)`, you should use `self.page-args` to retrieve or set page parameters, thereby avoiding unnecessary creation of new pages.\\n- [x] **`#pause` for sequence content:** You can use #pause at the outermost level of a slide, including inline and list.\\n- [x] **`#pause` for layout functions:** You can use the `composer` parameter to add yourself layout function like `utils.side-by-side`, and simply use multiple pos parameters like `#slide[..][..]`.\\n- [x] **`#meanwhile` for synchronous display:** Provide a `#meanwhile` for resetting subslides counter.\\n- [x] **`#pause` and `#meanwhile` for math equation:** Provide a `#touying-equation(\\"x + y pause + z\\")` for math equation animations.\\n- [x] **Slides:** Create simple slides using standard headings.\\n- [x] **Callback-style `uncover`, `only` and `alternatives`:** Based on the concise syntax provided by Polylux, allow precise control of the timing for displaying content.\\n - You should manually control the number of subslides using the `repeat` parameter.\\n- [x] **Transparent cover:** Enable transparent cover using oop syntax like `#let s = (s.methods.enable-transparent-cover)(self: s)`.\\n- [x] **Handout mode:** enable handout mode by `#let s = (s.methods.enable-handout-mode)(self: s)`.\\n- [x] **Fit-to-width and fit-to-height:** Fit-to-width for title in header and fit-to-height for image.\\n - `utils.fit-to-width(grow: true, shrink: true, width, body)`\\n - `utils.fit-to-height(width: none, prescale-width: none, grow: true, shrink: true, height, body)`\\n- [x] **Slides counter:** `states.slide-counter.display() + \\" / \\" + states.last-slide-number` and `states.touying-progress(ratio => ..)`.\\n- [x] **Appendix:** Freeze the `last-slide-number` to prevent the slide number from increasing further.\\n- [x] **Sections:** Touying\'s built-in section support can be used to display the current section title and show progress.\\n - [x] `section` and `subsection` parameter in `#slide` to register a new section or subsection.\\n - [x] `states.current-section-title` to get the current section.\\n - [x] `states.touying-outline` or `s.methods.touying-outline` to display a outline of sections.\\n - [x] `states.touying-final-sections(sections => ..)` for custom outline display.\\n - [x] `states.touying-progress-with-sections((current-sections: .., final-sections: .., current-slide-number: .., last-slide-number: ..) => ..)` for powerful progress display.\\n- [x] **Navigation bar**: Navigation bar like [here](https://github.com/zbowang/BeamerTheme) by `states.touying-progress-with-sections(..)`, in `dewdrop` theme.\\n- [x] **Pdfpc:** pdfpc support and export `.pdfpc` file without external tool by `typst query` command simply."}]}')}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.