This is the official template for a students report or project or lab report for the HEI-Vs Engineering School in Sion, Switzerland. More templates can the found in our GitHub organization

Using the template
-
In the
TypstUnivers select thehei-synd-reporttemplate. Locally you can use the Typst CLI to initialise the project:# from the typst universe typst init @preview/hei-synd-report:0.2.0 -
Fill in the metadata in the
metadata.typfile.
All metadata is optional, but it is recommended to fill in as much as possible. The metadata is divided into three sections: options, doc, and settings.
| Metadata | Type | Description |
|---|---|---|
options |
dictionary | These are fixed values for the document, who doesn’t contribute to the content. |
option.type |
string (“draft”,“final”) | Type of the document. “final” will omit some text at the beginning of chapters (default: "final") |
option.lang |
string (“en”, “fr”, “de”) | Language of the document. Many element will be changed accordingly (default:"en") |
doc |
dictionary | Document metadata |
doc.title |
content | Title of the document. |
doc.abbr |
content | Abbreviation of the Title. |
doc.subtitle |
content | Subtitle of the document. |
doc.url |
string | URL for the document or project |
doc.logos |
dictionary | Dicrionary for the different logos |
doc.logos.tp_topleft |
image | Image for the topleft section of the titlepage |
doc.logos.tp_topright |
image | Image for the topright section of the titlepage |
doc.logos.tp_main |
image | Image for the main section of the titlepage |
doc.logos.header |
image | Image for the header of the document |
doc.authors |
list of dictionary | List of authors with their metadata |
doc.authors.name |
content | Name of the author |
doc.authors.abbr |
content | Abbreviation of the author |
doc.authors.email |
string | Email of the author |
doc.school |
dictionary | School metadata |
doc.school.name |
content | Name of the school |
doc.school.url |
string | URL of the school |
doc.school.major |
content | Major of the school |
doc.school.major_url |
string | URL of the major |
doc.school.orientation |
content | Orientation of the school |
doc.school.orientation_url |
string | URL of the orientation |
doc.course |
dictionary | Course metadata |
doc.course.name |
content | Name of the course |
doc.course.url |
string | URL of the course |
doc.course.prof |
content | Name of the professor |
doc.course.email |
string | Email of the professor |
doc.course.class |
content | Class of the course |
doc.course.semester |
content | Semester of the course |
doc.keywords |
list of string | Keywords for the document |
doc.version |
content | Version of the document |
date |
datetime | Date of the document (default: datetime.today() |
tableof |
dictionary | Table of … settings for the document |
tableof.toc |
boolean | Create table of contents (default: true) |
tableof.tof |
boolean | Create table of figures (default: false) |
tableof.tot |
boolean | Create table of tables (default: false) |
tableof.tol |
boolean | Create table of listings (default: false) |
tableof.toe |
boolean | Create table of equations (default: false) |
tableof.maxdepth |
integer | Max depth of the table of contents (default: 3) |
gloss |
boolean | Create glossary and acronyms (default: true) |
appendix |
boolean | Create appendix (default: false) |
bib |
dictionary | Bibliography settings for the document |
bib.display |
boolean | Display bibliography (default: true) |
bib.path |
string | Path to the bibliography file (default: "/tail/bibliography.bib") |
bib.style |
string | Style of the bibliography (default: "ieee") |
- Write your content in the
report.typfile as well as the other files in themainfolder.
Usage
In order to build the Typst document locally you can use one of the following command:
# Create pdf
typst compile report.typ
# Create pdf and watch for changes
typst watch report.typ
# Create pdf with the options for language and type you want
typst compile report.typ --input type="draft" --input lang="de"
Features
- All metadata is optional
- Multilanguage support
- Multi author, professor support
- Customizable logos
- Draft and Final Typesetting via typst inputs
- Title page
- Table of contents
- Table of figures
- Table of tables
- Table of listings
- Table of equations
- Custom Boxes
- Sourcecode with codelst and codly
- Glossary and Acronyms with Glossarium
- Todo Boxes with Table of Todos in draft mode
- Custom Boxes
- Sourcecode with codelst and codly
- Glossary and Acronyms with glossarium
- Bibliography
- Content help
- Introduction
- Specification
- Design
- Implementation
- Validation
- Conclusion
Planned Features
- Wavedrom diagrams
- PlantUML diagrams
Help
If you need help writting your document look at the Typst documentation or if ou need more help with the template specifics look at the document Guide-to-Thesis.
Contributing
All notable information about contributing to this project can be found in the CONTRIBUTING.md file.
Issues and Support
If you encounter any issues or have questions regarding the course or any of the repositories, please feel free to open an issue in the respective repository. Our team will be happy to assist you.
Changelog
All notable changes to this project are documented in the CHANGELOG.md file.
Find us on
hevs.ch · LinkedIn HEI-Vs · LinkedIn HES-SO Valais-Wallis · Youtube HES-SO Valais-Wallis Twitter @hessovalais · Facebook @hessovalais ·