| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- % author Matus Necas, October 2026
- % original work by Jan Sumsky <jan.sumsky@gmail.com>, August 2024
- %
- % Description: Main package coordinator for the custom UNIZA Beamer theme.
- % Loads required dependencies, sets global configurations,
- % initializes custom counters, and imports all modular style submodules.
- \NeedsTeXFormat{LaTeX2e}
- \ProvidesPackage{uni}[University Beamer Package]
- % ==============================================================================
- % 1. REQUIRED PACKAGES
- % ==============================================================================
- \RequirePackage{xparse} % Advanced argument parsing for robust custom commands
- \RequirePackage{graphicx} % Enhanced image inclusion and scaling support
- \RequirePackage{booktabs} % Professional-quality horizontal rules for tables
- \RequirePackage{amsmath} % Advanced mathematical typesetting environment
- \RequirePackage{minted} % Source code syntax highlighting via Pythongments
- \RequirePackage{verbatim} % Raw verbatim text block environments
- % ==============================================================================
- % 2. CONDITIONAL FLAGS & CUSTOM LENGTHS
- % ==============================================================================
- % Conditional flag for alternative title/cover page layouts
- \newif\ifbeamer@uni@cover
- \beamer@uni@coverfalse
- % Custom vertical/layout length for title adjustments
- \newlength{\titlelf}
- \setlength{\titlelf}{-9pt}
- % ==============================================================================
- % 3. BEAMER TEMPLATES & STRUCTURAL DEFAULTS
- % ==============================================================================
- \setbeamertemplate{caption}[numbered] % Automatically number figures and tables
- \setbeamertemplate{section in toc}[sections numbered] % Number sections in the table of contents
- % ==============================================================================
- % 4. CUSTOM COUNTERS FOR CODE SNIPPETS
- % ==============================================================================
- % Initialize a dedicated counter for equation-style code blocks and format it (e.g., L1, L2)
- \newcounter{codeeq}
- \renewcommand{\thecodeeq}{L\arabic{codeeq}}
- % ==============================================================================
- % 5. MODULAR SUBMODULE IMPORTS
- % ==============================================================================
- \input{styles/fonts.sty} % Global typography and font size configuration
- \input{styles/colors.sty} % Color palette and semantic theme color mapping
- \input{styles/footer.sty} % Presentation footer layout, navigation, and logos
- \input{styles/titles.sty} % Title slide and section header layouts
- \input{styles/contents.sty} % Table of contents slide macro definitions
- \input{styles/lists.sty} % Itemize, enumerate, and list spacing setups
- \input{styles/slides.sty} % High-level structural slide wrappers (\slideOneColumn, etc.)
|