Skip to main content

Touying 0.6.0

· One min read
OrangeX4

Touying 0.6.0 is the first release since Typst 0.13 and brings several quality-of-life improvements.

Features

  • Auto heading style: utils.display-current-heading(level: 1, style: auto) now respects show rules like show heading: set text(blue).
  • Document metadata: config-info fields are now applied to set document automatically.
  • alternatives default: stretch: false is now the default — content no longer expands to fill the slide automatically. (Minor breaking change — more intuitive behaviour.)

Fixes

  • Fix error with uncover using semi-transparent-cover.
  • Fix type string comparison (#153).
  • Fix horizontal-line bug in Typst 0.13.0.
  • Refactor: fix display-current-short-heading.

Getting Started

#import "@preview/touying:0.6.1": *
#import themes.university: *

#show: university-theme.with(
aspect-ratio: "16-9",
config-info(
title: [My Talk],
author: [Alice],
date: datetime.today(),
),
)

#title-slide()

= Introduction

== Hello

#lorem(40)