🚀 the FAU style, but in typst. Inspired by FAU beamer
FAUSans Officefont family installedtypst >= 0.12.0compiler installedgitandpython3installed
This theme will not be published in the package repository of typst due to distribution restrictions.
However you can easily install it locally as follows:
git clone git@github.com:lukasbm/fau-typst.git
cd fau-typst
# make sure you execute the python script from the project root!
python3 install.py # run the cross-platform install script (just copies the source files to the right location)After installing the dependencies (Fonts, git, Typst compiler) and the local package (using the python script), you can start writing your own documents. The default setup will look like this:
#import "@preview/polylux:0.4.0": *
#import "@local/fau-typst:0.0.1": <institution>-theme, main
#import <intitution>-theme: * // import everything from the theme (slide types)
// initialize the template with this function (important!)
#show: main.setup-theme.with(
short-author: "Lukas Böhm",
short-title: "Test Document",
short-date: datetime.today(),
short-organization: "Lab1",
institution: "FAU",
)Where <institution> can be replaced with either: fau, nat, phil, rw, tech, med.
Just changing the import statement will update the entire theme.
No need for more complicated settings!
You're ready to get going! Write your first presentation. For example like this:
#title-slide(
title: "Test Document showing off the theme",
subtitle: "in Typst, the new Markup Language",
authors: (
(
name: "Theresa Tungsten",
affiliation: "Artos Institute",
email: "tung@artos.edu",
),
(name: "Eugene Deklan", affiliation: "Honduras State"),
(name: "Lukas Böhm"),
),
)
#slide(title: "Introduction", subtitle: "What is this?")[
This file demonstrates the usage of the FAU theme for typst.
]While more extensive documentation is in the works, take a look at the example directory to get a better indication of how to use this template.
For more information, take a look at the Developer Guide
TODO
In case there are inexplicable compiler errors, try redownloading the dependency packages (polylux).
First delete it from the cache where it is saved.
(e.g. rm -rf ~/.cache/typst/packages/preview/polylux on linux)
Then try again