m

metropolis-polylux

@preview

Metropolis style template for Polylux

v0.1.0
MIT
Template

Package Information

Last Updated
Categories
presentation

Preview

Template preview

1. Get the package

Download the package using the TPIX CLI:

tpix get @preview/metropolis-polylux:0.1.0

2. Initialize from template

Create a new project from this template:

typst init @preview/metropolis-polylux:0.1.0

Version History

0.1.0
fc00e6bfb674...

Polylux logo

Metropolis

A template for creating presentation slides with Typst and
Polylux.

thumbnail

Use via

typst init @preview/metropolis-polylux your-cool-project

A slides.typ file will be created for you that you can directly edit and get
going.

At the top of the gnerated slides.typ, you will find the line

#show: metropolis.setup

which you can edit to configure the template with the following options:

#show: metropolis.setup.with(
  text-font: "Fira Sans",
  math-font: "Fira Math",
  code-font: "Fira Code",
  text-size: 23pt,
  footer: [My cool footer], // defaults to none
)

All of them are optional and the default values are shown above.

Special syntax

Most of the template should be self explanatory but two things might be a bit
surprising:

Slide titles are created using level-one headings (= A Slide Title).
Headings of other levels are not affected.
A slide without such a level-one heading will not have a title.

Emphasized text (created like _this_) is not shown in italics but in a bright
color (in the original LaTeX version of Metropolis, you would use \alert for
this).

Fonts

By default, the template uses the fonts
Fira Sans,
Fira Math,
and
Fira Code.
Either make sure you have them installed or specify other fonts in the template.

About

This theme is inspired by https://github.com/matze/mtheme

The Polylux-port was originally performed by https://github.com/Enivex