Create project in app
Please refer to this page on how to use Politecnico’s image propertly and which are the suggested fonts (see below for more information about fonts):
https://www.polito.it/ateneo/chi-siamo/immagine-coordinata-e-marchio
Speficy the following fields:
title
: The title of your thesissubtitle
: Optional subtitlestudent-name
: Name of the student/authorlang
: language of the document “en” or “it”student-gender
: Optional gender of the student used only iflang = "it"
degree-name
: Name of your degreesupervisors
: List of the supervisors (relatori), must always be a list even if there is a single name. For example("Mario Rossi", )
academic-year
: “20xx/20xx”graduation-session
: Month and year of the graduation sessionfor-print
: Optional, iftrue
the left margin of the page will be increased to account for binding
Fonts
Fonts for the following elements can be customized independently, for example:
cover-font
:"Poppins"
,heading-font
:"Poppins"
,text-font
:"Libertinus Serif"
Refer to the following link to know how to install new fonts:
https://typst.app/docs/reference/text/text/#parameters-font
Colors
You can import the default suggested colors from this same template as
- #text(
polito-black
, fill: polito-black) - #text(
polito-blue
, fill: polito-blue) - #text(
polito-orange
, fill: polito-orange)
#import "@preview/polito-thesis:0.1.1" : polito-thesis, polito-black, polito-blue, polito-orange
#show: polito-thesis.with(
title: [Tesi di Laurea],
subtitle: [With support for English and Italian],
degree-name: "Typst Engineering",
academic-year: "2025/2026",
graduation-session: "May 2026",
student-name: "Mario Rossi",
supervisors: ("Mario Rossi", "Maria Bianchi"),
cover-font: "Poppins",
heading-font: "Poppins",
text-font: "Libertinus Serif"
)
= How to use this package
Please refer to this page on how to use Politecnico's image propertly and which are the suggested fonts (see below for more information about fonts):
#show link: set text(fill: blue)
#link("https://www.polito.it/ateneo/chi-siamo/immagine-coordinata-e-marchio")
Speficy the following fields:
- `title`: The title of your thesis
- `subtitle`: Optional subtitle
- `student-name`: Name of the student/author
- `lang`: language of the document "en" or "it"
- `student-gender`: Optional gender of the student used only if `lang = "it"`
- `degree-name`: Name of your degree
- `supervisors`: List of the supervisors (relatori), must always be a list even if there is a single name. For example `("Mario Rossi", )`
- `academic-year`: "20xx/20xx"
- `graduation-session`: Month and year of the graduation session
- `for-print`: Optional, if `true` the left margin of the page will be increased to account for binding
== Fonts
Fonts for the following elements can be customized independently, for example:
- `cover-font`: `"Poppins"`,
- `heading-font`: `"Poppins"`,
- `text-font`: `"Libertinus Serif"`
*Refer to the following link to know how to install new fonts*:
#link("https://typst.app/docs/reference/text/text/#parameters-font")
== Colors
You can import the default suggested colors from this same template as
- #text(`polito-black`, fill: polito-black)
- #text(`polito-blue`, fill: polito-blue)
- #text(`polito-orange`, fill: polito-orange)
== Example sub-chapter
#lorem(40)
=== #lorem(10)
= Another chapter
#lorem(500)
The file polito.png
belongs to Politecnico di Torino, please refer to the following link to know more:
https://www.polito.it/ateneo/chi-siamo/immagine-coordinata-e-marchio