Create simple static slides with Typst.
Slydst allows the creation of slides using Typst headings. This simplicity comes at the expense of dynamic content such as subslide animations. For more complete and complex slides functionalities, see other tools such as Polylux.
Usage
To start, just use the following preamble (only the title is required).
#import "@preview/slydst:0.1.1": *
#show: slides.with(
title: "Insert your title here", // Required
subtitle: none,
date: none,
authors: (),
layout: "medium",
ratio: 4/3,
title-color: none,
)
Insert your content here.
Then, insert your content.
- Level-one headings corresponds to new sections.
- Level-two headings corresponds to new slides.
- Blank space can be filled with vertical spaces like
#v(1fr)
.
== Outline
#outline()
= First section
== First slide
#figure(image("figure.png", width: 60%), caption: "Caption")
#v(1fr)
#lorem(20)
Components
Definitions, theorems, lemmas, corollaries and algorithms boxes are also available.
#definition(title: "An interesting definition")[
#lorem(20)
]
Documentation
slides
content
:content
- content of the presentationtitle
:str
- title (required)subtitle
:str
- subtitledate
:str
- dateauthors
:array
ofcontent
orcontent
- list of authors or author contentlayout
:str in ("small", "medium", "large")
- layout selectionratio
:float
orratio
orint
- width to height ratiotitle-color
:color
orgradient
- color of title and headings
definition
, theorem
, lemma
, corollary
, algorithm
content
:content
- content of the blocktitle
:str
- title of the block
Example