gongcastro / upfthesis

A Quarto template for thesis dissertations at Universitat Pompeu Fabra
https://gongcastro.github.io/blog/upfthesis/upfthesis.html
MIT License
7 stars 1 forks source link

upfthesis format

This Quarto extension provides a template and format for doctoral dissertations at Universitat Pompeu Fabra (UPF).

See a rendered example here.

This template follows the structure and formatting guidelines listed by Guies BibTIC:

For now, only the PDF output in B5 (recommended by UPF) is available. If you want to contribute extending this template and formatting to Microsoft Word and Open Document output formats, do not hesitate to contact me, aor to open an issue or pull request. Any other contributions are also welcome! :rocket:

:bulb: This template does not generate the cover of the book. You must request it separately opening a CAU

Installing :arrow_down:

Quarto needs to be 1.3.0 or higher. I also recommend an updated version of MikTeX complications during compilation.

quarto use template gongcastro/upfthesis

This will install the extension and create an set up the structure of the project. If you are used to working from RStudio, I recommend you create a new project in this same folder.

Template structure :file_folder:

The downloaded directory contains several sub-directories and files:

chapters:
  - index.qmd
  - chapters/01-introduction.qmd
  - chapters/02-chapter-1.qmd
  - chapters/03-chapter-2.qmd
  - chapters/04-discussion.qmd
  - chapters/05-bibliography.qmd
  #- chapters/06-glossary.qmd

:bulb: Note that the numeric prefix in each .qmd file is only there for convenience: the order in which the files appear in the rendered output is determined by the order in which they appear in chapters:. Also, you may place these files wherever you want in the directory (e.g., in the base directory), as long as you indicate their right paths in chapters:.

:bulb: You may create as many folders as you find convenient to store files that will be used in your dissertation. The img/ folder is one of those folders you may delete or rename. Just remember to change the file paths referring to the affected files accordingly.

bibliography:
  - references.bib
  - other-references.bib

Using :rocket:

To render your dissertation to a PDF, you can use the Quarto command line in your console (Command Prompt/Power Shell in Windows, Terminal in MacOS, and command line in Linux):

quarto render

This will render the thesis in PDF and Word formats by default. You can control in which format the theris is rendered this way:

quarto render --to upfthesis-pdf

If you don't want to render the thesis is either document ever, you can change the default behaviour in the _quarto.yml file, by changing:

format:
  upfthesis-pdf: default
  upfthesis-docx: default

To:

format:
  upfthesis-pdf: default

Tricks and comments