Skip to main content

metropolis-theme

Touying metropolis theme.

Example:

#show: metropolis-theme.with(aspect-ratio: "16-9", config-colors(primary: blue))`

Consider using:

#set text(font: "Fira Sans", weight: "light", size: 20pt)`
#show math.equation: set text(font: "Fira Math")
#set strong(delta: 100)
#set par(justify: true)

The default colors:

config-colors(
primary: rgb("#eb811b"),
primary-light: rgb("#d6c6b7"),
secondary: rgb("#23373b"),
neutral-lightest: rgb("#fafafa"),
neutral-dark: rgb("#23373b"),
neutral-darkest: rgb("#23373b"),
)
Parameters

aspect-ratio : string    default: "16-9"

The aspect ratio of the slides. Default is 16-9.

align : alignment    default: horizon

The alignment of the content. Default is horizon.

The header of the slide. Default is self => utils.display-current-heading(setting: utils.fit-to-width.with(grow: false, 100%), depth: self.slide-level).

header-right : content | function    default: self => self.info.logo

The right part of the header. Default is self => self.info.logo.

The footer of the slide. Default is none.

The right part of the footer. Default is context utils.slide-counter.display() + " / " + utils.last-slide-number.

Whether to show the progress bar in the footer. Default is true.