An open API service indexing awesome lists of open source software.

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

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
]
```