This repository contains a document template for final coursework, dissertation, and thesis for the Undergraduate and Graduate Programs in Biomedical Engineering at the Federal University of Uberlândia.
| Cover | Contents | Content example |
|---|---|---|
👉 Click here to view the compiled PDF
./
│ .gitignore # This file can be removed
│ main.pdf # Final document example
│ main.tex # Main LaTeX file
│ ppgeb.cls # Custom document class
│ README.md # This file can be removed
│ titlepage.tex
│ tree.txt
│
├───chapters # Document chapters
│ chapter_conclusion.tex
│ chapter_discussion.tex
│ chapter_introduction.tex
│ chapter_methods.tex
│ chapter_results.tex
│
├───figs # Directory containing the figures used
│ │ LogoUFU.pdf
│ │
│ └───template # This folder is intended solely for documents pertaining to the institution's logo, defense minutes, and catalog cards
│ AtaDeDefesa.pdf
│ FichaCatalografica.pdf
│ Logo.pdf
│
├───postextual
│ appendix1.tex
│
├───pretextual
│ abstract.tex
│ acknowledgements.tex
│ glossary.tex
│ preamble.tex
│
└───references
ref.bib
This LaTeX template can be compiled to PDF either locally on your computer or using Overleaf online.
main.tex.To compile the document locally, make sure the following requirements are met:
pdflatex or lualatexlatexmk for automatic compilation of multiple passesgraphicx (for including images)subcaption (for subfigures)amsmath, amssymb (for math symbols)tcolorbox (for boxes and highlights)hyperref (for urls)longtable, tabularx, xltabular (for tables)listings (for source code formatting)This template uses the glossaries package to generate glossaries and acronyms. When compiling the document locally, you can configure a custom command to run makeglossaries directly from the editor menu.
Users → User commands → Edit user commandsmakeglossariesmakeglossaries %In addition, you can configure a shortcut to automatically compile the document using latexmk.
Users → User commands → Edit user commandslatexmklatexmk -synctex=1 -interaction=nonstopmode -bibtex -pdf %.tex | "C:/Program Files/Adobe/Acrobat DC/Acrobat/Acrobat.exe" %.pdf⚠️ Atention: In this case, you can specify the absolute path to your PDF reader executable (e.g.,
C:/Program Files/Adobe/Acrobat DC/Acrobat/Acrobat.exe).
This template also uses the minted package, which relies on Pygments, a Python library, to colour source code. Because of this, the LaTeX compiler needs to execute external commands — something that is disabled by default for security reasons.
Step 1: Check if Python and Pygments are installed
Open PowerShell and type:
python --version
If you see something like Python 3.x.x, great. In case you don’t have Python already, you can download it from here.
Now check Pygments:
python -m pygments -V
If you see something like Pygments version 2.x.x, everything is fine. If you get an error such as pygmentize not recognized, install Pygments with:
pip install Pygments
Step 2: Compile with -shell-escape
Since minted needs to call Pygments, which is an external program, you need to allow the LaTeX processor to do so by passing it the -shell-escape option. So you need to call the processor like this
Instead of compiling with
pdflatex main.tex
use
pdflatex -shell-escape main.tex
Or, if you use latexmk (recommended):
latexmk -pdf -shell-escape main.tex
If you are a Git user, you can clone the project using:
git clone https://github.com/NIATS-UFU/ppgeb_template_latex.git
Alternatively, you can download the project as a ZIP file.
If you would like to contribute, please follow these steps:
git checkout -b feature-name).git commit -m "📝 Describe your changes").git push origin feature-name).Found a bug or have an idea?
Your feedback helps improve the project.
If you have any questions or need help using this template, feel free to open an issue or contact the repository maintainer.