Skip to main content

Touying 0.6.1

· One min read
OrangeX4

Touying 0.6.1 adds first-class support for the theorion package and uses it as the default math theorem environment.

What's New

  • Theorion integration: Added built-in support for the theorion package, which provides beautiful numbered theorem, lemma, corollary, definition, and proof environments. It is now the recommended way to write theorem blocks in Touying slides.
#import "@preview/touying:0.6.1": *
#import themes.university: *
#import "@preview/theorion:0.3.2": *
#import cosmos.clouds: *
#show: show-theorion

#show: university-theme.with(
aspect-ratio: "16-9",
config-common(frozen-counters: (theorem-counter,)),
)

= Theorems

== Prime numbers

#theorem(title: "Euclid")[
There are infinitely many primes.
]

See the Theorion integration guide for more details.