fhtw-simple.sty 7.58 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
102
103
104
105
106
% Color Theme %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

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

% Outer Theme %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% ------------------------------------------------------------------------------------------------------------------- %
% Navigation Symbols
% ------------------------------------------------------------------------------------------------------------------- %
\defbeamertemplate{navigation symbols}{fhtw-simple}{}%
% ------------------------------------------------------------------------------------------------------------------- %
% Logo
% ------------------------------------------------------------------------------------------------------------------- %
\defbeamertemplate{logo}{fhtw-simple}{}
% ------------------------------------------------------------------------------------------------------------------- %
% Background
% ------------------------------------------------------------------------------------------------------------------- %
\defbeamertemplate{background}{fhtw-simple}{
    \placetikzbackground{=1}{
        \coordinate (start) at ($(current page.south west)+(0.1,0.1)$);
        \coordinate (end)   at ($(current page.north east)+(-0.1,-0.1)$);
        \pgfmathsetmacro\frameheight{((\paperheight-0.2cm)/1cm/\beamer@fhtw@frameamount}
        \foreach \ci in {1,2,...,\beamer@fhtw@frameamount} {           
            \pgfmathparse{mod(\ci,3)}
            \ifthenelse{\equal{\pgfmathresult}{1.0}}{\def\randomcolor{\beamer@fhtw@primary}}{}
            \ifthenelse{\equal{\pgfmathresult}{2.0}}{\def\randomcolor{\beamer@fhtw@secondary}}{}
            \ifthenelse{\equal{\pgfmathresult}{0.0}}{\def\randomcolor{\beamer@fhtw@accent}}{}

            \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-simple}{}
\beamer@fhtw@reusestyle{fhtw-simple}{title page}{fhtw}
% ------------------------------------------------------------------------------------------------------------------- %
% Sidebar Canvas
% ------------------------------------------------------------------------------------------------------------------- %
% \defbeamertemplate{sidebar canvas \beamer@fhtw@sidebarside}{fhtw-simple}{}
\beamer@fhtw@reusestyle{fhtw-simple}{sidebar canvas \beamer@fhtw@sidebarside}{fhtw}
% ------------------------------------------------------------------------------------------------------------------- %
% Sidebar Sections
% ------------------------------------------------------------------------------------------------------------------- %
% \defbeamertemplate{section in sidebar}{fhtw-simple}{}
\beamer@fhtw@reusestyle{fhtw-simple}{section in sidebar}{fhtw}
% \defbeamertemplate{subsection in sidebar}{fhtw-simple}{}
\beamer@fhtw@reusestyle{fhtw-simple}{subsection in sidebar}{fhtw}
% \defbeamertemplate{subsubsection in sidebar}{fhtw-simple}{}
\beamer@fhtw@reusestyle{fhtw-simple}{subsubsection in sidebar}{fhtw}
% \defbeamertemplate{section in sidebar shaded}{fhtw-simple}{}
\beamer@fhtw@reusestyle{fhtw-simple}{section in sidebar shaded}{fhtw}
% \defbeamertemplate{subsection in sidebar shaded}{fhtw-simple}{}
\beamer@fhtw@reusestyle{fhtw-simple}{subsection in sidebar shaded}{fhtw}
% \defbeamertemplate{subsubsection in sidebar shaded}{fhtw-simple}{}
\beamer@fhtw@reusestyle{fhtw-simple}{subsubsection in sidebar shaded}{fhtw}
% ------------------------------------------------------------------------------------------------------------------- %
% Sidebar
% ------------------------------------------------------------------------------------------------------------------- %
% \defbeamertemplate{sidebar \beamer@fhtw@sidebarside}{fhtw-simple}{}
\beamer@fhtw@reusestyle{fhtw-simple}{sidebar \beamer@fhtw@sidebarside}{fhtw}

% Inner Theme %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% ------------------------------------------------------------------------------------------------------------------- %
% Frame Title
% ------------------------------------------------------------------------------------------------------------------- %
\beamer@fhtw@reusestyle{fhtw-simple}{frametitle}{fhtw}
% ------------------------------------------------------------------------------------------------------------------- %
% Footline
% ------------------------------------------------------------------------------------------------------------------- %
\beamer@fhtw@reusestyle{fhtw-simple}{footline}{fhtw}
% ------------------------------------------------------------------------------------------------------------------- %
% Itemize
% ------------------------------------------------------------------------------------------------------------------- %
\beamer@fhtw@reusestyle{fhtw-simple}{itemize item}{fhtw}
\beamer@fhtw@reusestyle{fhtw-simple}{itemize subitem}{fhtw}
\beamer@fhtw@reusestyle{fhtw-simple}{itemize subsubitem}{fhtw}
% ------------------------------------------------------------------------------------------------------------------- %
% Enumerate
% ------------------------------------------------------------------------------------------------------------------- %
\beamer@fhtw@reusestyle{fhtw-simple}{enumerate item}{fhtw}
\beamer@fhtw@reusestyle{fhtw-simple}{enumerate subitem}{fhtw}
\beamer@fhtw@reusestyle{fhtw-simple}{enumerate subsubitem}{fhtw}
% ------------------------------------------------------------------------------------------------------------------- %
% Description
% ------------------------------------------------------------------------------------------------------------------- %
% ------------------------------------------------------------------------------------------------------------------- %
% Structure
% ------------------------------------------------------------------------------------------------------------------- %
% ------------------------------------------------------------------------------------------------------------------- %
% Alert
% ------------------------------------------------------------------------------------------------------------------- %
% ------------------------------------------------------------------------------------------------------------------- %
% Block
% ------------------------------------------------------------------------------------------------------------------- %
% ------------------------------------------------------------------------------------------------------------------- %
% Alert Block
% ------------------------------------------------------------------------------------------------------------------- %
% ------------------------------------------------------------------------------------------------------------------- %
% Example Block
% ------------------------------------------------------------------------------------------------------------------- %
% ------------------------------------------------------------------------------------------------------------------- %
% Theorem
% ------------------------------------------------------------------------------------------------------------------- %