Create project in appCreate a new project with
A slide theme for Capital Normal University based on the Touying presentation framework.
Modified from the Touying slide theme for China Agricultural University; originally created for Beihang University.
Usage
Import the theme in existing projects
#import "@preview/touying:0.7.4": *
#import "@preview/touying-simpl-cnu:0.0.1": *
#show: cnu-theme.with(
config-info(
title: [Touying for CNU: Customize Your Slide Title Here],
subtitle: [Customize Your Slide Subtitle Here],
author: [Authors],
date: datetime.today(),
institution: [Capital Normal University],
),
// use-background: false, // Uncomment to disable background image
)
#title-slide() // Create a title slide
#outline-slide() // Create an outline slide
// Add your content here
Create a new project with typst init
Quickly scaffold a new presentation with:
$ typst init @preview/touying-simpl-cnu
Successfully created new project from @preview/touying-simpl-cnu:<latest>
To start writing, run:
> cd touying-simpl-cnu
> typst watch main.typ
Examples
See examples/main.typ for more details.
Compile the examples yourself:
$ typst compile ./examples/main.typ --root .
The compiled presentation will be available at ./examples/main.pdf.
Development
This package is maintained using:
- Typush - for publishing to the Typst package registry.
- Typst Upgrade - for upgrading Typst packages.
License & Trademark Notice
- Code & Templates: Licensed under the MIT License.
- University Emblem Notice: The Capital Normal University emblem and logo (
assets/CNU.svg,assets/emblem.svg, and preview images such asthumbnail.pngthat contain them) are intellectual property of Capital Normal University (CNU). They are not covered by the MIT License. They are included exclusively for non-commercial, academic, and educational presentations, thesis defenses, and reports by Capital Normal University members, in accordance with the CNU Visual Identity System management rules. All intellectual property and trademark rights are reserved by Capital Normal University (https://www.cnu.edu.cn).