Universe

Create project in app

Build Document Repo License

“Simpres” slide template for the typst presentation package touying.

It uses the Source Sans 3 font as default, which can be downloaded here.

You can either initialize the template in a new folder with:

typst init @preview/touying-simpres:0.1.0

… or import the template to an existing document with:

#import "@preview/touying-simpres:0.1.0": *

Configuration

Use #show: touying-simpres.with() to configure the template as needed.

  • aspect-ratio: Default is “16-9”, alternatively “4-3”
  • lang: The language of the respective presentation (default “en”)
  • font: The font of the presentation (default “Source Sans 3”)
  • text-size: Size of the text content (default “22pt”)
  • show-level-one: (bool) Show section heading on the content slides (default: true)
  • footer: The footer of the content slides (default: none)

Other parameters, such as title, subtitle, author, date and institution are taken from the config-info object, which looks as follows:

  config-info(
    title: [The "Simpres" slide template],
    subtitle: [Straightforward Presentations],
    author: [thy0s],
    date: datetime.today(),
    institution: [Funk Town State University],
  )

Slide types

  • #outline-slide: Dedicated outline slide with 2 parameters
    • depth: Maximum heading level to display (default: 2)
    • title: Override the default “Outline”, e.g. when using a different language
  • #focus-slide - High contrast slide with no configuration options

The template also shows a #new-section-slide for every level one heading and allows for overriding the default settings of show-level-one and footer by calling the #slide function directly.

Credit

Parts of this template were inspired by and taken from the university theme and the metropolis theme aswell as the clean-math-presentation.

Contribution

If you have any problems with this template feel free to open an issue. Also, if you have anything usefult to add to this template, you can open a pull request and it will be looked at.

All constructive contributions are welcome and highly appreciated!

Examples

Title Slide

0

Outline Slide

1

Section Slide

2

Content Slide (Without L1 Heading)

3

Content Slide (With L1 Heading)

6

Focus Slide

5