-
Notifications
You must be signed in to change notification settings - Fork 0
/
beamerthemeuvt.sty
85 lines (68 loc) · 1.92 KB
/
beamerthemeuvt.sty
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
% SPDX-FileCopyrightText: 2023 Alexandru Fikl <alexfikl@gmail.com>
% SPDX-License-Identifier: CC-BY-4.0
%
% This package reproduces the UVT (West University of Timișoara) Power Point
% presentation style defined in the visual identity manual.
%
% Usage:
% \usetheme[options]{uvt}
%
% References:
% Colors and Logos: https://dci.uvt.ro/identitate-vizuala
%
% Some other implementations:
% https://assets-global.website-files.com/641d7b12606bf729cb75f481/6458b9620be9f8af5b003f00_Cercetare%20in%20educatie.pdf
%
% Acknowledgement:
% The skeleton of this style file was copied from
% https://github.com/lukeolson/illinois-letterhead
% though little of it remains.
\def\fileversion{v0.1}
\def\filedate{2023/12/21}
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{beamerthemeuvt}[\filedate \fileversion UVT Beamer Theme]
% <<< options
\RequirePackage{kvoptions}
\SetupKeyvalOptions{
family=uvt,
prefix=uvt@
}
% enable Myriad Pro
\DeclareBoolOption[false]{nomyriadpro}
% show progressbar in the footer
\DeclareBoolOption[false]{progressbar}
% select language for logos
\DeclareStringOption[english]{language}
% show a debug layour grid
\DeclareBoolOption[false]{layoutgrid}
\ProcessOptionsBeamer
\DeclareDefaultOption{\PackageWarning{beamerthemeuvt}{Unknown option `\CurrentOption`}}
\ProcessKeyvalOptions*
\usecolortheme{uvt}
\useinnertheme[
language=\uvt@language
]{uvt}
\useoutertheme[
language=\uvt@language,
\ifuvt@progressbar progressbar,\else\fi
]{uvt}
\usefonttheme[
\ifuvt@nomyriadpro nomyriadpro,\else\fi
]{uvt}
% >>>
% <<< packages
% fancy graphics
\RequirePackage{tikz}
% nicer command definitions
\RequirePackage{xparse}
% used in defining blocks
\RequirePackage{adjustbox}
\RequirePackage{colortbl}
\ifuvt@layoutgrid
\RequirePackage{showframe}
\fi
% >>>
% <<< commands
\NewDocumentCommand \venue { m } {\def\uvt@venue{#1}}
% >>>
%% vim: foldmarker=<<<,>>>:foldmethod=marker:nospell:filetype=tex