Skip to content

VictuarVi/PoliMi-PhD-Thesis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

elegant-polimi-thesis 🎓

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.

Preview ✨

PhD frontispiece
PhD
DEIB PhD frontispiece
DEIB PhD
Computer Science and Engineering frontispiece
Computer Science and Engineering
Classical Master frontispiece
Classical Master
Executive Summary frontispiece
Executive Summary
Article Format frontispiece
Article Format

Usage 🖋

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.0

I'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

// acknowledgements

Depending on the thesis template you need change the frontispiece argument accordingly:

  • phd for "PhD Thesis Template"
  • deib-phd for "DEIB PhD Thesis"
  • classical-master for "Classical Format Thesis"
  • cs-eng-master for "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 document
  • author: name and surname of the author
  • advisor: name and surname of the advisor
  • coadvisor: name and surname of the coadvisor(s) (can be empty)
  • course: the course you are graduating in
  • academic-year: the corresponding academic year
  • custom-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 tutor
  • cycle: the cycle of the thesis
  • chair: the chair of the thesis
  • student-id: your student ID
  • frontispiece: 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 abstract
  • keywords: keywords (that will also appear in the document metadata)

Recommended packages

Useful packages for a thesis include:

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.

Roadmap 📝

Contributing 🚀

If you happen to have suggestions, ideas or anything else feel free to open issues and pull requests or contact me.

About

Typst recreation of the PhD Theses (and summaries) LaTeX template of Politecnico di Milano.

Resources

License

Contributing

Stars

Watchers

Forks

Contributors