00-templates | ||
01-settings | ||
03-tail | ||
04-resources | ||
05-pdf | ||
guide-to-thesis.pdf | ||
guide-to-typst.pdf | ||
justfile | ||
LICENSE | ||
main.pdf | ||
main.typ | ||
README.md | ||
render.sh |
HEI-Vs Engineering School - Typst Thesis Template
A Typst template for the HES-SO//Valais Wallis Bachelor thesis.
Warning
Disclaimer, this is an unofficial typst template not supported by the HEI-Vs. Use at your own risk, no support is provided for installation or use. You have been warned.
Table of contents
Features • Getting started • Contributing • Credits • Find us on
Features
- Title page with official layout
- Table of contents, Table of figures, Table of tables, Table of listings
- Abstract
- Nice title styles for chapter and appendices
- Chapter table of contents (minitoc)
- Bibliography
- Glossary
- Code highlighting
- Nice default typography settings
- Custom Boxes
Getting started
Installation
This document is made for typst v0.11.0.
MacOS
# [homebrew](https://brew.sh)
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/
install.sh)"
# [just](https://just.systems)
brew install just
# [typst](https://github.com/typst/typst)
brew install typst
Linux & MacOS (via Rust)
# [rust](https://www.rust-lang.org/tools/install)
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
# [just](https://just.systems)
cargo install just
# [typst](https://github.com/typst/typst)
cargo install typst
Windows
# [chocolatey](https://chocolatey.org)
# ensure to use a administrative powershell
Set-ExecutionPolicy Bypass -Scope Process - Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New- Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/ install.ps1'))
# [just](https://just.systems)
choco install just
# [typst](https://github.com/typst/typst)
choco install typst
How to use
-
Modify variables in
01-settings/metadata.typ
-
Write your thesis there are plugins for VS-Code and Sublimetext available
-
Use the given justfile or typst directly to build the PDF
With the justfile
just Available recipes: clean # cleanup intermediate files default # List all commands info # Information about the environment install # install required sw open file_name=doc_name # open pdf pdf file_name=doc_name # build, rename and copy a typ file to a pdf pdf-all file_name=doc_name # build, rename and copy a typ file in all variants watch file_name=doc_name # watch a typ file for continuous incremental build ```
With typst directly
typst c main.typ # compiles thesis to main.pdf typst w main.typ # watches all documents and incrementally compiles to main.pdf
Contributing
-
Take a look at the issues issues with the "Help wanted" tag
-
Choose something or open a new issue
-
Fork the repo, fix the problem in a branch
-
Rebase your branch if needed
-
Submit a pull request
Help
Credits
- All guys from Typst
- Silvan Zahno
Find us on
- Webpage hevs.ch
- LinkedIn HEI Valais-Wallis
- Youtube HES-SO Valais-Wallis
- Twitter @hessovalais
- Facebook @hessovalais