Commit c49da213 authored by Martin Deinhofer's avatar Martin Deinhofer
Browse files
parents 31479bab 742bfeff
\mode<presentation>
% Outer Theme %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% ------------------------------------------------------------------------------------------------------------------- %
% Title Page
% ------------------------------------------------------------------------------------------------------------------- %
\setbeamerfont{title}{size = \Huge}
\setbeamerfont{subtitle}{size = \LARGE, series=\normalfont}
\setbeamerfont{author}{size = \Large}
\setbeamerfont{mail}{size = \Large}
\setbeamerfont{institute}{size = \Large}
\setbeamerfont{location}{size = \Large}
\setbeamerfont{date}{size = \Large}
% ------------------------------------------------------------------------------------------------------------------- %
% Sidebar Sections
% ------------------------------------------------------------------------------------------------------------------- %
\setbeamerfont{section in sidebar}{size = \fontsize{8}{8}\selectfont}
\setbeamerfont{subsection in sidebar}{size = \fontsize{6}{6}\selectfont}
\setbeamerfont{subsubsection in sidebar}{size = \fontsize{6}{6}\selectfont}
% ------------------------------------------------------------------------------------------------------------------- %
% Sidebar Title
% ------------------------------------------------------------------------------------------------------------------- %
\setbeamerfont{title in sidebar}{size = \scriptsize}
% ------------------------------------------------------------------------------------------------------------------- %
% Sidebar Author
% ------------------------------------------------------------------------------------------------------------------- %
\setbeamerfont{author in sidebar}{size = \scriptsize}
% ------------------------------------------------------------------------------------------------------------------- %
% Sidebar Frame Count
% ------------------------------------------------------------------------------------------------------------------- %
\setbeamerfont{framenumber in sidebar}{size = \large}
% Inner Theme %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% ------------------------------------------------------------------------------------------------------------------- %
% Frame Titles
% ------------------------------------------------------------------------------------------------------------------- %
\setbeamerfont{frametitle}{size = \LARGE, series=\bfseries}
\setbeamerfont{framesubtitle}{size = \LARGE, series=\mdseries}
% ------------------------------------------------------------------------------------------------------------------- %
% Table of Contents
% ------------------------------------------------------------------------------------------------------------------- %
\setbeamerfont{section in toc}{size = \large}
\setbeamerfont{subsection in toc}{size = \scriptsize}
\setbeamerfont{subsubsection in toc}{size = \scriptsize}
\setbeamerfont{subsection num in toc}{size = \tiny}
\setbeamerfont{subsubsection num in toc}{size = \tiny}
% ------------------------------------------------------------------------------------------------------------------- %
% Sidebar
% ------------------------------------------------------------------------------------------------------------------- %
\setbeamerfont{section in sidebar}{size = \fontsize{10}{10}\selectfont}
\setbeamerfont{subsection in sidebar}{size = \fontsize{8}{6}\selectfont}
\setbeamerfont{subsubsection in sidebar}{size = \fontsize{8}{8}\selectfont}
% ------------------------------------------------------------------------------------------------------------------- %
% Sidebar (shaded)
% ------------------------------------------------------------------------------------------------------------------- %
\setbeamerfont{section in sidebar shaded}{size = \fontsize{10}{10}\selectfont}
\setbeamerfont{subsection in sidebar shaded}{size = \fontsize{8}{6}\selectfont}
\setbeamerfont{subsubsection in sidebar shaded}{size = \fontsize{8}{8}\selectfont}
% \setbeamerfont{subsection in sidebar shaded}{}
% \setbeamerfont{subsubsection in sidebar}{}
% \setbeamerfont{subsubsection in sidebar shaded}{}
% ------------------------------------------------------------------------------------------------------------------- %
% Sidebar Title
% ------------------------------------------------------------------------------------------------------------------- %
\setbeamerfont{title in sidebar}{}
% ------------------------------------------------------------------------------------------------------------------- %
% Sidebar Author
% ------------------------------------------------------------------------------------------------------------------- %
\setbeamerfont{author in sidebar}{}
% ------------------------------------------------------------------------------------------------------------------- %
% Itemize
% ------------------------------------------------------------------------------------------------------------------- %
\setbeamerfont{itemize item}{size = \large}
\setbeamerfont{itemize subitem}{size = \large}
\setbeamerfont{itemize subsubitem}{size = \scriptsize}
% ------------------------------------------------------------------------------------------------------------------- %
% Enumerate
% ------------------------------------------------------------------------------------------------------------------- %
\setbeamerfont{enumerate item}{size = \scriptsize}
\setbeamerfont{enumerate subitem}{size = \scriptsize}
\setbeamerfont{enumerate subsubitem}{size = \scriptsize}
% ------------------------------------------------------------------------------------------------------------------- %
% Description
% ------------------------------------------------------------------------------------------------------------------- %
\setbeamerfont{description item}{size = \normalsize}
% ------------------------------------------------------------------------------------------------------------------- %
% Structure
% ------------------------------------------------------------------------------------------------------------------- %
\setbeamerfont{structure}{}
% ------------------------------------------------------------------------------------------------------------------- %
% Alert
% ------------------------------------------------------------------------------------------------------------------- %
\setbeamerfont{alerted text}{}
% ------------------------------------------------------------------------------------------------------------------- %
% Block
% ------------------------------------------------------------------------------------------------------------------- %
% ------------------------------------------------------------------------------------------------------------------- %
% Alert Block
% ------------------------------------------------------------------------------------------------------------------- %
% ------------------------------------------------------------------------------------------------------------------- %
% Example Block
% ------------------------------------------------------------------------------------------------------------------- %
% ------------------------------------------------------------------------------------------------------------------- %
% Theorem
% ------------------------------------------------------------------------------------------------------------------- %
% ------------------------------------------------------------------------------------------------------------------- %
% Caption
% ------------------------------------------------------------------------------------------------------------------- %
\setbeamerfont{caption}{}
\setbeamerfont{caption name}{}
\mode<all>
\ No newline at end of file
\mode<presentation>
% ------------------------------------------------------------------------------------------------------------------- %
% Frame Title
% ------------------------------------------------------------------------------------------------------------------- %
\beamer@fhtw@setstyle{frametitle}{\beamer@fhtw@style}%
% ------------------------------------------------------------------------------------------------------------------- %
% Itemize
% ------------------------------------------------------------------------------------------------------------------- %
\beamer@fhtw@setstyle{itemize item}{\beamer@fhtw@style}
\beamer@fhtw@setstyle{itemize subitem}{\beamer@fhtw@style}
\beamer@fhtw@setstyle{itemize subsubitem}{\beamer@fhtw@style}
% ------------------------------------------------------------------------------------------------------------------- %
% Enumerate
% ------------------------------------------------------------------------------------------------------------------- %
\beamer@fhtw@setstyle{enumerate item}{\beamer@fhtw@style}
\beamer@fhtw@setstyle{enumerate subitem}{\beamer@fhtw@style}
\beamer@fhtw@setstyle{enumerate subsubitem}{\beamer@fhtw@style}
% ------------------------------------------------------------------------------------------------------------------- %
% Description
% ------------------------------------------------------------------------------------------------------------------- %
% \beamer@fhtw@setstyle{description item}{\beamer@fhtw@style}
% ------------------------------------------------------------------------------------------------------------------- %
% Structure
% ------------------------------------------------------------------------------------------------------------------- %
% \beamer@fhtw@setstyle{structure}{\beamer@fhtw@style}%font and color only
% ------------------------------------------------------------------------------------------------------------------- %
% Alert
% ------------------------------------------------------------------------------------------------------------------- %
% \beamer@fhtw@setstyle{alerted text}{\beamer@fhtw@style}%font and color only
% ------------------------------------------------------------------------------------------------------------------- %
% Block
% ------------------------------------------------------------------------------------------------------------------- %
% \setbeamertemplate{blocks}[default]
\setbeamertemplate{blocks}[rounded][shadow=true]
\beamer@fhtw@setstyle{block begin}{\beamer@fhtw@style}
\beamer@fhtw@setstyle{block end}{\beamer@fhtw@style}
% ------------------------------------------------------------------------------------------------------------------- %
% Alert Block
% ------------------------------------------------------------------------------------------------------------------- %
\beamer@fhtw@setstyle{block alerted begin}{\beamer@fhtw@style}
\beamer@fhtw@setstyle{block alerted end}{\beamer@fhtw@style}
% ------------------------------------------------------------------------------------------------------------------- %
% Example Block
% ------------------------------------------------------------------------------------------------------------------- %
\beamer@fhtw@setstyle{block example begin}{\beamer@fhtw@style}
\beamer@fhtw@setstyle{block example end}{\beamer@fhtw@style}
% ------------------------------------------------------------------------------------------------------------------- %
% Theorem
% ------------------------------------------------------------------------------------------------------------------- %
% \setbeamertemplate{theorems}[numbered]
% \setbeamertemplate{theorems}[normal font]
% \setbeamertemplate{theorems}[ams style]
\beamer@fhtw@setstyle{theorem begin}{\beamer@fhtw@style}
\beamer@fhtw@setstyle{theorem end}{\beamer@fhtw@style}
\beamer@fhtw@setstyle{qed symbol}{\beamer@fhtw@style}
% ------------------------------------------------------------------------------------------------------------------- %
% Caption
% ------------------------------------------------------------------------------------------------------------------- %
\beamer@fhtw@setstyle{caption}{\beamer@fhtw@style}
\setbeamertemplate{caption label separator}[default]%,none,colon,period,space,quad,endash
% \beamer@fhtw@setstyle{caption label separator}{\beamer@fhtw@style}
% ------------------------------------------------------------------------------------------------------------------- %
% Custom Block Environment
% ------------------------------------------------------------------------------------------------------------------- %
\newenvironment<>{grayblock}[1]{%
\begin{actionenv}#2%
\def\insertblocktitle{#1}%
\par%
\mode<presentation>{%
\setbeamercolor{block title}{fg=white,bg=tw-gray}%
\setbeamercolor{block body}{fg=black,bg=tw-gray!20}%
\setbeamertemplate{itemize item}{%
\tikz[overlay]\usebeamerfont{itemize item}\draw[rounded corners=1pt,fill=tw-gray!80!black,draw=none,item shadow] (-0.5em,0.1em) rectangle ++(0.5em,0.5em);%
}%
\setbeamertemplate{itemize subitem}{%
\tikz[overlay]\usebeamerfont{itemize subitem}\draw[fill=tw-gray!80!white,draw=none,item shadow] (-0.2em,0.35em) circle(0.22em);%
}%
}%
\usebeamertemplate{block begin}%
}{%
\par%
\usebeamertemplate{block end}%
\end{actionenv}%
}
\newenvironment<>{violettblock}[1]{%
\begin{actionenv}#2%
\def\insertblocktitle{#1}%
\par%
\mode<presentation>{%
\setbeamercolor{block title}{fg=white,bg=ttw-violett}%
\setbeamercolor{block body}{fg=black,bg=ttw-violett!20}%
\setbeamertemplate{itemize item}{%
\tikz[overlay]\usebeamerfont{itemize item}\draw[rounded corners=1pt,fill=ttw-violett!80!black,draw=none,item shadow] (-0.5em,0.1em) rectangle ++(0.5em,0.5em);%
}%
\setbeamertemplate{itemize subitem}{%
\tikz[overlay]\usebeamerfont{itemize subitem}\draw[fill=ttw-violett!80!white,draw=none,item shadow] (-0.2em,0.35em) circle(0.22em);%
}%
}%
\usebeamertemplate{block begin}%
}{%
\par%
\usebeamertemplate{block end}%
\end{actionenv}%
}
\renewenvironment<>{exampleblock}[1]{%
\begin{actionenv}#2%
\def\insertblocktitle{#1}%
\par%
\mode<presentation>{%
\setbeamercolor{block title}{fg=white,bg=tw-green}%
\setbeamercolor{block body}{fg=black,bg=tw-green!20}%
\setbeamertemplate{itemize item}{%
\tikz[overlay]\usebeamerfont{itemize item}\draw[rounded corners=1pt,fill=tw-green!80!black,draw=none,item shadow] (-0.5em,0.1em) rectangle ++(0.5em,0.5em);%
}%
\setbeamertemplate{itemize subitem}{%
\tikz[overlay]\usebeamerfont{itemize subitem}\draw[fill=tw-green!80!white,draw=none,item shadow] (-0.2em,0.35em) circle(0.22em);%
}%
}%
\usebeamertemplate{block begin}%
}{%
\par%
\usebeamertemplate{block end}%
\end{actionenv}%
}
\renewenvironment<>{alertblock}[1]{%
\begin{actionenv}#2%
\def\insertblocktitle{#1}%
\par%
\mode<presentation>{%
\setbeamercolor{block title}{fg=white,bg=ttw-red}%
\setbeamercolor{block body}{fg=black,bg=ttw-red!20}%
\setbeamertemplate{itemize item}{%
\tikz[overlay]\usebeamerfont{itemize item}\draw[rounded corners=1pt,fill=ttw-red!80!black,draw=none,item shadow] (-0.5em,0.1em) rectangle ++(0.5em,0.5em);%
}%
\setbeamertemplate{itemize subitem}{%
\tikz[overlay]\usebeamerfont{itemize subitem}\draw[fill=tw-red!80!white,draw=none,item shadow] (-0.2em,0.35em) circle(0.22em);%
}%
}%
\usebeamertemplate{block begin}%
}{%
\par%
\usebeamertemplate{block end}%
\end{actionenv}%
}
\renewenvironment<>{block}[1]{%
\begin{actionenv}#2%
\def\insertblocktitle{#1}%
\par%
\mode<presentation>{%
\setbeamercolor{block title}{fg=white,bg=tw-blue}%
\setbeamercolor{block body}{fg=black,bg=tw-blue!20}%
\setbeamertemplate{itemize item}{%
\tikz[overlay]\usebeamerfont{itemize item}\draw[rounded corners=1pt,fill=tw-blue!80!black,draw=none,item shadow] (-0.5em,0.1em) rectangle ++(0.5em,0.5em);%
}%
\setbeamertemplate{itemize subitem}{%
\tikz[overlay]\usebeamerfont{itemize subitem}\draw[fill=tw-blue!80!white,draw=none,item shadow] (-0.2em,0.35em) circle(0.22em);%
}%
}%
\usebeamertemplate{block begin}%
}{%
\par%
\usebeamertemplate{block end}%
\end{actionenv}%
}
\mode<all>
\ No newline at end of file
\mode<presentation>
\ProcessOptionsBeamer\relax
\def\beamer@fhtw@sidebarlogox{\sidebarwidth/2pt}
\def\beamer@fhtw@sidebarlogoy{\paperheight-\pradius cm-4mm}
\def\beamer@fhtw@sidebarlogoor{\sidebarwidth/1cm*0.25}
\def\beamer@fhtw@sidebarlogoir{\sidebarwidth/1cm*0.215}
% ------------------------------------------------------------------------------------------------------------------- %
% Navigation Symbols
% ------------------------------------------------------------------------------------------------------------------- %
\beamer@fhtw@setstyle{navigation symbols}{\beamer@fhtw@style}
% ------------------------------------------------------------------------------------------------------------------- %
% Logo
% ------------------------------------------------------------------------------------------------------------------- %
\beamer@fhtw@setstyle{logo}{\beamer@fhtw@style}%
% ------------------------------------------------------------------------------------------------------------------- %
% Background
% ------------------------------------------------------------------------------------------------------------------- %
\beamer@fhtw@setstyle{background}{\beamer@fhtw@style}%
% ------------------------------------------------------------------------------------------------------------------- %
% Title Page
% ------------------------------------------------------------------------------------------------------------------- %
\beamer@fhtw@setstyle{title page}{\beamer@fhtw@style}
% ------------------------------------------------------------------------------------------------------------------- %
% Sidebar Canvas
% ------------------------------------------------------------------------------------------------------------------- %
\beamer@fhtw@setstyle{sidebar canvas \beamer@fhtw@sidebarside}{\beamer@fhtw@style}
% ------------------------------------------------------------------------------------------------------------------- %
% Sidebar Sections
% ------------------------------------------------------------------------------------------------------------------- %
\beamer@fhtw@setstyle{section in sidebar}{\beamer@fhtw@style}
\beamer@fhtw@setstyle{subsection in sidebar}{\beamer@fhtw@style}
\beamer@fhtw@setstyle{subsubsection in sidebar}{\beamer@fhtw@style}
\beamer@fhtw@setstyle{section in sidebar shaded}{\beamer@fhtw@style}
\beamer@fhtw@setstyle{subsection in sidebar shaded}{\beamer@fhtw@style}
\beamer@fhtw@setstyle{subsubsection in sidebar shaded}{\beamer@fhtw@style}
% ------------------------------------------------------------------------------------------------------------------- %
% Sidebar
% ------------------------------------------------------------------------------------------------------------------- %
\beamer@fhtw@setstyle{sidebar \beamer@fhtw@sidebarside}{\beamer@fhtw@style}
% ------------------------------------------------------------------------------------------------------------------- %
% Table of Contents
% ------------------------------------------------------------------------------------------------------------------- %
\beamer@fhtw@setstyle{section in toc}{\beamer@fhtw@style}
\beamer@fhtw@setstyle{subsection in toc}{\beamer@fhtw@style}
\beamer@fhtw@setstyle{subsubsection in toc}{\beamer@fhtw@style}
\mode<all>
\ No newline at end of file
\mode<presentation>
% ------------------------------------------------------------------------------------------------------------------- %
% Dependencies
% ------------------------------------------------------------------------------------------------------------------- %
\RequirePackage[utf8]{inputenc}%
\RequirePackage[T1]{fontenc}%
% TikZ
\RequirePackage{tikz}%
\usetikzlibrary{arrows}%
\usetikzlibrary{arrows.meta}%
\usetikzlibrary{calc}%
\usetikzlibrary{chains}%
\usetikzlibrary{positioning}%
\usetikzlibrary{shadows}%
\usetikzlibrary{shapes.geometric}
% \tikzset{item shadow/.style={drop shadow={shadow xshift=0.75pt,shadow yshift=-0.75pt,fill=\beamer@fhtw@accent!50}}}%
\tikzset{
item shadow/.style={drop shadow={shadow xshift=0.1em,shadow yshift=-0.1em,fill=\beamer@fhtw@accent!80}},
enum shadow/.style={drop shadow={shadow xshift=0.15em,shadow yshift=-0.15em,fill=\beamer@fhtw@accent!80}},
items/.style={},
enums/.style={line width=0.075em,inner sep=0.2em,enum shadow, inner xsep=0,align=center,text=white,rounded corners=0.5pt},
}%
% ------------------------------------------------------------------------------------------------------------------- %
% Graphics
\RequirePackage{adjustbox}%
% ------------------------------------------------------------------------------------------------------------------- %
% Colors
\RequirePackage{xcolor}%
\RequirePackage{twcolors}%
% ------------------------------------------------------------------------------------------------------------------- %
% Geometry
\RequirePackage[noframe]{showframe}%
\geometry{%
marginparsep=0mm,
marginparwidth=0mm,
% footskip=1cm
% foot=-2cm,
% top=0,
% headsep=-2em,
% footskip=-10em,
}%
% ------------------------------------------------------------------------------------------------------------------- %
% Misc
\RequirePackage{xifthen}
\RequirePackage{xparse}
\RequirePackage{etoolbox}
\RequirePackage{textcomp}
% \RequirePackage{listofitems}
% ------------------------------------------------------------------------------------------------------------------- %
% ------------------------------------------------------------------------------------------------------------------- %
% Options
% ------------------------------------------------------------------------------------------------------------------- %
\DeclareOptionBeamer{toclevel}{\def\beamer@fhtw@toclevel{#1}}%
\DeclareOptionBeamer{stoclevel}{\def\beamer@fhtw@stoclevel{#1}}%
\DeclareOptionBeamer{style}{\def\beamer@fhtw@style{#1}\PassOptionsToPackage{style=#1}{beamerouterthemefhtw}}%
\DeclareOptionBeamer{framewidth}{\def\beamer@fhtw@framewidth{#1}}%
\DeclareOptionBeamer{frameamount}{\def\beamer@fhtw@frameamount{#1}}%
\DeclareOptionBeamer{gridsize}{\def\beamer@fhtw@gridsize{#1}}%
\DeclareOptionBeamer{primary}{\def\beamer@fhtw@primary{#1}}%
\DeclareOptionBeamer{secondary}{\def\beamer@fhtw@secondary{#1}}%
\DeclareOptionBeamer{accent}{\def\beamer@fhtw@accent{#1}}%
\DeclareOptionBeamer{alert}{\def\beamer@fhtw@alert{#1}}%
\DeclareOptionBeamer{ocean}{\def\beamer@fhtw@primary{tw-blue}\def\beamer@fhtw@secondary{tw-blue!70!}\def\beamer@fhtw@accent{tw-blue!50}}%
\DeclareOptionBeamer{forest}{\def\beamer@fhtw@primary{tw-green}\def\beamer@fhtw@secondary{tw-green!70!}\def\beamer@fhtw@accent{tw-green!50}}%
\DeclareOptionBeamer{concrete}{\def\beamer@fhtw@primary{tw-gray}\def\beamer@fhtw@secondary{tw-gray!70!}\def\beamer@fhtw@accent{tw-gray!50}}%
\DeclareOptionBeamer{vivid}{\def\beamer@fhtw@primary{tw-blue}\def\beamer@fhtw@secondary{tw-green}\def\beamer@fhtw@accent{tw-gray}}%
\DeclareOptionBeamer{urban}{\def\beamer@fhtw@primary{tw-green}\def\beamer@fhtw@secondary{tw-gray}\def\beamer@fhtw@accent{tw-blue}}%
\DeclareOptionBeamer{island}{\def\beamer@fhtw@primary{tw-green}\def\beamer@fhtw@secondary{tw-blue}\def\beamer@fhtw@accent{tw-gray}}%
\DeclareOptionBeamer{lollipop}{\def\beamer@fhtw@primary{ttw-violett}\def\beamer@fhtw@secondary{ttw-red!70!ttw-violett!70!}\def\beamer@fhtw@accent{tw-blue!50}}%
\DeclareOptionBeamer{metal}{\def\beamer@fhtw@primary{tw-gray}\def\beamer@fhtw@secondary{tw-blue}\def\beamer@fhtw@accent{tw-green}}%
\DeclareOptionBeamer{left}{\def\beamer@fhtw@sidebarside{left}\def\beamer@fhtw@sidebarsideother{right}\PassOptionsToPackage{left}{beamerouterthemefhtw}\def\beamer@sidebarside{left}}%
\DeclareOptionBeamer{right}{\def\beamer@fhtw@sidebarside{right}\def\beamer@fhtw@sidebarsideother{left}\PassOptionsToPackage{right}{beamerouterthemefhtw}\def\beamer@sidebarside{right}}%
\DeclareOptionBeamer{sidebarwidth}{\def\beamer@fhtw@sidebarwidth{#1}}%
\DeclareOptionBeamer{sidebarnavsep}{\def\beamer@fhtw@sidebarnavsep{#1}\PassOptionsToPackage{sidebarnavsep=#1}{beamerouterthemefhtw}}%
\DeclareOptionBeamer{hideothersidebarsections}{\def\beamer@fhtw@hideothersidebarsections{\relax}}%
\DeclareOptionBeamer{hideothersidebarsubsections}{\def\beamer@fhtw@hideothersidebarsubsections{\relax}}%
\DeclareOptionBeamer{hideothersectionsidebarsubsections}{\def\beamer@fhtw@hideothersectionsidebarsubsections{\relax}}%
\DeclareOptionBeamer{hideothersidebarsubsubsections}{\def\beamer@fhtw@hideothersidebarsubsubsections{\relax}}%
\DeclareOptionBeamer{showframes}{\def\beamer@fhtw@frames{black}\PassOptionsToPackage{showframes}{beamerouterthemefhtw}}%
\DeclareOptionBeamer{noframes}{\def\beamer@fhtw@frames{none}\PassOptionsToPackage{noframes}{beamerouterthemefhtw}}%
% ------------------------------------------------------------------------------------------------------------------- %
% Default Options
\ExecuteOptionsBeamer{%
toclevel=3,%
style=fhtw,%
gridsize=10,%
vivid,%
alert=ttw-red,%
framewidth=2,%
frameamount=42,%
right,%
sidebarwidth=0.25\paperwidth,%
sidebarnavsep=0.75em,%
noframes,%
% hideothersidebarsections,%
% hideothersidebarsubsections,%
hideothersectionsidebarsubsections,%
hideothersidebarsubsubsections,%
}%
\ProcessOptionsBeamer\relax%
% ------------------------------------------------------------------------------------------------------------------- %
% Commands
% ------------------------------------------------------------------------------------------------------------------- %
\RequirePackage{util/commands}%
% ------------------------------------------------------------------------------------------------------------------- %
% Theme Settings
% ------------------------------------------------------------------------------------------------------------------- %
\setbeamersize{text margin left=8mm,text margin right=8mm,sidebar width \beamer@sidebarside=\beamer@fhtw@sidebarwidth}%
% \setlength{\footheight}{0mm}%
% ------------------------------------------------------------------------------------------------------------------- %
% Utils
% ------------------------------------------------------------------------------------------------------------------- %
\RequirePackage{util/fhtw}%
\RequirePackage{util/fhtw-light}%
\RequirePackage{util/fhtw-simple}%
\RequirePackage{util/fhtw-random}%
\RequirePackage{util/fhtw-random-simple}%
\RequirePackage{util/noir}%
\RequirePackage{util/noir-bridge}%
\RequirePackage{util/noir-bridge-color}%
\RequirePackage{util/bridge}%
\RequirePackage{util/simple}%
\RequirePackage{util/complex}%
\usecolortheme{fhtw}%
\usefonttheme{fhtw}%
\useoutertheme{fhtw}%
\useinnertheme{fhtw}%
\setbeamertemplate{section in toc}[fhtw]
\setbeamertemplate{subsection in toc}[fhtw]
\setbeamertemplate{subsubsection in toc}[fhtw]
\setbeamertemplate{itemize item}[fhtw]
\setbeamertemplate{itemize subitem}[fhtw]
\setbeamertemplate{itemize subsubitem}[fhtw]
\setbeamertemplate{enumerate item}[fhtw]
\setbeamertemplate{enumerate subitem}[fhtw]
\setbeamertemplate{enumerate subsubitem}[fhtw]
% \setbeamertemplate{enumerate item}[square]
\mode<all>
\ No newline at end of file
% Color Theme %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Font Theme %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Outer Theme %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% ------------------------------------------------------------------------------------------------------------------- %
% Navigation Symbols
% ------------------------------------------------------------------------------------------------------------------- %
\defbeamertemplate{navigation symbols}{bridge}{}%
% ------------------------------------------------------------------------------------------------------------------- %
% Logo
% ------------------------------------------------------------------------------------------------------------------- %
% \defbeamertemplate{logo}{bridge}{}
\beamer@fhtw@reusestyle{bridge}{logo}{noir}
% ------------------------------------------------------------------------------------------------------------------- %
% Background
% ------------------------------------------------------------------------------------------------------------------- %
\defbeamertemplate{background}{bridge}{\placetikzbackground{=1}{\fitpageandcenter{fhtw-bridge}}}
% ------------------------------------------------------------------------------------------------------------------- %
% Title Page
% ------------------------------------------------------------------------------------------------------------------- %
% \defbeamertemplate{title page}{bridge}{}
\beamer@fhtw@reusestyle{bridge}{title page}{noir}
% ------------------------------------------------------------------------------------------------------------------- %
% Sidebar Canvas
% ------------------------------------------------------------------------------------------------------------------- %
% \defbeamertemplate{sidebar canvas \beamer@fhtw@sidebarsidebridgenoir}{}
\beamer@fhtw@reusestyle{bridge}{sidebar canvas \beamer@fhtw@sidebarside}{fhtw}
% ------------------------------------------------------------------------------------------------------------------- %
% Sidebar Sections
% ------------------------------------------------------------------------------------------------------------------- %
% \defbeamertemplate{section in sidebarbridgenoir}{}
\beamer@fhtw@reusestyle{bridge}{section in sidebar}{fhtw}
% \defbeamertemplate{subsection in sidebarbridgenoir}{}
\beamer@fhtw@reusestyle{bridge}{subsection in sidebar}{fhtw}
% \defbeamertemplate{subsubsection in sidebarbridgenoir}{}
\beamer@fhtw@reusestyle{bridge}{subsubsection in sidebar}{fhtw}
% \defbeamertemplate{section in sidebar shadedbridgenoir}{}
\beamer@fhtw@reusestyle{bridge}{section in sidebar shaded}{fhtw}
% \defbeamertemplate{subsection in sidebar shadedbridgenoir}{}
\beamer@fhtw@reusestyle{bridge}{subsection in sidebar shaded}{fhtw}
% \defbeamertemplate{subsubsection in sidebar shadedbridgenoir}{}
\beamer@fhtw@reusestyle{bridge}{subsubsection in sidebar shaded}{fhtw}
% ------------------------------------------------------------------------------------------------------------------- %
% Sidebar
% ------------------------------------------------------------------------------------------------------------------- %
% \defbeamertemplate{sidebar \beamer@fhtw@sidebarsidebridgenoir}{}
\beamer@fhtw@reusestyle{bridge}{sidebar \beamer@fhtw@sidebarside}{fhtw}
% Inner Theme %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% ------------------------------------------------------------------------------------------------------------------- %
% fit to page and center image
% ------------------------------------------------------------------------------------------------------------------- %
\newcommand{\fitpageandcenter}[1]{%
\node at (current page.center) {
\includegraphics[width=\paperwidth]{#1}};%
}%
% ------------------------------------------------------------------------------------------------------------------- %
% place TikZ background
% ------------------------------------------------------------------------------------------------------------------- %
\newcommand{\placetikzbackground}[3][]{%
\ifnum\thepage#2\relax%
\begin{tikzpicture}[#1]%
\useasboundingbox (0,0) rectangle(\paperwidth,\paperheight);%
#3%
\end{tikzpicture}%
\fi%
}%
% ------------------------------------------------------------------------------------------------------------------- %
% shadowed text
% ------------------------------------------------------------------------------------------------------------------- %
\NewDocumentCommand{\shadowedtext}{O{text=white} O{text=black} O{.5pt} m m m}{%
\foreach \angle in {0,5,...,359}{%
\node[align=left,anchor=north west,text width=#5,shift={(\angle:#3)},#2] at #4 {#6};%
}%
\node[align=left,anchor=north west,text width=#5,#1] at #4 {#6};%
}
% ------------------------------------------------------------------------------------------------------------------- %
% sliced circular progressbar
% ------------------------------------------------------------------------------------------------------------------- %
\newcommand{\slicedcircularprogressbar}[9]{%
% Syntax: \slicedcircularprogressbar {coordinate} {outer radius} {inner radius} {opening angle}
% {page total} {current page} {base color} {fill color} {bg color}
\def\ratio{#6/#5}%
\def\outerradius{#2}%
\def\innerradius{#3}%
\coordinate (centerprogressbar) at #1;%
\draw[draw=none,fill=#7] (centerprogressbar) circle (\outerradius);%