This template was created for a master thesis at the faculty of computer science (FIN), but should work as well for other faculties.

## File structure
```
.
├── assets                          // Images, CSV-Files, etc. 
│   └── figure                      // Image files
│       └── optimal-ovgu-thesis    
├── chapter                         // Content
│   ├── 01-Einleitung.typ
│   ├── ...
│   └── 99-Appendix.typ
├── expose.typ                      // Exposé template
├── metadata.typ                    // Metadata and template config
├── thesis.bib                      // Bibliography (e.g. generated by Zotero + Better BibTex)
└── thesis.typ                      // Thesis template
```

## Logos on the title page
Faculty header logos are available as svg in `assets/figure/optimal-ovgu-thesis`. See [cd.ovgu.de](https://www.cd.ovgu.de/Fakult%C3%A4ten.html) for more information regarding the OvGU corporate design.

Header logos are set in `metadata.typ`:
```typ
// Example 1: Use UCC logo as organisation-logo and the FIN faculty header as header-logo
#let organisation-logo = image("assets/figure/optimal-ovgu-thesis/ucc.svg", width: 2cm)
#let header-logo = image("assets/figure/optimal-ovgu-thesis/fin-de.svg", width: 100%)

// Example 2: Do not use logos at all
#let organisation-logo = none
#let header-logo = none
```

## Fonts
This template requires these two fonts to be installed on your system:
- New Computer Modern
- New Computer Modern Sans

### NixOS
In your `configuration.nix`:
```nix
  fonts.packages = with pkgs; [
    liberation_ttf # here are your other fonts (liberation is just an example)
  ] ++ texlive.newcomputermodern.pkgs; # ← New Computer Modern font
```

## Development
In case you want to contribute, check out the repo into a [typst package directory](https://github.com/typst/packages?tab=readme-ov-file#local-packages) 

### Example for Linux:
Local package path: `~/.local/share/typst/packages/local/optimal-ovgu-thesis/0.1.0`

```sh
mkdir -p ~/.local/share/typst/packages/local/optimal-ovgu-thesis
cd ~/.local/share/typst/packages/local/optimal-ovgu-thesis
git clone <EMAIL>:v411e/optimal-ovgu-thesis.git
mv optimal-ovgu-thesis 0.1.0
```

This will make the package available locally, so you can use `typst init "@local/optimal-ovgu-thesis:0.1.0"` to create a test-project from the template.
