https://github.com/mrtz-j/typst-thesis-template
A Modern UiT Thesis Template
https://github.com/mrtz-j/typst-thesis-template
flake thesis-template typst
Last synced: 5 months ago
JSON representation
A Modern UiT Thesis Template
- Host: GitHub
- URL: https://github.com/mrtz-j/typst-thesis-template
- Owner: mrtz-j
- License: mit
- Created: 2023-12-15T16:57:02.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-08T12:52:41.000Z (over 1 year ago)
- Last Synced: 2025-03-08T13:34:47.432Z (over 1 year ago)
- Topics: flake, thesis-template, typst
- Language: Typst
- Homepage:
- Size: 7.23 MB
- Stars: 10
- Watchers: 1
- Forks: 2
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Modern UiT Thesis Template
Port of the [uit-thesis](https://github.com/egraff/uit-thesis)-latex template to Typst.
[`thesis.typ`](template/thesis.typ) contains a full usage example, see [`thesis.pdf`](template/thesis.pdf) for a rendered PDF.
## Usage
Using the Typst Universe package/template:
```bash
typst init @preview/modern-uit-thesis:0.1.7
```
### Fonts
This template uses a number of different fonts:
- Open Sans (Noto Sans)
- JetBrains Mono (Fira Code)
- XCharter (Charter)
The above parenthesized fonts are fallback typefaces available by default in [the web app](https://typst.app).
If you'd like to use the main fonts instead, simply upload the `.ttf`s or `.otf`s to the web app and it will detect and apply them automatically.
XCharter is commonly packaged only for LaTeX, however to use it with Typst, we need to fetch the archive from [CTAN](https://mirrors.ctan.org/fonts/xcharter.zip).
The required `.otf` font files are in the `opentype` directory of the archive.
If you're running Typst locally, install the fonts in a directory of your choosing and specify it with `--font-path`.
> [!IMPORTANT]
> We use XCharter to access additional font features not available in Charter, such as smallcaps and old style figures.
> If you instead use the fallback font Charter to compile your document, be aware that these are unavailable.
### Nix
If you're using the nix package manager, simply run the provided dev shell. It includes all dependencies needed to write and build the document locally, including the main fonts.
## License
This project is licensed under the MIT License - see the [LICENSE](./LICENSE) file for details.