diff --git a/docs/build-your-own-theme.md b/docs/build-your-own-theme.md index ea77fae6..01155db7 100644 --- a/docs/build-your-own-theme.md +++ b/docs/build-your-own-theme.md @@ -20,12 +20,12 @@ To demonstrate how to create a theme with Touying, let's step by step create a s If you want to modify a Touying internal theme locally instead of creating one from scratch, you can achieve this by: 1. Copying the [theme code](https://github.com/touying-typ/touying/tree/main/themes) from the `themes` directory to your local, for example, copying `themes/university.typ` to your local `university.typ`. -2. Replacing the `#import "../src/exports.typ": *` command at the top of the `university.typ` file with `#import "@preview/touying:0.5.1": *`. +2. Replacing the `#import "../src/exports.typ": *` command at the top of the `university.typ` file with `#import "@preview/touying:0.5.2": *`. Then you can import and use the theme by: ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import "university.typ": * #show: university-theme.with( @@ -48,7 +48,7 @@ Depending on whether the theme is your own or part of Touying, you can import it If it's just for your own use, you can directly import Touying: ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * ``` If you want the theme to be part of Touying, placed in the Touying `themes` directory, then you should change the import statement above to @@ -73,7 +73,7 @@ Generally, the first step in making slides is to determine the font size and pag ```typst // bamboo.typ -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #let bamboo-theme( aspect-ratio: "16-9", @@ -94,7 +94,7 @@ Generally, the first step in making slides is to determine the font size and pag } // main.typ -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import "bamboo.typ": * #show: bamboo-theme.with(aspect-ratio: "16-9") @@ -195,7 +195,7 @@ We also need to customize a `slide` method, which accepts `#let slide(title: aut ```typst // bamboo.typ -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #let slide(title: auto, ..args) = touying-slide-wrapper(self => { if title != auto { @@ -270,7 +270,7 @@ We also need to customize a `slide` method, which accepts `#let slide(title: aut // main.typ -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import "bamboo.typ": * #show: bamboo-theme.with(aspect-ratio: "16-9") @@ -294,7 +294,7 @@ For the `new-section-slide` method, it's the same, but the only thing to note is ```typst // bamboo.typ -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #let slide(title: auto, ..args) = touying-slide-wrapper(self => { if title != auto { @@ -411,7 +411,7 @@ For the `new-section-slide` method, it's the same, but the only thing to note is // main.typ -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import "bamboo.typ": * #show: bamboo-theme.with( diff --git a/docs/changelog.md b/docs/changelog.md index 0de765b5..964e6019 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -27,7 +27,7 @@ This is a significant disruptive version update. Touying has removed many mistak A simple usage example is shown below, and more examples can be found in the `examples` directory: ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.university: * #show: university-theme.with( diff --git a/docs/code-styles.md b/docs/code-styles.md index 50976742..9972a90b 100644 --- a/docs/code-styles.md +++ b/docs/code-styles.md @@ -9,7 +9,7 @@ sidebar_position: 4 If we just need to use it simply, we can directly input content under the title, just like writing a normal Typst document. The titles here serve to separate pages, and we can also normally use commands like `#pause` to achieve animation effects. ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.simple: * #show: simple-theme.with(aspect-ratio: "16-9") @@ -32,7 +32,7 @@ And you can use an empty title `== ` to create a new page, which If we need to maintain the current title and just want to add a new page, we can use `#pagebreak()`, or directly use `---` to split the page, the latter is parsed as `#pagebreak()` in Touying. ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.simple: * #show: simple-theme.with(aspect-ratio: "16-9") @@ -57,7 +57,7 @@ Many times, using only the simple style cannot achieve all the functions we need For example, the above example can be transformed into ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.simple: * #show: simple-theme.with(aspect-ratio: "16-9") @@ -91,7 +91,7 @@ You may have noticed that when using the simple theme, using a first-level title If we do not want it to automatically create such a section slide, we can remove this method: ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.simple: * #show: simple-theme.with( @@ -117,7 +117,7 @@ As you can see, this will only result in two pages, and the default section slid Similarly, we can also register a new section slide: ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.simple: * #show: simple-theme.with( diff --git a/docs/dynamic/other.md b/docs/dynamic/other.md index 37bf16b5..6f0f5d07 100644 --- a/docs/dynamic/other.md +++ b/docs/dynamic/other.md @@ -11,7 +11,7 @@ Touying also provides `touying-reducer`, which adds `pause` and `meanwhile` anim Here's an example: ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.university: * #import "@preview/cetz:0.2.2" #import "@preview/fletcher:0.5.1" as fletcher: node, edge diff --git a/docs/external/pdfpc.md b/docs/external/pdfpc.md index f839d62f..2006268d 100644 --- a/docs/external/pdfpc.md +++ b/docs/external/pdfpc.md @@ -52,7 +52,7 @@ typst query --root . ./example.typ --field value --one "" > ./exampl With the compatibility of Touying and Polylux, you can make Polylux also support direct export by adding the following code: ```typst -#import "@preview/touying:0.5.1" +#import "@preview/touying:0.5.2" #context touying.pdfpc.pdfpc-file(here()) ``` \ No newline at end of file diff --git a/docs/external/pympress.md b/docs/external/pympress.md index c5726f8d..ba09067b 100644 --- a/docs/external/pympress.md +++ b/docs/external/pympress.md @@ -10,7 +10,7 @@ sidebar_position: 2 ## Speaker Notes ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.university: * #show: university-theme.with( diff --git a/docs/integration/cetz.md b/docs/integration/cetz.md index d80bab4f..821db639 100644 --- a/docs/integration/cetz.md +++ b/docs/integration/cetz.md @@ -11,7 +11,7 @@ Touying provides the `touying-reducer`, which adds `pause` and `meanwhile` anima An example: ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.metropolis: * #import "@preview/cetz:0.2.2" #import "@preview/fletcher:0.5.1" as fletcher: node, edge diff --git a/docs/integration/ctheorems.md b/docs/integration/ctheorems.md index 867f8671..8843bad4 100644 --- a/docs/integration/ctheorems.md +++ b/docs/integration/ctheorems.md @@ -9,7 +9,7 @@ Touying can work seamlessly with the `ctheorems` package, allowing you to direct Moreover, you can utilize `#set heading(numbering: "1.1")` to set numbering for sections and subsections. ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.simple: * #import "@preview/ctheorems:1.1.2": * #import "@preview/numbly:0.1.0": numbly diff --git a/docs/integration/fletcher.md b/docs/integration/fletcher.md index 7d04fc22..a31a388e 100644 --- a/docs/integration/fletcher.md +++ b/docs/integration/fletcher.md @@ -9,7 +9,7 @@ Touying provides the `touying-reducer`, which adds `pause` and `meanwhile` anima An example: ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.metropolis: * #import "@preview/cetz:0.2.2" #import "@preview/fletcher:0.5.1" as fletcher: node, edge diff --git a/docs/integration/pinit.md b/docs/integration/pinit.md index 37774b84..153f77b7 100644 --- a/docs/integration/pinit.md +++ b/docs/integration/pinit.md @@ -34,7 +34,7 @@ Another [example](https://github.com/OrangeX4/typst-pinit/blob/main/examples/equ An example of shared usage with Touying: ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.default: * #import "@preview/pinit:0.2.0": * diff --git a/docs/multi-file.md b/docs/multi-file.md index 19b0fa10..77fcdfad 100644 --- a/docs/multi-file.md +++ b/docs/multi-file.md @@ -18,7 +18,7 @@ These three files are separated to allow both `main.typ` and `content.typ` to im ```typst // globals.typ -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.university: * // as well as some utility functions diff --git a/docs/sections.md b/docs/sections.md index 90c58268..4bc10775 100644 --- a/docs/sections.md +++ b/docs/sections.md @@ -11,7 +11,7 @@ Like Beamer, Touying also has the concept of sections and subsections. Generally, first-level, second-level, and third-level headings correspond to sections, subsections, and subsubsections, respectively, such as in the dewdrop theme. ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.dewdrop: * #show: dewdrop-theme.with(aspect-ratio: "16-9") @@ -30,7 +30,7 @@ Hello, Touying! However, there are many times when we do not need subsections, so we also use first-level and second-level headings to correspond to sections and titles, respectively, such as in the university theme. ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.university: * #show: university-theme.with(aspect-ratio: "16-9") @@ -62,7 +62,7 @@ This sets the default numbering to `1.1`, and the section corresponds to the num Displaying a table of contents in Touying is straightforward: ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.simple: * #import "@preview/numbly:0.1.0": numbly diff --git a/docs/start.md b/docs/start.md index b5a52867..e710d151 100644 --- a/docs/start.md +++ b/docs/start.md @@ -9,7 +9,7 @@ Before you begin, make sure you have the Typst environment installed. If not, yo To use Touying, you just need to include the following in your document: ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.simple: * #show: simple-theme.with(aspect-ratio: "16-9") @@ -38,7 +38,7 @@ In fact, Touying provides various styles for slide writing. You can also use the Touying offers many built-in themes to easily create beautiful slides. For example, in this case: ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.university: * #import "@preview/cetz:0.2.2" #import "@preview/fletcher:0.5.1" as fletcher: node, edge diff --git a/docs/themes/aqua.md b/docs/themes/aqua.md index 8c588bcb..ec380af3 100644 --- a/docs/themes/aqua.md +++ b/docs/themes/aqua.md @@ -13,7 +13,7 @@ This theme is created by [@pride7](https://github.com/pride7), featuring beautif You can initialize it with the following code: ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.aqua: * #show: aqua-theme.with( @@ -112,7 +112,7 @@ Start a new section with the given title. ## Example ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.aqua: * #show: aqua-theme.with( diff --git a/docs/themes/dewdrop.md b/docs/themes/dewdrop.md index 36a22164..6b8c822c 100644 --- a/docs/themes/dewdrop.md +++ b/docs/themes/dewdrop.md @@ -15,7 +15,7 @@ The Dewdrop theme features an elegantly designed navigation, including two modes You can initialize it using the following code: ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.dewdrop: * #import "@preview/numbly:0.1.0": numbly @@ -110,7 +110,7 @@ Used to draw attention, with the background color set to `self.colors.primary`. ## Example ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.dewdrop: * #import "@preview/numbly:0.1.0": numbly diff --git a/docs/themes/metropolis.md b/docs/themes/metropolis.md index 84182c8e..61cd4190 100644 --- a/docs/themes/metropolis.md +++ b/docs/themes/metropolis.md @@ -15,7 +15,7 @@ The Metropolis theme is elegant and suitable for everyday use. It is recommended You can initialize it using the following code: ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.metropolis: * #import "@preview/numbly:0.1.0": numbly @@ -117,7 +117,7 @@ Creates a new section with the given title. ## Example ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.metropolis: * #import "@preview/numbly:0.1.0": numbly diff --git a/docs/themes/simple.md b/docs/themes/simple.md index d21f6183..1724e151 100644 --- a/docs/themes/simple.md +++ b/docs/themes/simple.md @@ -15,7 +15,7 @@ Considered a relatively straightforward theme, you can use it to create simple s You can initialize it using the following code: ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.simple: * #show: simple-theme.with( @@ -86,7 +86,7 @@ Used to draw attention, it optionally accepts a foreground color (defaulting to ## Example ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.simple: * #show: simple-theme.with( diff --git a/docs/themes/stargazer.md b/docs/themes/stargazer.md index 399cca1a..22024322 100644 --- a/docs/themes/stargazer.md +++ b/docs/themes/stargazer.md @@ -13,7 +13,7 @@ The Stargazer theme, originally created by [Coekjan](https://github.com/Coekjan/ You can initialize the theme with the following code: ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.stargazer: * #import "@preview/numbly:0.1.0": numbly @@ -127,7 +127,7 @@ Start a new section with the given title. ## Example ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.stargazer: * #import "@preview/numbly:0.1.0": numbly diff --git a/docs/themes/university.md b/docs/themes/university.md index 402b0276..ffd705e6 100644 --- a/docs/themes/university.md +++ b/docs/themes/university.md @@ -13,7 +13,7 @@ This aesthetically pleasing theme is courtesy of [Pol Dellaiera](https://github. You can initialize the theme with the following code: ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.university: * #import "@preview/numbly:0.1.0": numbly @@ -124,7 +124,7 @@ Refer to the [documentation](https://polylux.dev/book/themes/gallery/university. ## Example ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.university: * #import "@preview/numbly:0.1.0": numbly diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/build-your-own-theme.md b/i18n/zh/docusaurus-plugin-content-docs/current/build-your-own-theme.md index 12ef9cae..e25fb5d5 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/build-your-own-theme.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/build-your-own-theme.md @@ -21,12 +21,12 @@ sidebar_position: 11 如果你想在本地修改一个 Touying 内部的 themes,而不是自己从零开始创建,你可以选择通过下面的方式实现: 1. 将 `themes` 目录下的 [主题代码](https://github.com/touying-typ/touying/tree/main/themes) 复制到本地,例如将 `themes/university.typ` 复制到本地 `university.typ` 中。 -2. 将 `university.typ` 文件顶部的 `#import "../src/exports.typ": *` 命令替换为 `#import "@preview/touying:0.5.1": *` +2. 将 `university.typ` 文件顶部的 `#import "../src/exports.typ": *` 命令替换为 `#import "@preview/touying:0.5.2": *` 然后就可以通过 ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import "university.typ": * #show: university-theme.with( @@ -52,7 +52,7 @@ sidebar_position: 11 如果只是你自己使用,你可以直接导入 Touying: ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * ``` 如果你希望这个主题作为 Touying 的一部分,放置在 Touying `themes` 目录下,那你应该将上面的导入语句改为 @@ -76,7 +76,7 @@ sidebar_position: 11 ```typst // bamboo.typ -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #let bamboo-theme( aspect-ratio: "16-9", @@ -97,7 +97,7 @@ sidebar_position: 11 } // main.typ -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import "bamboo.typ": * #show: bamboo-theme.with(aspect-ratio: "16-9") @@ -201,7 +201,7 @@ config-methods(alert: utils.alert-with-primary-color) ```typst // bamboo.typ -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #let slide(title: auto, ..args) = touying-slide-wrapper(self => { if title != auto { @@ -276,7 +276,7 @@ config-methods(alert: utils.alert-with-primary-color) // main.typ -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import "bamboo.typ": * #show: bamboo-theme.with(aspect-ratio: "16-9") @@ -301,7 +301,7 @@ A slide with a title and an *important* information. ``` // bamboo.typ -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #let slide(title: auto, ..args) = touying-slide-wrapper(self => { if title != auto { @@ -418,7 +418,7 @@ A slide with a title and an *important* information. // main.typ -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import "bamboo.typ": * #show: bamboo-theme.with( diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/changelog.md b/i18n/zh/docusaurus-plugin-content-docs/current/changelog.md index 241f4f13..32715e64 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/changelog.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/changelog.md @@ -26,7 +26,7 @@ This is a significant disruptive version update. Touying has removed many mistak A simple usage example is shown below, and more examples can be found in the `examples` directory: ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.university: * #show: university-theme.with( diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/code-styles.md b/i18n/zh/docusaurus-plugin-content-docs/current/code-styles.md index 3e315ac6..f4536184 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/code-styles.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/code-styles.md @@ -9,7 +9,7 @@ sidebar_position: 4 如果我们只是需要简单使用,我们可以直接在标题下输入内容,就像是在编写正常 Typst 文档一样。这里的标题有着分割页面的作用,同时我们也能正常地使用 `#pause` 等命令实现动画效果。 ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.simple: * #show: simple-theme.with(aspect-ratio: "16-9") @@ -32,7 +32,7 @@ Hello, Typst! 如果我们需要维持当前标题,仅仅是想加入一个新页,我们可以使用 `#pagebreak()`,亦或者直接使用 `---` 来分割页面,后者在 Touying 中被解析为 `#pagebreak()`。 ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.simple: * #show: simple-theme.with(aspect-ratio: "16-9") @@ -57,7 +57,7 @@ Hello, Typst! 例如上面的例子就可以改造成 ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.simple: * #show: simple-theme.with(aspect-ratio: "16-9") @@ -92,7 +92,7 @@ Hello, Typst! 如果我们不希望它自动创建这样一个 section slide,我们可以将这个方法删除: ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.simple: * #show: simple-theme.with( @@ -118,7 +118,7 @@ Hello, Typst! 同理,我们也可以注册一个新的 section slide: ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.simple: * #show: simple-theme.with( diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/dynamic/other.md b/i18n/zh/docusaurus-plugin-content-docs/current/dynamic/other.md index 6282b6d9..ec544ff5 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/dynamic/other.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/dynamic/other.md @@ -11,7 +11,7 @@ Touying 还提供了 `touying-reducer`,它能为 cetz 与 fletcher 加入 `pau 一个例子: ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.university: * #import "@preview/cetz:0.2.2" #import "@preview/fletcher:0.5.1" as fletcher: node, edge diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/external/pdfpc.md b/i18n/zh/docusaurus-plugin-content-docs/current/external/pdfpc.md index c1132a6d..e2ed13a1 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/external/pdfpc.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/external/pdfpc.md @@ -54,7 +54,7 @@ typst query --root . ./example.typ --field value --one "" > ./exampl 借助 Touying 与 Polylux 的兼容性,你可以让 Polylux 也支持直接导出,只需要加入下面的代码即可。 ``` -#import "@preview/touying:0.5.1" +#import "@preview/touying:0.5.2" #context touying.pdfpc.pdfpc-file(here()) ``` \ No newline at end of file diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/external/pympress.md b/i18n/zh/docusaurus-plugin-content-docs/current/external/pympress.md index 1aa06b7b..930f80cd 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/external/pympress.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/external/pympress.md @@ -10,7 +10,7 @@ sidebar_position: 2 ## 笔记支持 ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.university: * #show: university-theme.with( diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/integration/cetz.md b/i18n/zh/docusaurus-plugin-content-docs/current/integration/cetz.md index 3b5ad9ab..1a55fe6c 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/integration/cetz.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/integration/cetz.md @@ -11,7 +11,7 @@ Touying 提供了 `touying-reducer`,它能为 cetz 与 fletcher 加入 `pause` 一个例子: ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.metropolis: * #import "@preview/cetz:0.2.2" #import "@preview/fletcher:0.5.1" as fletcher: node, edge diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/integration/ctheorems.md b/i18n/zh/docusaurus-plugin-content-docs/current/integration/ctheorems.md index 128b8ce5..ece080e4 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/integration/ctheorems.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/integration/ctheorems.md @@ -9,7 +9,7 @@ Touying 能够与 ctheorems 包一起正常工作,你可以直接使用 ctheor 其中,你还可以使用 `#set heading(numbering: "1.1")` 为 sections 和 subsections 设置 numbering。 ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.university: * #import "@preview/ctheorems:1.1.2": * #import "@preview/numbly:0.1.0": numbly diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/integration/fletcher.md b/i18n/zh/docusaurus-plugin-content-docs/current/integration/fletcher.md index 83ed5502..391882c2 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/integration/fletcher.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/integration/fletcher.md @@ -9,7 +9,7 @@ Touying 提供了 `touying-reducer`,它能为 fletcher 加入 `pause` 和 `mea 一个例子: ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.metropolis: * #import "@preview/cetz:0.2.2" #import "@preview/fletcher:0.5.1" as fletcher: node, edge diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/integration/pinit.md b/i18n/zh/docusaurus-plugin-content-docs/current/integration/pinit.md index c2c4aac7..4aa92952 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/integration/pinit.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/integration/pinit.md @@ -36,7 +36,7 @@ A simple #pin(1)highlighted text#pin(2). 一个与 Touying 共同使用的示例: ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.default: * #import "@preview/pinit:0.2.0": * diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/multi-file.md b/i18n/zh/docusaurus-plugin-content-docs/current/multi-file.md index 8976f8dc..f3dc0ec9 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/multi-file.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/multi-file.md @@ -19,7 +19,7 @@ Touying 有着如同原生 Typst 文档一般简洁的语法,以及繁多的 ```typst // globals.typ -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.university: * // as well as some utility functions diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/sections.md b/i18n/zh/docusaurus-plugin-content-docs/current/sections.md index 60037c0a..7623ae36 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/sections.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/sections.md @@ -11,7 +11,7 @@ sidebar_position: 3 一般而言,1 级、2 级和 3 级标题分别用来对应 section、subsection 和 subsubsection,例如 dewdrop 主题。 ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.dewdrop: * #show: dewdrop-theme.with(aspect-ratio: "16-9") @@ -30,7 +30,7 @@ Hello, Touying! 但是很多时候我们并不需要 subsection,因此也会使用 1 级和 2 级标题来分别对应 section 和 title,例如 university 主题。 ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.university: * #show: university-theme.with(aspect-ratio: "16-9") @@ -64,7 +64,7 @@ Hello, Touying! 在 Touying 中显示目录很简单: ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.simple: * #import "@preview/numbly:0.1.0": numbly diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/start.md b/i18n/zh/docusaurus-plugin-content-docs/current/start.md index f05f60e7..59ca0a03 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/start.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/start.md @@ -9,7 +9,7 @@ sidebar_position: 2 要使用 Touying,您只需要在文档里加入 ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.simple: * #show: simple-theme.with(aspect-ratio: "16-9") @@ -36,7 +36,7 @@ Hello, Typst! 事实上,Touying 提供了多种 slides 编写风格,实际上您也可以使用 `#slide[..]` 的写法,以获得 Touying 提供的更多更强大的功能。 ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.university: * #import "@preview/cetz:0.2.2" #import "@preview/fletcher:0.5.1" as fletcher: node, edge diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/themes/aqua.md b/i18n/zh/docusaurus-plugin-content-docs/current/themes/aqua.md index beeadba9..f93ddbba 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/themes/aqua.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/themes/aqua.md @@ -14,7 +14,7 @@ sidebar_position: 5 你可以通过下面的代码来初始化: ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.aqua: * #show: aqua-theme.with( @@ -107,7 +107,7 @@ Aqua 主题提供了一系列自定义 slide 函数: ## 示例 ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.aqua: * #show: aqua-theme.with( diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/themes/dewdrop.md b/i18n/zh/docusaurus-plugin-content-docs/current/themes/dewdrop.md index fe569956..4e8fde1c 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/themes/dewdrop.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/themes/dewdrop.md @@ -15,7 +15,7 @@ sidebar_position: 3 你可以通过下面的代码来初始化: ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.dewdrop: * #import "@preview/numbly:0.1.0": numbly @@ -107,7 +107,7 @@ Dewdrop 主题提供了一系列自定义 slide 函数: ## 示例 ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.dewdrop: * #import "@preview/numbly:0.1.0": numbly diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/themes/metropolis.md b/i18n/zh/docusaurus-plugin-content-docs/current/themes/metropolis.md index be0a54e5..697b4eb7 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/themes/metropolis.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/themes/metropolis.md @@ -17,7 +17,7 @@ sidebar_position: 2 你可以通过下面的代码来初始化: ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.metropolis: * #import "@preview/numbly:0.1.0": numbly @@ -117,7 +117,7 @@ Metropolis 主题提供了一系列自定义 slide 函数: ## 示例 ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.metropolis: * #import "@preview/numbly:0.1.0": numbly diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/themes/simple.md b/i18n/zh/docusaurus-plugin-content-docs/current/themes/simple.md index 8ea7fc05..dd6d50e1 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/themes/simple.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/themes/simple.md @@ -16,7 +16,7 @@ sidebar_position: 1 你可以通过下面的代码来初始化: ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.simple: * #show: simple-theme.with( @@ -84,7 +84,7 @@ simple 主题提供了一系列自定义 slide 函数: ## 示例 ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.simple: * #show: simple-theme.with( diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/themes/stargazer.md b/i18n/zh/docusaurus-plugin-content-docs/current/themes/stargazer.md index b7ebe18b..95b14e5f 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/themes/stargazer.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/themes/stargazer.md @@ -14,7 +14,7 @@ sidebar_position: 6 你可以通过下面的代码来初始化: ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.stargazer: * #import "@preview/numbly:0.1.0": numbly @@ -125,7 +125,7 @@ Stargazer 主题提供了一系列自定义 slide 函数: ## 示例 ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.stargazer: * #import "@preview/numbly:0.1.0": numbly diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/themes/university.md b/i18n/zh/docusaurus-plugin-content-docs/current/themes/university.md index 3ef1e78a..ca1bc1af 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/themes/university.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/themes/university.md @@ -13,7 +13,7 @@ sidebar_position: 4 你可以通过下面的代码来初始化: ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.university: * #import "@preview/numbly:0.1.0": numbly @@ -129,7 +129,7 @@ University 主题提供了一系列自定义 slide 函数: ## 示例 ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.university: * #import "@preview/numbly:0.1.0": numbly diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/build-your-own-theme.md b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/build-your-own-theme.md index 12ef9cae..e25fb5d5 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/build-your-own-theme.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/build-your-own-theme.md @@ -21,12 +21,12 @@ sidebar_position: 11 如果你想在本地修改一个 Touying 内部的 themes,而不是自己从零开始创建,你可以选择通过下面的方式实现: 1. 将 `themes` 目录下的 [主题代码](https://github.com/touying-typ/touying/tree/main/themes) 复制到本地,例如将 `themes/university.typ` 复制到本地 `university.typ` 中。 -2. 将 `university.typ` 文件顶部的 `#import "../src/exports.typ": *` 命令替换为 `#import "@preview/touying:0.5.1": *` +2. 将 `university.typ` 文件顶部的 `#import "../src/exports.typ": *` 命令替换为 `#import "@preview/touying:0.5.2": *` 然后就可以通过 ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import "university.typ": * #show: university-theme.with( @@ -52,7 +52,7 @@ sidebar_position: 11 如果只是你自己使用,你可以直接导入 Touying: ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * ``` 如果你希望这个主题作为 Touying 的一部分,放置在 Touying `themes` 目录下,那你应该将上面的导入语句改为 @@ -76,7 +76,7 @@ sidebar_position: 11 ```typst // bamboo.typ -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #let bamboo-theme( aspect-ratio: "16-9", @@ -97,7 +97,7 @@ sidebar_position: 11 } // main.typ -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import "bamboo.typ": * #show: bamboo-theme.with(aspect-ratio: "16-9") @@ -201,7 +201,7 @@ config-methods(alert: utils.alert-with-primary-color) ```typst // bamboo.typ -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #let slide(title: auto, ..args) = touying-slide-wrapper(self => { if title != auto { @@ -276,7 +276,7 @@ config-methods(alert: utils.alert-with-primary-color) // main.typ -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import "bamboo.typ": * #show: bamboo-theme.with(aspect-ratio: "16-9") @@ -301,7 +301,7 @@ A slide with a title and an *important* information. ``` // bamboo.typ -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #let slide(title: auto, ..args) = touying-slide-wrapper(self => { if title != auto { @@ -418,7 +418,7 @@ A slide with a title and an *important* information. // main.typ -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import "bamboo.typ": * #show: bamboo-theme.with( diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/changelog.md b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/changelog.md index 241f4f13..32715e64 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/changelog.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/changelog.md @@ -26,7 +26,7 @@ This is a significant disruptive version update. Touying has removed many mistak A simple usage example is shown below, and more examples can be found in the `examples` directory: ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.university: * #show: university-theme.with( diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/code-styles.md b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/code-styles.md index 3e315ac6..f4536184 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/code-styles.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/code-styles.md @@ -9,7 +9,7 @@ sidebar_position: 4 如果我们只是需要简单使用,我们可以直接在标题下输入内容,就像是在编写正常 Typst 文档一样。这里的标题有着分割页面的作用,同时我们也能正常地使用 `#pause` 等命令实现动画效果。 ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.simple: * #show: simple-theme.with(aspect-ratio: "16-9") @@ -32,7 +32,7 @@ Hello, Typst! 如果我们需要维持当前标题,仅仅是想加入一个新页,我们可以使用 `#pagebreak()`,亦或者直接使用 `---` 来分割页面,后者在 Touying 中被解析为 `#pagebreak()`。 ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.simple: * #show: simple-theme.with(aspect-ratio: "16-9") @@ -57,7 +57,7 @@ Hello, Typst! 例如上面的例子就可以改造成 ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.simple: * #show: simple-theme.with(aspect-ratio: "16-9") @@ -92,7 +92,7 @@ Hello, Typst! 如果我们不希望它自动创建这样一个 section slide,我们可以将这个方法删除: ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.simple: * #show: simple-theme.with( @@ -118,7 +118,7 @@ Hello, Typst! 同理,我们也可以注册一个新的 section slide: ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.simple: * #show: simple-theme.with( diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/dynamic/other.md b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/dynamic/other.md index 6282b6d9..ec544ff5 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/dynamic/other.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/dynamic/other.md @@ -11,7 +11,7 @@ Touying 还提供了 `touying-reducer`,它能为 cetz 与 fletcher 加入 `pau 一个例子: ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.university: * #import "@preview/cetz:0.2.2" #import "@preview/fletcher:0.5.1" as fletcher: node, edge diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/external/pdfpc.md b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/external/pdfpc.md index c1132a6d..e2ed13a1 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/external/pdfpc.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/external/pdfpc.md @@ -54,7 +54,7 @@ typst query --root . ./example.typ --field value --one "" > ./exampl 借助 Touying 与 Polylux 的兼容性,你可以让 Polylux 也支持直接导出,只需要加入下面的代码即可。 ``` -#import "@preview/touying:0.5.1" +#import "@preview/touying:0.5.2" #context touying.pdfpc.pdfpc-file(here()) ``` \ No newline at end of file diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/external/pympress.md b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/external/pympress.md index 1aa06b7b..930f80cd 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/external/pympress.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/external/pympress.md @@ -10,7 +10,7 @@ sidebar_position: 2 ## 笔记支持 ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.university: * #show: university-theme.with( diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/integration/cetz.md b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/integration/cetz.md index 3b5ad9ab..1a55fe6c 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/integration/cetz.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/integration/cetz.md @@ -11,7 +11,7 @@ Touying 提供了 `touying-reducer`,它能为 cetz 与 fletcher 加入 `pause` 一个例子: ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.metropolis: * #import "@preview/cetz:0.2.2" #import "@preview/fletcher:0.5.1" as fletcher: node, edge diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/integration/ctheorems.md b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/integration/ctheorems.md index 128b8ce5..ece080e4 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/integration/ctheorems.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/integration/ctheorems.md @@ -9,7 +9,7 @@ Touying 能够与 ctheorems 包一起正常工作,你可以直接使用 ctheor 其中,你还可以使用 `#set heading(numbering: "1.1")` 为 sections 和 subsections 设置 numbering。 ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.university: * #import "@preview/ctheorems:1.1.2": * #import "@preview/numbly:0.1.0": numbly diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/integration/fletcher.md b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/integration/fletcher.md index 83ed5502..391882c2 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/integration/fletcher.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/integration/fletcher.md @@ -9,7 +9,7 @@ Touying 提供了 `touying-reducer`,它能为 fletcher 加入 `pause` 和 `mea 一个例子: ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.metropolis: * #import "@preview/cetz:0.2.2" #import "@preview/fletcher:0.5.1" as fletcher: node, edge diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/integration/pinit.md b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/integration/pinit.md index c2c4aac7..4aa92952 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/integration/pinit.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/integration/pinit.md @@ -36,7 +36,7 @@ A simple #pin(1)highlighted text#pin(2). 一个与 Touying 共同使用的示例: ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.default: * #import "@preview/pinit:0.2.0": * diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/multi-file.md b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/multi-file.md index 8976f8dc..f3dc0ec9 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/multi-file.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/multi-file.md @@ -19,7 +19,7 @@ Touying 有着如同原生 Typst 文档一般简洁的语法,以及繁多的 ```typst // globals.typ -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.university: * // as well as some utility functions diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/sections.md b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/sections.md index 60037c0a..7623ae36 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/sections.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/sections.md @@ -11,7 +11,7 @@ sidebar_position: 3 一般而言,1 级、2 级和 3 级标题分别用来对应 section、subsection 和 subsubsection,例如 dewdrop 主题。 ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.dewdrop: * #show: dewdrop-theme.with(aspect-ratio: "16-9") @@ -30,7 +30,7 @@ Hello, Touying! 但是很多时候我们并不需要 subsection,因此也会使用 1 级和 2 级标题来分别对应 section 和 title,例如 university 主题。 ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.university: * #show: university-theme.with(aspect-ratio: "16-9") @@ -64,7 +64,7 @@ Hello, Touying! 在 Touying 中显示目录很简单: ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.simple: * #import "@preview/numbly:0.1.0": numbly diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/start.md b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/start.md index f05f60e7..59ca0a03 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/start.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/start.md @@ -9,7 +9,7 @@ sidebar_position: 2 要使用 Touying,您只需要在文档里加入 ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.simple: * #show: simple-theme.with(aspect-ratio: "16-9") @@ -36,7 +36,7 @@ Hello, Typst! 事实上,Touying 提供了多种 slides 编写风格,实际上您也可以使用 `#slide[..]` 的写法,以获得 Touying 提供的更多更强大的功能。 ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.university: * #import "@preview/cetz:0.2.2" #import "@preview/fletcher:0.5.1" as fletcher: node, edge diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/themes/aqua.md b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/themes/aqua.md index beeadba9..f93ddbba 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/themes/aqua.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/themes/aqua.md @@ -14,7 +14,7 @@ sidebar_position: 5 你可以通过下面的代码来初始化: ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.aqua: * #show: aqua-theme.with( @@ -107,7 +107,7 @@ Aqua 主题提供了一系列自定义 slide 函数: ## 示例 ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.aqua: * #show: aqua-theme.with( diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/themes/dewdrop.md b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/themes/dewdrop.md index fe569956..4e8fde1c 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/themes/dewdrop.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/themes/dewdrop.md @@ -15,7 +15,7 @@ sidebar_position: 3 你可以通过下面的代码来初始化: ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.dewdrop: * #import "@preview/numbly:0.1.0": numbly @@ -107,7 +107,7 @@ Dewdrop 主题提供了一系列自定义 slide 函数: ## 示例 ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.dewdrop: * #import "@preview/numbly:0.1.0": numbly diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/themes/metropolis.md b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/themes/metropolis.md index be0a54e5..697b4eb7 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/themes/metropolis.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/themes/metropolis.md @@ -17,7 +17,7 @@ sidebar_position: 2 你可以通过下面的代码来初始化: ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.metropolis: * #import "@preview/numbly:0.1.0": numbly @@ -117,7 +117,7 @@ Metropolis 主题提供了一系列自定义 slide 函数: ## 示例 ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.metropolis: * #import "@preview/numbly:0.1.0": numbly diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/themes/simple.md b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/themes/simple.md index 8ea7fc05..dd6d50e1 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/themes/simple.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/themes/simple.md @@ -16,7 +16,7 @@ sidebar_position: 1 你可以通过下面的代码来初始化: ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.simple: * #show: simple-theme.with( @@ -84,7 +84,7 @@ simple 主题提供了一系列自定义 slide 函数: ## 示例 ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.simple: * #show: simple-theme.with( diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/themes/stargazer.md b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/themes/stargazer.md index b7ebe18b..95b14e5f 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/themes/stargazer.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/themes/stargazer.md @@ -14,7 +14,7 @@ sidebar_position: 6 你可以通过下面的代码来初始化: ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.stargazer: * #import "@preview/numbly:0.1.0": numbly @@ -125,7 +125,7 @@ Stargazer 主题提供了一系列自定义 slide 函数: ## 示例 ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.stargazer: * #import "@preview/numbly:0.1.0": numbly diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/themes/university.md b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/themes/university.md index 3ef1e78a..ca1bc1af 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/themes/university.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-0.5.x/themes/university.md @@ -13,7 +13,7 @@ sidebar_position: 4 你可以通过下面的代码来初始化: ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.university: * #import "@preview/numbly:0.1.0": numbly @@ -129,7 +129,7 @@ University 主题提供了一系列自定义 slide 函数: ## 示例 ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.university: * #import "@preview/numbly:0.1.0": numbly diff --git a/versioned_docs/version-0.5.x/build-your-own-theme.md b/versioned_docs/version-0.5.x/build-your-own-theme.md index ea77fae6..01155db7 100644 --- a/versioned_docs/version-0.5.x/build-your-own-theme.md +++ b/versioned_docs/version-0.5.x/build-your-own-theme.md @@ -20,12 +20,12 @@ To demonstrate how to create a theme with Touying, let's step by step create a s If you want to modify a Touying internal theme locally instead of creating one from scratch, you can achieve this by: 1. Copying the [theme code](https://github.com/touying-typ/touying/tree/main/themes) from the `themes` directory to your local, for example, copying `themes/university.typ` to your local `university.typ`. -2. Replacing the `#import "../src/exports.typ": *` command at the top of the `university.typ` file with `#import "@preview/touying:0.5.1": *`. +2. Replacing the `#import "../src/exports.typ": *` command at the top of the `university.typ` file with `#import "@preview/touying:0.5.2": *`. Then you can import and use the theme by: ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import "university.typ": * #show: university-theme.with( @@ -48,7 +48,7 @@ Depending on whether the theme is your own or part of Touying, you can import it If it's just for your own use, you can directly import Touying: ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * ``` If you want the theme to be part of Touying, placed in the Touying `themes` directory, then you should change the import statement above to @@ -73,7 +73,7 @@ Generally, the first step in making slides is to determine the font size and pag ```typst // bamboo.typ -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #let bamboo-theme( aspect-ratio: "16-9", @@ -94,7 +94,7 @@ Generally, the first step in making slides is to determine the font size and pag } // main.typ -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import "bamboo.typ": * #show: bamboo-theme.with(aspect-ratio: "16-9") @@ -195,7 +195,7 @@ We also need to customize a `slide` method, which accepts `#let slide(title: aut ```typst // bamboo.typ -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #let slide(title: auto, ..args) = touying-slide-wrapper(self => { if title != auto { @@ -270,7 +270,7 @@ We also need to customize a `slide` method, which accepts `#let slide(title: aut // main.typ -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import "bamboo.typ": * #show: bamboo-theme.with(aspect-ratio: "16-9") @@ -294,7 +294,7 @@ For the `new-section-slide` method, it's the same, but the only thing to note is ```typst // bamboo.typ -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #let slide(title: auto, ..args) = touying-slide-wrapper(self => { if title != auto { @@ -411,7 +411,7 @@ For the `new-section-slide` method, it's the same, but the only thing to note is // main.typ -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import "bamboo.typ": * #show: bamboo-theme.with( diff --git a/versioned_docs/version-0.5.x/changelog.md b/versioned_docs/version-0.5.x/changelog.md index e6619013..62ec28d8 100644 --- a/versioned_docs/version-0.5.x/changelog.md +++ b/versioned_docs/version-0.5.x/changelog.md @@ -26,7 +26,7 @@ This is a significant disruptive version update. Touying has removed many mistak A simple usage example is shown below, and more examples can be found in the `examples` directory: ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.university: * #show: university-theme.with( diff --git a/versioned_docs/version-0.5.x/code-styles.md b/versioned_docs/version-0.5.x/code-styles.md index 50976742..9972a90b 100644 --- a/versioned_docs/version-0.5.x/code-styles.md +++ b/versioned_docs/version-0.5.x/code-styles.md @@ -9,7 +9,7 @@ sidebar_position: 4 If we just need to use it simply, we can directly input content under the title, just like writing a normal Typst document. The titles here serve to separate pages, and we can also normally use commands like `#pause` to achieve animation effects. ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.simple: * #show: simple-theme.with(aspect-ratio: "16-9") @@ -32,7 +32,7 @@ And you can use an empty title `== ` to create a new page, which If we need to maintain the current title and just want to add a new page, we can use `#pagebreak()`, or directly use `---` to split the page, the latter is parsed as `#pagebreak()` in Touying. ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.simple: * #show: simple-theme.with(aspect-ratio: "16-9") @@ -57,7 +57,7 @@ Many times, using only the simple style cannot achieve all the functions we need For example, the above example can be transformed into ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.simple: * #show: simple-theme.with(aspect-ratio: "16-9") @@ -91,7 +91,7 @@ You may have noticed that when using the simple theme, using a first-level title If we do not want it to automatically create such a section slide, we can remove this method: ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.simple: * #show: simple-theme.with( @@ -117,7 +117,7 @@ As you can see, this will only result in two pages, and the default section slid Similarly, we can also register a new section slide: ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.simple: * #show: simple-theme.with( diff --git a/versioned_docs/version-0.5.x/dynamic/other.md b/versioned_docs/version-0.5.x/dynamic/other.md index 37bf16b5..6f0f5d07 100644 --- a/versioned_docs/version-0.5.x/dynamic/other.md +++ b/versioned_docs/version-0.5.x/dynamic/other.md @@ -11,7 +11,7 @@ Touying also provides `touying-reducer`, which adds `pause` and `meanwhile` anim Here's an example: ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.university: * #import "@preview/cetz:0.2.2" #import "@preview/fletcher:0.5.1" as fletcher: node, edge diff --git a/versioned_docs/version-0.5.x/external/pdfpc.md b/versioned_docs/version-0.5.x/external/pdfpc.md index f839d62f..2006268d 100644 --- a/versioned_docs/version-0.5.x/external/pdfpc.md +++ b/versioned_docs/version-0.5.x/external/pdfpc.md @@ -52,7 +52,7 @@ typst query --root . ./example.typ --field value --one "" > ./exampl With the compatibility of Touying and Polylux, you can make Polylux also support direct export by adding the following code: ```typst -#import "@preview/touying:0.5.1" +#import "@preview/touying:0.5.2" #context touying.pdfpc.pdfpc-file(here()) ``` \ No newline at end of file diff --git a/versioned_docs/version-0.5.x/external/pympress.md b/versioned_docs/version-0.5.x/external/pympress.md index c5726f8d..ba09067b 100644 --- a/versioned_docs/version-0.5.x/external/pympress.md +++ b/versioned_docs/version-0.5.x/external/pympress.md @@ -10,7 +10,7 @@ sidebar_position: 2 ## Speaker Notes ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.university: * #show: university-theme.with( diff --git a/versioned_docs/version-0.5.x/integration/cetz.md b/versioned_docs/version-0.5.x/integration/cetz.md index d80bab4f..821db639 100644 --- a/versioned_docs/version-0.5.x/integration/cetz.md +++ b/versioned_docs/version-0.5.x/integration/cetz.md @@ -11,7 +11,7 @@ Touying provides the `touying-reducer`, which adds `pause` and `meanwhile` anima An example: ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.metropolis: * #import "@preview/cetz:0.2.2" #import "@preview/fletcher:0.5.1" as fletcher: node, edge diff --git a/versioned_docs/version-0.5.x/integration/ctheorems.md b/versioned_docs/version-0.5.x/integration/ctheorems.md index 867f8671..8843bad4 100644 --- a/versioned_docs/version-0.5.x/integration/ctheorems.md +++ b/versioned_docs/version-0.5.x/integration/ctheorems.md @@ -9,7 +9,7 @@ Touying can work seamlessly with the `ctheorems` package, allowing you to direct Moreover, you can utilize `#set heading(numbering: "1.1")` to set numbering for sections and subsections. ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.simple: * #import "@preview/ctheorems:1.1.2": * #import "@preview/numbly:0.1.0": numbly diff --git a/versioned_docs/version-0.5.x/integration/fletcher.md b/versioned_docs/version-0.5.x/integration/fletcher.md index 7d04fc22..a31a388e 100644 --- a/versioned_docs/version-0.5.x/integration/fletcher.md +++ b/versioned_docs/version-0.5.x/integration/fletcher.md @@ -9,7 +9,7 @@ Touying provides the `touying-reducer`, which adds `pause` and `meanwhile` anima An example: ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.metropolis: * #import "@preview/cetz:0.2.2" #import "@preview/fletcher:0.5.1" as fletcher: node, edge diff --git a/versioned_docs/version-0.5.x/integration/pinit.md b/versioned_docs/version-0.5.x/integration/pinit.md index 37774b84..153f77b7 100644 --- a/versioned_docs/version-0.5.x/integration/pinit.md +++ b/versioned_docs/version-0.5.x/integration/pinit.md @@ -34,7 +34,7 @@ Another [example](https://github.com/OrangeX4/typst-pinit/blob/main/examples/equ An example of shared usage with Touying: ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.default: * #import "@preview/pinit:0.2.0": * diff --git a/versioned_docs/version-0.5.x/multi-file.md b/versioned_docs/version-0.5.x/multi-file.md index 19b0fa10..77fcdfad 100644 --- a/versioned_docs/version-0.5.x/multi-file.md +++ b/versioned_docs/version-0.5.x/multi-file.md @@ -18,7 +18,7 @@ These three files are separated to allow both `main.typ` and `content.typ` to im ```typst // globals.typ -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.university: * // as well as some utility functions diff --git a/versioned_docs/version-0.5.x/sections.md b/versioned_docs/version-0.5.x/sections.md index 90c58268..4bc10775 100644 --- a/versioned_docs/version-0.5.x/sections.md +++ b/versioned_docs/version-0.5.x/sections.md @@ -11,7 +11,7 @@ Like Beamer, Touying also has the concept of sections and subsections. Generally, first-level, second-level, and third-level headings correspond to sections, subsections, and subsubsections, respectively, such as in the dewdrop theme. ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.dewdrop: * #show: dewdrop-theme.with(aspect-ratio: "16-9") @@ -30,7 +30,7 @@ Hello, Touying! However, there are many times when we do not need subsections, so we also use first-level and second-level headings to correspond to sections and titles, respectively, such as in the university theme. ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.university: * #show: university-theme.with(aspect-ratio: "16-9") @@ -62,7 +62,7 @@ This sets the default numbering to `1.1`, and the section corresponds to the num Displaying a table of contents in Touying is straightforward: ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.simple: * #import "@preview/numbly:0.1.0": numbly diff --git a/versioned_docs/version-0.5.x/start.md b/versioned_docs/version-0.5.x/start.md index b5a52867..e710d151 100644 --- a/versioned_docs/version-0.5.x/start.md +++ b/versioned_docs/version-0.5.x/start.md @@ -9,7 +9,7 @@ Before you begin, make sure you have the Typst environment installed. If not, yo To use Touying, you just need to include the following in your document: ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.simple: * #show: simple-theme.with(aspect-ratio: "16-9") @@ -38,7 +38,7 @@ In fact, Touying provides various styles for slide writing. You can also use the Touying offers many built-in themes to easily create beautiful slides. For example, in this case: ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.university: * #import "@preview/cetz:0.2.2" #import "@preview/fletcher:0.5.1" as fletcher: node, edge diff --git a/versioned_docs/version-0.5.x/themes/aqua.md b/versioned_docs/version-0.5.x/themes/aqua.md index 8c588bcb..ec380af3 100644 --- a/versioned_docs/version-0.5.x/themes/aqua.md +++ b/versioned_docs/version-0.5.x/themes/aqua.md @@ -13,7 +13,7 @@ This theme is created by [@pride7](https://github.com/pride7), featuring beautif You can initialize it with the following code: ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.aqua: * #show: aqua-theme.with( @@ -112,7 +112,7 @@ Start a new section with the given title. ## Example ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.aqua: * #show: aqua-theme.with( diff --git a/versioned_docs/version-0.5.x/themes/dewdrop.md b/versioned_docs/version-0.5.x/themes/dewdrop.md index 36a22164..6b8c822c 100644 --- a/versioned_docs/version-0.5.x/themes/dewdrop.md +++ b/versioned_docs/version-0.5.x/themes/dewdrop.md @@ -15,7 +15,7 @@ The Dewdrop theme features an elegantly designed navigation, including two modes You can initialize it using the following code: ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.dewdrop: * #import "@preview/numbly:0.1.0": numbly @@ -110,7 +110,7 @@ Used to draw attention, with the background color set to `self.colors.primary`. ## Example ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.dewdrop: * #import "@preview/numbly:0.1.0": numbly diff --git a/versioned_docs/version-0.5.x/themes/metropolis.md b/versioned_docs/version-0.5.x/themes/metropolis.md index 84182c8e..61cd4190 100644 --- a/versioned_docs/version-0.5.x/themes/metropolis.md +++ b/versioned_docs/version-0.5.x/themes/metropolis.md @@ -15,7 +15,7 @@ The Metropolis theme is elegant and suitable for everyday use. It is recommended You can initialize it using the following code: ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.metropolis: * #import "@preview/numbly:0.1.0": numbly @@ -117,7 +117,7 @@ Creates a new section with the given title. ## Example ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.metropolis: * #import "@preview/numbly:0.1.0": numbly diff --git a/versioned_docs/version-0.5.x/themes/simple.md b/versioned_docs/version-0.5.x/themes/simple.md index d21f6183..1724e151 100644 --- a/versioned_docs/version-0.5.x/themes/simple.md +++ b/versioned_docs/version-0.5.x/themes/simple.md @@ -15,7 +15,7 @@ Considered a relatively straightforward theme, you can use it to create simple s You can initialize it using the following code: ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.simple: * #show: simple-theme.with( @@ -86,7 +86,7 @@ Used to draw attention, it optionally accepts a foreground color (defaulting to ## Example ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.simple: * #show: simple-theme.with( diff --git a/versioned_docs/version-0.5.x/themes/stargazer.md b/versioned_docs/version-0.5.x/themes/stargazer.md index 399cca1a..22024322 100644 --- a/versioned_docs/version-0.5.x/themes/stargazer.md +++ b/versioned_docs/version-0.5.x/themes/stargazer.md @@ -13,7 +13,7 @@ The Stargazer theme, originally created by [Coekjan](https://github.com/Coekjan/ You can initialize the theme with the following code: ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.stargazer: * #import "@preview/numbly:0.1.0": numbly @@ -127,7 +127,7 @@ Start a new section with the given title. ## Example ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.stargazer: * #import "@preview/numbly:0.1.0": numbly diff --git a/versioned_docs/version-0.5.x/themes/university.md b/versioned_docs/version-0.5.x/themes/university.md index 402b0276..ffd705e6 100644 --- a/versioned_docs/version-0.5.x/themes/university.md +++ b/versioned_docs/version-0.5.x/themes/university.md @@ -13,7 +13,7 @@ This aesthetically pleasing theme is courtesy of [Pol Dellaiera](https://github. You can initialize the theme with the following code: ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.university: * #import "@preview/numbly:0.1.0": numbly @@ -124,7 +124,7 @@ Refer to the [documentation](https://polylux.dev/book/themes/gallery/university. ## Example ```typst -#import "@preview/touying:0.5.1": * +#import "@preview/touying:0.5.2": * #import themes.university: * #import "@preview/numbly:0.1.0": numbly