https://github.com/languisher/touying-sjtu
Touying Slide Theme for Shanghai Jiao Tong University
https://github.com/languisher/touying-sjtu
Last synced: 2 months ago
JSON representation
Touying Slide Theme for Shanghai Jiao Tong University
- Host: GitHub
- URL: https://github.com/languisher/touying-sjtu
- Owner: Languisher
- License: mit
- Created: 2024-08-16T08:30:19.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-08-16T08:35:56.000Z (9 months ago)
- Last Synced: 2024-11-10T12:38:20.035Z (6 months ago)
- Language: Typst
- Homepage:
- Size: 3.07 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Touying Slide Theme for Shanghai Jiao Tong University
> _CLAIM_: This theme is not, and never will be, the official version of the Touying Slide Theme for Shanghai Jiao Tong University. It is solely for my personal use!
This repository is based on [Touying Slide Theme](https://github.com/touying-typ/touying) and [Touying Slide Theme for Beihang University](https://github.com/Coekjan/touying-buaa) with only minor changes.
An example of a PowerPoint generated by this template can be viewed here: [Click the link!](example/file/main.pdf)
You can start within 30 seconds with this file: [Click the link!](template/test.typ)
## Guidance
### Basic Info of the Presentation PowerPoint
You should first modify these variables:
```typst
// Global information configuration
#let s = (s.methods.info)(
self: s,
title: [TITLE],
subtitle: [SUBTITLE],
author: [AUTHOR],
date: datetime.today(),
institution: [INSTITUTION],
)
```### Creating a Slide
```typst
#slide[
CONTENTS
]
```#### Creating a Double-Column Slide
```typst
#slide(composer: (2fr, 1fr))[
COLUMN1
][
COLUMN2
]
```The `composer` attribute is optional and can be used to adjust the width of the columns.
#### Setting Up the Slide Title
The slide title is determined by its level-2 heading.
```typst
== TITLE#slide[
CONTENTS
]
```### Insertion
#### Inserting a Figure
```typst
#figure(
image("FILEPATH", width: NUM%)
)
```You should change the `FILEPATH` to the relative path of the figure in relation to this file.
The `width` attribute is optional. If it is omitted, the system will automatically scale and resize the figure.
#### Inserting a Box
```typst
#tblock(title: "TITLE")[
CONTENTS
]
```