Official LaTeX template for bachelor/master thesis at Pan-European University, Faculty of Informatics
- 📚 Bibliography according to STN ISO 690
- 🔧 Easy customization
- 🤖 Automatic list generation
- 📝 Glossary/Acronym support
- 🖼️ Figure management
- 💻 Code listing support
- LaTeX distribution (e.g., TexLive)
- VSCode (optional)
There are three ways to get started:
-
Use as Template (Recommended)
- Visit the GitHub repository
- Click the green "Use this template" button in the top right
- Select "Create a new repository"
- Follow the prompts to create your own repository
-
Download Release
- Visit the GitHub repository
- Download latest release
- Extract the downloaded file to your preferred location
After obtaining the template:
- Edit
metadata.texand fill out the metadata section, be carefull to choose type based on your studies bachelor/master - Replace
essentials/assignment.pdfwith your own assignment - Edit
essentials/abstract.texwith your abstract - Edit
essentials/acknowledgment.texandessentials/declaration.texif necessary
Note: Remove Consultant row from the
metadata.texif not needed.
- Install LaTeX Workshop extension
- Set citation backend to
biblatex - Add
makeglossariesandbibertolatex-workshop.latex.tools - Add a build recipe to
latex-workshop.latex.recipes
Example build recipe:
{
"name": "pdflatex ➞ makeglossaries ➞ biber ➞ pdflatex × 2",
"tools": [
"pdflatex",
"makeglossaries",
"biber",
"pdflatex",
"pdflatex"
]
} To use a specific recipe for your document, add this line at the beginning of main.tex (replace recipe-name):
%!LW recipe=recipe-nameEither use VS Code's LaTeX Workshop build button or run:
pdflatex main
makeglossaries main
biber main
pdflatex main
pdflatex main.
├── essentials/
│ ├── abstract.tex # Abstract in SK/EN
│ ├── acknowledgment.tex # Acknowledgments
│ ├── acronyms.tex # List of acronyms
│ ├── appendices.tex # List of appendices
│ ├── bibliography.bib # References
│ ├── declaration.tex # Author's declaration
│ ├── titlepage.tex # Main title page
│ ├── titlepage-alt.tex # Secondary title page
│ └── assignment.pdf # Assignment
├── examples/
│ └── examples.tex # Example usage demonstrations
├── lang/
│ ├── english.tex # English language mutation
│ └── slovak.tex # Slovak language mutation
├── metadata.tex # Metadata of the thesis
├── main.tex # Main document
└── README.md # This file
You can start writing your thesis in the Document Body section of the main.tex file:
%%%%%%% DOCUMENT BODY %%%%%%%
\section{Úvod}
Your content here...For better organization, split your content into separate files:
% %%%%%%% DOCUMENT BODY %%%%%%%
\include{chapters/introduction}
\include{chapters/implementation}
\include{chapters/summary}The examples section is mostly defined by the university, use it as a reference.
Note: Remove
\include{examples/examples}frommain.texin your final build.
References are stored in essentials/bibliography.bib and displayed using the STN ISO 690 norm. Examples are provided in file.
@book{borgman2003from,
author = {Borgman, Christine L.},
title = {From {Gutenberg} to the Global Information Infrastructure},
subtitle = {Access to Information in the Networked World},
location = {Cambridge (Mass.)},
publisher = {The MIT Press},
date = {2003},
pagetotal = {xviii, 324},
isbn = {0-262-52345-0},
langid = {english},
}You can optionally set the citation style in main.tex bibliography section with style=style-name.
Available styles are: iso-authoryear(default) and iso-numeric. More info in the Citation section.
Note: Editing bibliography requires rebuilding your document using the full build recipe.
Template supports two citation styles:
-
Author-Year Style (
iso-authoryear)- Using
\parencite{}will add parenthesis around the reference - Format:
\parencite{key}→ (Author, Year) - Example:
\parencite{knuth1984}→ (Knuth, 1984)
- Using
\textcite{}will add reference in text - Format:
\textcite{key}→ Author, Year - Example:
\textcite{knuth1984}→ Knuth, 1984
- Using
-
Numeric Style (
iso-numeric)- Using
\cite{}will add number[X]in text and sort references by occurence - Format:
\cite{key}→ [1] - Example:
\cite{knuth1984}→ [1]
- Using
Note: Change citation style by modifying the
styleparameter inmain.tex:\usepackage[ style=iso-authoryear, % or iso-numeric ]{biblatex}
Acronyms are stored in essentials/acronyms.tex.
Add new acronyms to the end of essentials/acronyms.tex using this template:
\newacronym
[description={Your description here}]
{label}{SHORT}{Long Form}Example:
\newacronym
[description={Visual modeling language for software design and architecture}]
{UML}{UML}{Unified Modeling Language}Use acronyms in your text with the \gls{label} command:
- First use displays: "Long Form (SHORT)"
- Subsequent uses display only: "SHORT"
Example:
First use: \gls{UML} will show "Unified Modeling Language (UML)"
Second use: \gls{UML} will show just "UML"Note: Adding or modifying acronyms requires rebuilding your document using the full build recipe.
All images are automatically centered on the page and sized to 90% of text width.
Note: Default settings can be modified in
main.texin the Default image options section
Insert an image with caption:
\begin{figure}[h]
\includegraphics{path/to/your-image}
\caption{Your caption here}
\label{fig:unique-label}
\end{figure}You can override default settings per image with arguments like:
\includegraphics[height=0.75\textwidth,angle=90]{image/to/rotate.png}Add a new codeblock and specify the language with:
\begin{lstlisting}[language=Python, caption={Your caption}, label={lst:python-example}]
Your code here...
\end{lstlisting}Note: Default settings can be modified in
main.texin the Code blocks section
This work is dedicated to the public domain under the CC0 1.0 Universal license.
To the extent possible under law, author has waived all copyright and related or neighboring rights to this work.
