fhtw-random.sty 7.18 KB
Newer Older
Alija Sabic's avatar
Alija Sabic committed
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
% Color Theme %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% Font Theme %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% Outer Theme %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% ------------------------------------------------------------------------------------------------------------------- %
% Navigation Symbols
% ------------------------------------------------------------------------------------------------------------------- %
\defbeamertemplate{navigation symbols}{fhtw-random}{}%
% ------------------------------------------------------------------------------------------------------------------- %
% Logo
% ------------------------------------------------------------------------------------------------------------------- %
\defbeamertemplate{logo}{fhtw-random}{}
% ------------------------------------------------------------------------------------------------------------------- %
% Background
% ------------------------------------------------------------------------------------------------------------------- %
\defbeamertemplate{background}{fhtw-random}{
    \placetikzbackground{=1}{
        \coordinate (start) at ($(current page.south west)+(0.1,0.1)$);
        \coordinate (end)   at ($(current page.north east)+(-0.1,-0.1)$);
        % Colored rectangles
        \pgfmathdeclarerandomlist{colors}{%
            {ttw-blue} {ttw-violett} {ttw-green} {ttw-red} {ttw-gray} {ttw-lightblue}%
            {ttw-lightorange} {ttw-lightgreen} {ttw-yellow} {ttw-darkcyan}
        }%
        \pgfmathsetmacro\frameheight{((\paperheight-0.2cm)/1cm/\beamer@fhtw@frameamount}
        \foreach \ci in {1,2,...,\beamer@fhtw@frameamount} {
            \pgfmathrandomitem{\randomcolor}{colors}
            \draw[draw=none,fill=\randomcolor] ($(end)+(0,-(\ci*\frameheight)$) rectangle ++(-\beamer@fhtw@framewidth,\frameheight);
        }
        % Frame
        \draw[draw=black,line width=0.2mm,anchor=north west] (start) rectangle (end);%
    }
}
% ------------------------------------------------------------------------------------------------------------------- %
% Title Page
% ------------------------------------------------------------------------------------------------------------------- %
% \defbeamertemplate{title page}{fhtw-random}{}
\beamer@fhtw@reusestyle{fhtw-random}{title page}{fhtw}
% ------------------------------------------------------------------------------------------------------------------- %
% Sidebar Canvas
% ------------------------------------------------------------------------------------------------------------------- %
% \defbeamertemplate{sidebar canvas \beamer@fhtw@sidebarside}{fhtw-random}{}
\beamer@fhtw@reusestyle{fhtw-random}{sidebar canvas \beamer@fhtw@sidebarside}{fhtw}
% ------------------------------------------------------------------------------------------------------------------- %
% Sidebar Sections
% ------------------------------------------------------------------------------------------------------------------- %
% \defbeamertemplate{section in sidebar}{fhtw-random}{}
\beamer@fhtw@reusestyle{fhtw-random}{section in sidebar}{fhtw}
% \defbeamertemplate{subsection in sidebar}{fhtw-random}{}
\beamer@fhtw@reusestyle{fhtw-random}{subsection in sidebar}{fhtw}
% \defbeamertemplate{subsubsection in sidebar}{fhtw-random}{}
\beamer@fhtw@reusestyle{fhtw-random}{subsubsection in sidebar}{fhtw}
% \defbeamertemplate{section in sidebar shaded}{fhtw-random}{}
\beamer@fhtw@reusestyle{fhtw-random}{section in sidebar shaded}{fhtw}
% \defbeamertemplate{subsection in sidebar shaded}{fhtw-random}{}
\beamer@fhtw@reusestyle{fhtw-random}{subsection in sidebar shaded}{fhtw}
% \defbeamertemplate{subsubsection in sidebar shaded}{fhtw-random}{}
\beamer@fhtw@reusestyle{fhtw-random}{subsubsection in sidebar shaded}{fhtw}
% ------------------------------------------------------------------------------------------------------------------- %
% Sidebar
% ------------------------------------------------------------------------------------------------------------------- %
% \defbeamertemplate{sidebar \beamer@fhtw@sidebarside}{fhtw-random}{}
\beamer@fhtw@reusestyle{fhtw-random}{sidebar \beamer@fhtw@sidebarside}{fhtw}

% Inner Theme %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% ------------------------------------------------------------------------------------------------------------------- %
% Frame Title
% ------------------------------------------------------------------------------------------------------------------- %
% \defbeamertemplate{frametitle}{fhtw-random}{}
\beamer@fhtw@reusestyle{fhtw-random}{frametitle}{fhtw}
% ------------------------------------------------------------------------------------------------------------------- %
% Footline
% ------------------------------------------------------------------------------------------------------------------- %
% ------------------------------------------------------------------------------------------------------------------- %
% Itemize
% ------------------------------------------------------------------------------------------------------------------- %
% ------------------------------------------------------------------------------------------------------------------- %
% Enumerate
% ------------------------------------------------------------------------------------------------------------------- %
% ------------------------------------------------------------------------------------------------------------------- %
% Description
% ------------------------------------------------------------------------------------------------------------------- %
% ------------------------------------------------------------------------------------------------------------------- %
% Structure
% ------------------------------------------------------------------------------------------------------------------- %
% ------------------------------------------------------------------------------------------------------------------- %
% Alert
% ------------------------------------------------------------------------------------------------------------------- %
% ------------------------------------------------------------------------------------------------------------------- %
% Block
% ------------------------------------------------------------------------------------------------------------------- %
% ------------------------------------------------------------------------------------------------------------------- %
% Alert Block
% ------------------------------------------------------------------------------------------------------------------- %
% ------------------------------------------------------------------------------------------------------------------- %
% Example Block
% ------------------------------------------------------------------------------------------------------------------- %
% ------------------------------------------------------------------------------------------------------------------- %
% Theorem
% ------------------------------------------------------------------------------------------------------------------- %