Typst theses and summaries templates for the Polytechnic University of Milan. The package supports all the templates that can be found on this page.
See the examples directory and documentation for more information.
|
PhD
|
DEIB PhD
|
|
Computer Science and Engineering
|
Classical Master
|
|
Executive Summary
|
Article Format
|
You can either use this template in the webapp by clicking on "Create project in webapp" or, from the CLI, run:
typst init @preview/elegant-polimi-thesis:0.2.0I'd also recommend to export with the a-3u PDF standard flag (see more).
To get started:
#import "@preview/elegant-polimi-thesis:0.2.0": *
#show: polimi-thesis.with(
title: "Thesis Title",
author: "Vittorio Robecchi",
advisor: "Donatella Sciuto",
coadvisor: "Antonio Capone",
tutor: "Marco Bramanti",
frontispiece: "phd"
)
#show: frontmatter
// abstract in English
// sommario in Italian
#show: acknowledgements
// acknowledgements
#toc
#list-of-figures
#list-of-tables
#let nomenclature_ = (
"key" : "value"
)
#nomenclature(
nomenclature_,
indented: true
)
#show: mainmatter
// main section of the thesis
#show: backmatter
// backmatter
#show: appendix
// appendix
#show: backmatter
// bibliography
#show: acknowledgements
// acknowledgementsDepending on the thesis template you need change the frontispiece argument accordingly:
phdfor "PhD Thesis Template"deib-phdfor "DEIB PhD Thesis"classical-masterfor "Classical Format Thesis"cs-eng-masterfor "Computer Science and Engineering"
The template also offers the Executive Summary and the Article Format; in order to use them show the respective functions:
#import "@preview/elegant-polimi-thesis:0.2.0": *
// For the article format
#show: polimi-article-format.with(
title: "Thesis Title",
author: "Vittorio Robecchi",
advisor: "Donatella Sciuto",
coadvisor: "Antonio Capone",
abstract: include "../sections/abstract.typ"
)
// For the executive summary
#show: polimi-executive-summary.with(
title: "Thesis Title",
author: "Vittorio Robecchi",
advisor: "Donatella Sciuto",
coadvisor: "Antonio Capone",
)The templates are three distinct documents, however they share most of the arguments:
title: title of the documentauthor: name and surname of the authoradvisor: name and surname of the advisorcoadvisor: name and surname of the coadvisor(s) (can be empty)course: the course you are graduating inacademic-year: the corresponding academic yearcustom-logo: logo of the thesis (the logos provided by the template are distributed with NC-BY 4.0 license)
I recommend to import all the library anyway in order to access all the functions (*matter, theorems-related among others).
The following are exclusive to polimi-thesis:
tutor: name and surname of the tutorcycle: the cycle of the thesischair: the chair of the thesisstudent-id: your student IDfrontispiece: the specific type of frontispiece to be used (default:phd; supported:deib-phd,cs-eng-master,classical-master)
Depending on the selected frontispiece, not all these attributes may be needed.
The following are exclusive to polimi-article-format-thesis:
abstract: the abstractkeywords: keywords (that will also appear in the document metadata)
Useful packages for a thesis include:
- equate, physica for mathematical expressions
- unify, zero to correctly format numbers
- cetz, fletcher for drawing diagrams, lilaq to plot data
- zebraw, codly for syntax highlighting in code blocks
- frame-it, showybox to display formatted blocks
- alexandria for multiple bibliographies (currently unsupported)
- meander to wrap text around images and such
The smartaref and hallon packages have been integrated to provide subfigures (currently unsupported), while great-theorems and headcount to handle theorems implementations.
| Typst package | LaTeX equivalent |
|---|---|
| equate | ams*, mathtools |
| phisica | ams*, mathtools |
| unify | siunitx |
| zero | siunitx |
| cetz | TikZ |
| fletcher | TikZ |
| lilaq | TikZ |
| zebraw | listings |
| codly | listings |
| frame-it | mdframed |
| showybox | mdframed |
| lovelace | pseudo |
| algo | pseudo |
| meander | wrapfig |
The complete list of packages can be found on the Typst Universe.
- Support the Digital presentation templates
If you happen to have suggestions, ideas or anything else feel free to open issues and pull requests or contact me.