Universe

Create project in app

A Typst version for SWUFE Beamer template.

Inspired by Touying Slide Theme for Beihang University.

Quick Start (Official Package)

The fastest way to get started is to use the Typst official package manager:

 $ typst init @preview/touying-simpl-swufe
Successfully created new project from @preview/touying-simpl-swufe:<latest>
To start writing, run:
> cd touying-simpl-swufe
> typst watch main.typ

Font Guidance

This template recommends using KaiTi (楷体) as the Chinese font.

  • Windows: KaiTi is pre-installed on Windows systems and can be used directly.
  • macOS: “Kaiti SC” (楷体-简) can be used directly.
  • Linux: You need to install a KaiTi font manually.

For Typst Web App users: You need to upload the font file first to ensure proper display, as web app doesn’t have access to system fonts.

Installation and Setup (From GitHub)

Method 1: Direct File Copy

You can directly copy the lib.typ file to your project root directory. Then import the template at the top of your Typst file.

#import "/lib.typ": *

Method 2: Local Package Installation

Clone the repository and install it as a local package for use across different projects. Refer to the Typst documentation:

git clone https://github.com/leichaol/packages.git {data-dir}/typst/packages/local/touying-simpl-swufe/0.1.0

Where {data-dir} is:

  • Linux: $XDG_DATA_HOME or ~/.local/share
  • macOS: ~/Library/Application Support
  • Windows: %APPDATA%, i.e., C:/Users/<username>/AppData/Roaming

Then use:

#import "@local/touying-simpl-swufe:0.1.0": *

Examples

screenshot of the template slide

See the examples directory for more details and sample projects.

Compiling Examples

You can compile the examples locally:

$ typst compile ./examples/main.typ --root .

This will generate ./examples/main.pdf.

The logo in this theme is sourced from swufe-logo by ChenZhongPu. Thank the author for providing the logo resource.

These logos are the property of Southwestern University of Finance and Economics. Their inclusion here is for academic formatting purposes only and does not imply official endorsement by the university.

The template author does not hold the copyright to these logos and does not claim any rights over them.

For official use or redistribution of the logos, please contact Southwestern University of Finance and Economics directly.

License

Licensed under the MIT License.