Unofficial Typst template for project reports at Aalborg University (AAU). This is based on the LaTeX template https://github.com/jkjaer/aauLatexTemplates.
The template is generic to any field of study, but defaults to Computer Science.
Usage
Click “Create project in app”.
Or via the CLI
typst init @preview/classic-aau-report
NOTE: The template tries to use the Palatino Linotype
font, which is not available in Typst. It is available here
To use it in the web-app, put the .ttf
files anywhere in the project tree.
To use it locally specify the --font-path
flag (or see the docs).
Confugiration
The project
function takes the following (optional) arguments:
-
meta
: Metadata about the projectproject-group
: The project group nameparticipants
: A list of participantssupervisors
: A list of supervisorsfield-of-study
: The field of studyproject-type
: The type of project
-
en
: English project infotitle
: The title of the projecttheme
: The theme of the projectabstract
: The English abstract of the projectdepartment
: The department namedepartment-url
: The department URL
-
dk
: Danish project infotitle
: The Danish title of the projecttheme
: The theme of the project in Danishabstract
: The Danish abstract of the projectdepartment
: The department name in Danishdepartment-url
: The Danish department URL
The defaults are as follows:
#let defaults = (
meta: (
project-group: "No group name provided",
participants: (),
supervisors: (),
field-of-study: "Computer Science",
project-type: "Semester Project"
),
en: (
title: "Untitled",
theme: "",
abstract: [],
department: "Department of Computer Science",
department-url: "https://www.cs.aau.dk",
),
dk: (
title: "Uden titel",
theme: "",
abstract: [],
department: "Institut for Datalogi",
department-url: "https://www.dat.aau.dk",
),
)
Furthermore, the template exports the shawrules
frontmatter
: Sets the page numbering to arabic and chapter numbering to nonemainmatter
: Sets the chapter numberingChapter
followed by a number.backmatter
: Sets the chapter numbering back to noneappendix
: Sets the chapter numbering toAppeendix
followed by a letter.
To use it in an existing project, add the following show rule to the top of your file.
#include "@preview/classic-aau-report:0.1.0": project, frontmatter, mainmatter, backmatter, appendix
// Any of the below can be omitted, the defaults are either empty values or CS specific
#show: project.with(
meta: (
project-group: "CS-xx-DAT-y-zz",
participants: (
"Alice",
"Bob",
"Chad",
),
supervisors: "John McClane"
),
en: (
title: "An awesome project",
theme: "Writing a project in Typst",
abstract: [],
),
dk: (
title: "Et fantastisk projekt",
theme: "Et projekt i Typst",
abstract: [],
),
)
// #show-todos()
#show: frontmatter
#include "chapters/introduction.typ"
#show: mainmatter
#include "chapters/problem-analysis.typ"
#include "chapters/conclusion.typ"
#show: backmatter
#bibliography("references.bib", title: "References")
#show: appendix
#include "appendices/code-snippets.typ"