Skip to content

FIIT-Databases/assignment-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DBS Assignment Template — FIIT STU

LaTeX template for student assignment protocols in the Database Technologies (DBS) course at the Faculty of Informatics and Information Technologies, Slovak University of Technology in Bratislava.

Project structure

.
├── .github/workflows/
│   └── build.yml             # CI/CD — builds PDF on push to master
├── assets/
│   └── logo.png              # FIIT STU logo (used on the cover page)
├── src/
│   ├── main.tex              # Template — edit this file
│   ├── references.bib        # Bibliography entries
│   └── lang/
│       ├── en.tex            # English labels
│       └── sk.tex            # Slovak labels
├── Makefile
└── README.md

Build

Requires pdflatex and bibtex (TeX Live, MiKTeX, or MacTeX).

make          # build src/main.pdf
make clean    # remove build artifacts

Or upload src/ and assets/ to Overleaf.

Language

Switch language by changing one line in main.tex:

\input{lang/en}    % English
\input{lang/sk}    % Slovak

To add a new language, copy lang/en.tex, translate the \newcommand values, and \input your file.

Bibliography

Add entries to src/references.bib and cite them in text with \cite{key}:

According to the documentation \cite{postgresql-docs}, ...

The bibliography is rendered automatically at the end of the document via \printbibliography.

CI/CD

The repository includes a GitHub Actions workflow that automatically builds the PDF on every push to master. No local LaTeX installation needed — just push and download the result.

The built PDF is available as an artifact in the Actions tab of your repository:

Repository → Actions → latest run → Artifacts → assignment

This means you can edit main.tex directly on GitHub (or via Codespaces), push, and pick up the compiled PDF without ever installing LaTeX locally.

The workflow lives in .github/workflows/build.yml and uses xu-cheng/latex-action — a full TeX Live environment that handles all the pdflatex/bibtex passes automatically.

How to use

  1. Open src/main.tex
  2. Set your language (lang/en or lang/sk)
  3. Fill in student details:
    \newcommand{\StudentName}{Name Surname}
    \newcommand{\StudyGroup}{Tuesday 11:00}
    \newcommand{\AssignmentNumber}{1}
    \newcommand{\AssignmentTitle}{Assignment Title}
    \newcommand{\AcademicYear}{2025/2026}
  4. Add sections as needed:
    \section{Your Section Title}
    
    Your content here.
  5. Add references to references.bib
  6. Run make and submit the PDF

Made with ❤️ and ☕️ FIIT STU (c) 2022-2026

About

LaTeX Assignment Template

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published