Universe
Create project in app

This is an unofficial template for writing a bachelor thesis in the HAW Hamburg department of Computer Science design using Typst.

Required Fonts

To correctly render this template please make sure that the New Computer Modern font is installed on your system.

Usage

To use this package just add the following code to your Typst document:

#import "@preview/haw-hamburg:0.3.1": 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: "Engineering and Computer Science",
  department: "Computer Science",
  study-course: "Bachelor of Science Informatik Technischer Systeme",
  supervisors: ("Prof. Dr. Example", "Prof. Dr. Example"),
  submission-date: datetime(year: 1948, month: 12, day: 10),
  include-declaration-of-independent-processing: true,
)

How to Compile

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.typ file which includes all of your chapters for references to work correctly.
  • VSCode:
    • Install the Tinymist Typst extension.
    • Make sure to start the PDF or Live Preview only from within your main.typ file.
    • If problems occur it usually helps to close the preview and restart it from your main.typ file.