Package Information
- Last Updated
- Minimum Typst Version
- 0.14.0
- Authors
- Felix 'Gronner' Bräunling
- Categories
- presentation
- Dependencies
- @preview/polylux:0.4.0
Preview
1. Get the package
Download the package using the TPIX CLI:
tpix get @preview/swec-slides:0.1.02. Initialize from template
Create a new project from this template:
typst init @preview/swec-slides:0.1.0swec-slides
This is a typst template for slide decks using polylux in the style of the SoftWare Engineering Camp.
![]()
Usage
You can use this template in the Typst web app by clicking "Start from template" on the dashboard
and searching for swec-slides.
Alternatively, you can use the CLI to kick this project off using the command
typst init @preview/swec-slides
This template requires the Noto Sans font.
Configuration
The template provides a swec-template function to configure the layout:
#show: swec-template.with(
aspect-ratio: "16-9", // Optional
dark-mode: false, // Optional
title: [SWEC],
subtitle: [We beg to Differ], // Optional
authors: (
("Manu Musterperson", "manu.musterperson@subdomain.example"),
("Manu Musterperson", "manu.musterperson@subdomain.example"),
), // Optional
)
Functions
For the title slide you can use #title-slide() to generate the SWEC Title slide based on the
metadata configured with swec-template()
Subsequent slides can be created with
#slide(
title: [Slide Title],
page-number: true, // Optional,
)[
Some Text
]