Skip to content

giacomogallina/polylux

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slides in Typst

This is a template for creating slides in Typst.

Book badge GitHub GitHub release (latest by date) Demo badge

Quickstart

#import "slides.typ": *

#show: slides.with(
    authors: "Names of author(s)",
    short-authors: "Shorter author for slide footer",
    title: "Title of the presentation",
    subtitle: "Subtitle of the presentation",
    short-title: "Shorter title for slide footer",
    date: "March 2023",
)

#set text(font: "Inria Sans", size: 25pt)

#slide(theme-variant: "title slide")

#new-section("My section name")

#slide(title: "A boring static slide")[
  Some boring static text.

  #lorem(20)
]

#slide[
  A fancy dynamic slide without a title.
  #uncover("2-")[This appears later!]
]

#slide(theme-variant: "wake up")[
  Focus!
]

#new-section("Conclusion")

#slide(title: "Take home message")[
  Read the book!

  Try it out!

  Create themes!
]

This code produces these PDF pages: title slide

As you can see, creating slides is as simple as using the #slide function. You can also use different themes (contributions welcome if you happen to create your own!)

For dynamic content, the template also provides a convenient API for complex overlays.

Visit the book for more details or take a look at the demo PDF where you can see the features of this template in action.

⚠ This template is in active development. While I try to make sure that the main-branch always is in a usable state, there are no compatibility guarantees!

Releases

No releases published

Packages

No packages published

Languages

  • Makefile 100.0%