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 likeshow heading: set text(blue). - Document metadata:
config-infofields are now applied toset documentautomatically. alternativesdefault:stretch: falseis now the default — content no longer expands to fill the slide automatically. (Minor breaking change — more intuitive behaviour.)
Fixes
- Fix error with
uncoverusingsemi-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)