ce6b01626c65c5fc724b071f083a29e983eafb5e
PidI Thesis LaTeX Template
This template follows the specs:
- A4, margins: left/top 3 cm, right/bottom 2.5 cm.
- Page numbers bottom-center.
- Font: Times Newer Roman 12 pt (
timesclass option, default). - Line spacing 1.3, justified text, paragraph spacing 6 pt, emphasis bold.
\emph{}is mapped to bold.
File name for submission
<Nachname> PidI 3 <Kurzform des Titels>.pdf
Build
direnv allow # einmalig — setzt Nix-Umgebung auf
latexmk # baut das PDF (LuaLaTeX + Biber, Ausgabe nach out/)
latexmk -c # aufräumen
Requires the Nix shell (shell.nix) — provides TeX Live, latexmk, mermaid-cli,
and Times Newer Roman (fonts are installed into ~/.local/share/fonts/ by the shell hook).
minted code listings require shell escape; latexmk handles this automatically via
$pdf_mode = 4.
Rendering Mermaid diagrams
# render a single diagram
mmdc -i figures/diagrams/system-context.mmd -o figures/diagrams/system-context.pdf
# render all diagrams at once
for f in figures/diagrams/*.mmd; do
mmdc -i "$f" -o "${f%.mmd}.pdf"
done
Render before calling latexmk whenever a .mmd file changes. The generated .pdf
files are gitignored via out (only out/ is ignored, so diagrams in figures/ are
not ignored — commit them).
Structure
main.tex entry point: metadata + \input all chapters
pidi-thesis.cls enforces the complete layout
frontmatter/ usage-of-ai, abstract, acknowledgments
chapters/<part>/*.tex one file per \section
appendix/ appendix.tex bundles tables/diagrams/screenshots/code
figures/code/ code excerpts as real files (no inline code in appendix)
figures/diagrams/ *.mmd source + rendered *.pdf
figures/screenshots/ screenshots
figures/worksimple/ company logos
figures/itc/ ITC logo
references.bib biblatex/biber sources
Languages
TeX
74.7%
C#
18.1%
Mermaid
4.4%
HTML
1.7%
Nix
0.7%
Other
0.4%