TUM Templates for Typst
Inoficial TUM Templates for Typst. Based on the LaTex4EI templates.
Installation
Clone this repository into {data-dir}/typst/packages/{namespace}/tum-templates/{version}.
git clone https://github.com/lufixSch/tum-templates-typst.git {data-dir}/typst/packages/{namespace}/tum-templates/{version}
Here {data-dir} is the directory for local Typst packages:
$XDG_DATA_HOMEor~/.local/shareon Linux~/Library/Application Supporton macOS%APPDATA%on Windows
{namespace} is the namespace you choose. In the following the local namespace is used. The package {version} can be obtained from the typst.toml file
Afterwards the package can be imported:
#import "@local/tum-templates:0.3.0": *
...
Typst WebAPP
Unfortunately this package is not yet available as an official Typst package. Therefore it can not be imported/installed in the Typst webapp. The easiest workaround is, to upload the utility.typ, the .typ file corresponding to the required template and the assets to your project.
Usage
Currently, the following templates are supported:
- Article (
tum-article): Generic scientific article - Beamer (
tum-beamer): Presentation slides based on the touying package - Cheat-Sheet (
tum-sheat-sheet): Cheat-sheet for exams
The template is initialized as follows. Arguments change depending on the specific template.
#import "@local/tum-templates:0.3.0": *
#show template.with(...)
Utility
The package also provides the following utility functions and variables:
tum-text-font: The font family used in tum documentstum-blue: The TUM Brand Colortum-info-block: Builds the TUM affiliation block often visible at the top of a documenttum-author: Builds an Author object as expected by some templates (for exampletum-article)tum-emphasize: Emphasize text by creating a bordered block with colors depending on the severity
Last page update: Friday, October 17th 2025, 04:28:05 UTC