This is an unofficial template for writing a report or thesis in the HAW Hamburg Faculty of Computer Science and Digital Society style using Typst.
To use this package just add the following code to your Typst document:
#import "@preview/haw-hamburg:0.9.0": report
#show: report.with(
language: "en",
title: "Example title",
author:"Example author",
faculty: "Computer Science and Digital Society",
)#import "@preview/haw-hamburg:0.9.0": bachelor-thesis
#show: bachelor-thesis.with(
language: "en",
title-de: "Beispiel Titel",
keywords-de: ("Stichwort", "Wichtig", "Super"),
abstract-de: "Beispiel Zusammenfassung",
title-en: "Example title",
keywords-en: ("Keyword", "Important", "Super"),
abstract-en: "Example abstract",
author: "Example author",
faculty: "Computer Science and Digital Society",
study-course: "Bachelor of Science Informatik Technischer Systeme",
supervisors: ("Prof. Dr. Example", "Prof. Dr. Example"),
submission-date: datetime(year: 1948, month: 12, day: 10),
)#import "@preview/haw-hamburg:0.9.0": master-thesis
#show: master-thesis.with(
language: "en",
title-de: "Beispiel Titel",
keywords-de: ("Stichwort", "Wichtig", "Super"),
abstract-de: "Beispiel Zusammenfassung",
title-en: "Example title",
keywords-en: ("Keyword", "Important", "Super"),
abstract-en: "Example abstract",
author: "The Computer",
faculty: "Computer Science and Digital Society",
study-course: "Master of Science Computer Science",
supervisors: ("Prof. Dr. Example", "Prof. Dr. Example"),
submission-date: datetime(year: 1948, month: 12, day: 10),
)#import "@preview/haw-hamburg:0.9.0": expose
#show: expose.with(
language: "en",
title: "Example title",
keywords: ("Keyword", "Important", "Super"),
author: "Example author",
faculty: "Computer Science and Digital Society",
supervisors: ("Prof. Dr. Example", "Prof. Dr. Example"),
submission-date: datetime(year: 1948, month: 12, day: 10),
)This project contains an example setup that splits individual chapters into different files.
This can cause problems when using references etc.
These problems can be avoided by following these steps:
- Make sure to always compile your
main.typfile which includes all of your chapters for references to work correctly. - CLI:
- Install Typst on your system.
- Open the terminal and run:
typst compile main.typ.
- VSCode:
- Install the Tinymist Typst extension.
- Make sure to start the
PDForLive Previewonly from within yourmain.typfile. - References and the language server in general only work correctly when the
Live Previewof themain.typfile is running in the background. - If problems occur it usually helps to close the preview and restart it from your
main.typfile.
Examples can be found inside of the templates directory
- For Bachelor theses see: Bachelor thesis example
- For Master theses see: Master thesis example
- For reports see: Report example
- For exposés see: Expose example