Create project in app
This is an unofficial
template for writing a report in the HAW Hamburg
department of Computer Science
design using Typst.
Usage
To use this package just add the following code to your Typst document:
#import "@preview/haw-hamburg:0.6.2": report
#show: report.with(
language: "en",
title: "Example title",
author:"Example author",
faculty: "Engineering and Computer Science",
department: "Computer Science",
)
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. - 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
PDF
orLive Preview
only from within yourmain.typ
file. - References and the language server in general only work correctly when the
Live Preview
of themain.typ
file is running in the background. - If problems occur it usually helps to close the preview and restart it from your
main.typ
file.