Skip to content

Commit

Permalink
Bump typst and dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Coekjan committed Nov 21, 2024
1 parent 41b0556 commit 24e429a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
10 changes: 6 additions & 4 deletions examples/main.typ
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#import "@preview/cetz:0.2.2"
#import "@preview/fletcher:0.5.1" as fletcher: node, edge
#import "@preview/touying:0.5.2": *
#import "@preview/cetz:0.3.1"
#import "@preview/fletcher:0.5.2" as fletcher: node, edge
#import "@preview/touying:0.5.3": *
#import "../lib.typ": * // i.e. "@preview/touying-buaa:<latest>"

// cetz and fletcher bindings for touying
Expand All @@ -10,7 +10,7 @@
#show: buaa-theme.with(
// Lang and font configuration
lang: "zh",
font: ("Linux Libertine", "Source Han Sans SC", "Source Han Sans"),
font: ("Libertinus Serif", "Source Han Sans SC", "Source Han Sans"),

// Basic information
config-info(
Expand Down Expand Up @@ -46,6 +46,8 @@

= Typst 与 Touying

== Typst 与 Touying

#tblock(title: [Typst])[
Typst 是一门新的基于标记的排版系统,它强大且易于学习。本演示文稿不详细介绍 Typst 的使用,你可以在 Typst 的#link("https://typst.app/docs")[文档]中找到更多信息。
]
Expand Down
2 changes: 1 addition & 1 deletion lib.typ
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Stargazer theme - adapted for BUAA
#import "@preview/touying:0.5.2": *
#import "@preview/touying:0.5.3": *
#import themes.stargazer: *

#let buaa-theme(
Expand Down
2 changes: 1 addition & 1 deletion template/main.typ
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#import "@preview/touying:0.5.2": *
#import "@preview/touying:0.5.3": *
#import "@preview/touying-buaa:0.2.0": *

// Specify `lang` and `font` for the theme if needed.
Expand Down

0 comments on commit 24e429a

Please sign in to comment.