Universe

Create project in app

[δΈ­ζ–‡]

This repository provides a Yanshan University-themed slide template for Touying and Typst.

Requirements

  • Typst 0.14.x
  • @preview/touying:0.6.3
  • @preview/cuti:0.4.0

Initialize with typst init

Once this package is published to Typst Universe, initialize a new deck with:

typst init @preview/simply-ysu-touying:0.1.0 my-slides
cd my-slides
typst compile main.typ

The generated main.typ already imports:

#import "@preview/simply-ysu-touying:0.1.0": *

For local testing before the package PR is merged, mirror the published preview layout under a local package path and reuse --package-path; the exact directory structure is documented in docs/typst-packages-pr-structure.md.

Quick start

After publication, import the package directly:

#import "@preview/simply-ysu-touying:0.1.0": *

#show: ysu-theme.with(
  config-info(
    title: [Presentation Title],
    author: [Your Name],
    institution: [Yanshan University],
    date: datetime.today(),
  ),
)

#title-slide()
#outline-slide()

To work directly from a cloned repository, import the theme file instead:

#import "@preview/touying:0.6.3": *
#import "themes/ysu-beamer.typ": *

Compile the repository demo

After cloning this repository, compile the bundled demo with:

typst compile --root . examples/beamer-ysu.typ

Included files

  • template/main.typ: template entrypoint used by typst init
  • themes/ysu-beamer.typ: main theme file
  • themes/assets/: official YSU-inspired visual assets adapted for Typst

Repository demo source: examples/beamer-ysu.typ

Preview

Cover Two-column layout
Cover slide preview Two-column layout preview

Minimal example code slide preview

See README.zh.md for the main documentation and the repository demo link above for a complete sample.

Licensing and Assets

  • Theme and library source files are released under the MIT License.
  • LICENSE preserves both the upstream QuadnucYard notice and the current Geekyhang notice because this repository adapts upstream work while shipping new YSU-specific source files under the same MIT terms.
  • The starter content in template/main.typ is additionally available under MIT No Attribution; see LICENSE-MIT-0.txt.
  • University-branded assets in themes/assets/ysu-* are not covered by the SPDX license expression in typst.toml; see ASSETS.md for the file inventory, source links, transformation notes, and reviewer guidance.

License

Licensed under the MIT License.