Commit ee4def7f authored by Alija Sabic's avatar Alija Sabic
Browse files

Add main content example, remove clashes with new theme, FIXME: french babel...

Add main content example, remove clashes with new theme, FIXME: french babel and TikZ clash apparently, worked before
parent b435dc57
...@@ -68,8 +68,8 @@ This beamer template provides various features, viz. ...@@ -68,8 +68,8 @@ This beamer template provides various features, viz.
** link:build/title.pdf[*Title Page*] ** link:build/title.pdf[*Title Page*]
** link:build/control-system.pdf[*Figure*] ** link:build/control-system.pdf[*Figure*]
** link:build/siunits.pdf[*Table*] ** link:build/siunits.pdf[*Table*]
* Different styles supported: `fhtw`, `fhtw-random`, `noir`, `noir-bridge`, `noir-bridge-color`, `bridge`, `simple`, `complex` (cf. <<style>>) * Different styles supported: `fhtw`, `fhtw-simple`, `fhtw-random`, `fhtw-random-simple`, `noir`, `noir-bridge`, `noir-bridge-color`, `bridge`, `simple`, `complex` (cf. <<style>>)
* Different color styles supported: `vivid`, `metal`, `urban`, `lollipop`, `island` (cf. <<style>>) * Different color styles supported: `vivid`, `ocean`, `forest`, `concrete`, `metal`, `urban`, `lollipop`, `island` (cf. <<style>>)
* *Sidebar* with * *Sidebar* with
** Progressbar ** Progressbar
** Table of Content ** Table of Content
......
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
...@@ -3,29 +3,9 @@ ...@@ -3,29 +3,9 @@
% \usepackage[texcoord,grid,gridunit=mm,gridcolor=red!10,subgridcolor=green!10]{eso-pic} % \usepackage[texcoord,grid,gridunit=mm,gridcolor=red!10,subgridcolor=green!10]{eso-pic}
\usepackage[subpreambles,sort]{standalone} \usepackage[subpreambles,sort]{standalone}
\usepackage{blindtext} \usepackage{blindtext}
% \usepackage{preamble} \usepackage{preamble}
% \usepackage{fhtw}
\usetheme[%
toclevel=1,%
stoclevel=3,%
style=fhtw,%
framewidth=3,%
right,%
sidebarwidth=0.23\paperwidth,%
sidebarnavsep=1em,%
showframes,%
noframes,%
% alert=ttw-violett,%
]{fhtw}%
% \usetheme[style=fhtw-random,sidebarwidth=0.25\paperwidth,,framewidth=3,frameamount=42]{fhtw}
% \usetheme[style=noir,showframes]{fhtw}
% \usetheme[style=noir-bridge]{fhtw}
% \usetheme[style=noir-bridge-color]{fhtw}
% \usetheme[style=bridge]{fhtw}
% \usetheme[style=simple,sidebarwidth=0.2\paperwidth]{fhtw}
% \usetheme[style=complex,gridsize=15,sidebarwidth=0.2\paperwidth]{fhtw}
\title[Animal Farm]{Animal Farm, Super long extra text just for demonstration} \title[Animal Farm]{Animal Farm, Super long extra text just for demonstration}
\subtitle{Book of mine} \subtitle{Book of mine}
...@@ -66,7 +46,7 @@ ...@@ -66,7 +46,7 @@
\subsection{Normal} \subsection{Normal}
\begin{frame}{Text}{Normal} \begin{frame}{Text}{Normal}
\vskip1em \vskip1em
\blindtext\blindtext % \blindtext\blindtext
\end{frame} \end{frame}
\subsection{Structure} \subsection{Structure}
...@@ -269,41 +249,6 @@ ...@@ -269,41 +249,6 @@
\end{equation} \end{equation}
\end{frame} \end{frame}
% \lecture{Second Lecture}{2 week}
% \section{Second Section}
% \begin{frame}{Test}{Subtitle}
% \end{frame}
% \subsection{Second Subsection}
% \begin{frame}{Test}{Subtitle}
% \end{frame}
% \subsubsection{First Subsubsection}
% \begin{frame}{Test}{Subtitle}
% \end{frame}
% \subsubsection{Second Subsubsection}
% \begin{frame}{Test}{Subtitle}
% \end{frame}
% \section{Third Section}
% \subsection{Third Subsection}
% \begin{frame}{Test}
% \end{frame}
% \section{Third Section}
% \subsection{Third Subsection}
% \begin{frame}{Test}
% \end{frame}
% \section{Third Section}
% \subsection{Third Subsection}
% \begin{frame}{Test}
% \end{frame}
% \section{Third Section}
% \subsection{Third Subsection}
% \begin{frame}{Test}
% \end{frame}
% Add acronyms used in images or not used at all by adding to the list % Add acronyms used in images or not used at all by adding to the list
% \acuse{FHTW,FG} % \acuse{FHTW,FG}
...@@ -320,12 +265,12 @@ ...@@ -320,12 +265,12 @@
% ---------------------------------------------------------------------------------------------------------------------------- % ----------------------------------------------------------------------------------------------------------------------------
% Intro % Intro
% ---------------------------------------------------------------------------------------------------------------------------- % ----------------------------------------------------------------------------------------------------------------------------
% \input{intro} \input{intro}
% ---------------------------------------------------------------------------------------------------------------------------- % ----------------------------------------------------------------------------------------------------------------------------
% Main Content % Main Content
% ---------------------------------------------------------------------------------------------------------------------------- % ----------------------------------------------------------------------------------------------------------------------------
% \input{content} \input{content}
% ---------------------------------------------------------------------------------------------------------------------------- % ----------------------------------------------------------------------------------------------------------------------------
% Outro % Outro
...@@ -335,19 +280,19 @@ ...@@ -335,19 +280,19 @@
% ---------------------------------------------------------------------------------------------------------------------------- % ----------------------------------------------------------------------------------------------------------------------------
% Appendix % Appendix
% ---------------------------------------------------------------------------------------------------------------------------- % ----------------------------------------------------------------------------------------------------------------------------
% \section{Appendix} \section{Appendix}
% \appendix \appendix
% % Acronyms % Acronyms
% \begin{frame}[allowframebreaks]{Acronyms} \begin{frame}[allowframebreaks]{Acronyms}
% \label{acronyms} \label{acronyms}
% \printacronyms \printacronyms
% \end{frame} \end{frame}
% % References % References
% \begin{frame}[allowframebreaks]{References} \begin{frame}[allowframebreaks]{References}
% \label{references} \label{references}
% \bibliography{references} \bibliography{references}
% \end{frame} \end{frame}
\end{document} \end{document}
\ No newline at end of file
...@@ -63,8 +63,8 @@ ...@@ -63,8 +63,8 @@
% NOTE: The recommended LaTeX command to invoke a control entry type is: % NOTE: The recommended LaTeX command to invoke a control entry type is:
% %
%\makeatletter %\makeatletter
%\def\bstctlcite{\@ifnextchar[{\@bstctlcite}{\@bstctlcite[@auxout]}} %\def{\bstctlcite}{\@ifnextchar[{\@bstctlcite}{\@bstctlcite[@auxout]}}
%\def\@bstctlcite[#1]#2{\@bsphack %\def{\@bstctlcite}[#1]#2{\@bsphack
% \@for\@citeb:=#2\do{% % \@for\@citeb:=#2\do{%
% \edef\@citeb{\expandafter\@firstofone\@citeb}% % \edef\@citeb{\expandafter\@firstofone\@citeb}%
% \if@filesw\immediate\write\csname #1\endcsname{\string\citation{\@citeb}}\fi}% % \if@filesw\immediate\write\csname #1\endcsname{\string\citation{\@citeb}}\fi}%
......
...@@ -6,31 +6,31 @@ ...@@ -6,31 +6,31 @@
% -------------------------------------------------------------------------------------------------------------------------------- % --------------------------------------------------------------------------------------------------------------------------------
% Title Page Information % Title Page Information
% -------------------------------------------------------------------------------------------------------------------------------- % --------------------------------------------------------------------------------------------------------------------------------
\RequirePackage{datetime} % \RequirePackage{datetime}
\def\currentdate{\@date} % \def\currentdate{\@date}
\makeatletter \def\currentdate{\@date} \makeatother % \makeatletter \def\currentdate{\@date} \makeatother
\def\title{Presentation Title} % \def\title{Presentation Title}
\def\subtitle{Presentation Subtitle} % \def\subtitle{Presentation Subtitle}
\def\shorttitle{\hspace{1.75em}\title} % \def\shorttitle{\hspace{1.75em}\title}
\def\authorname{Walter Subject} % \def\authorname{Walter Subject}
\def\authortext{\href{mailto:me@technikum-wien.at;other@technikum-wien.at?subject=\title}{Ausgef\"uhrt von: \authorname}} % \def\authortext{\href{mailto:me@technikum-wien.at;other@technikum-wien.at?subject=\title}{Ausgef\"uhrt von: \authorname}}
\def\studentid{Personenkennzeichen: 1234567890} % \def\studentid{Personenkennzeichen: 1234567890}
\def\supervisortitle{Betreuer:} % \def\supervisortitle{Betreuer:}
\def\supervisor{1\textsuperscript{st} Supervisor} % \def\supervisor{1\textsuperscript{st} Supervisor}
\def\secondsupervisor{2\textsuperscript{nd} Supervisor} % \def\secondsupervisor{2\textsuperscript{nd} Supervisor}
\def\place{Vienna} % \def\place{Vienna}
% Colors % Colors
\def\primarycolor{tw-blue} \def\primarycolor{tw-blue}
\def\secondarycolor{tw-green} \def\secondarycolor{tw-green}
\def\accentcolor{tw-gray} \def\accentcolor{tw-gray}
% Misc % % Misc
\author{\authorname} % \author{\authorname}
% ---------------------------------------------------------------------------------------------------------------------------- % ----------------------------------------------------------------------------------------------------------------------------
% Font Style % Font Style
% ---------------------------------------------------------------------------------------------------------------------------- % ----------------------------------------------------------------------------------------------------------------------------
% Choose between default font families: \rmdefault (roman), \sfdefault (serif), \ttdefault (monospace) % Choose between default font families: \rmdefault (roman), \sfdefault (serif), \ttdefault (monospace)
\renewcommand\familydefault{\sfdefault} % \renewcommand\familydefault{\sfdefault}
% Choose between available fonts: e.g., palatino, helvet, lmodern, kpfonts, libertine, mathpazo % Choose between available fonts: e.g., palatino, helvet, lmodern, kpfonts, libertine, mathpazo
% \RequirePackage{kpfonts} % \RequirePackage{kpfonts}
...@@ -67,32 +67,32 @@ ...@@ -67,32 +67,32 @@
% ---------------------------------------------------------------------------------------------------------------------------- % ----------------------------------------------------------------------------------------------------------------------------
% Sliced Circular Progressbar % Sliced Circular Progressbar
% ---------------------------------------------------------------------------------------------------------------------------- % ----------------------------------------------------------------------------------------------------------------------------
\newcommand{\slicedcircularprogressbar}[9]{ % \newcommand{\slicedcircularprogressbar}[9]{
% Syntax: \slicedcircularprogressbar {coordinate} {outer radius} {inner radius} {opening angle} % % Syntax: \slicedcircularprogressbar {coordinate} {outer radius} {inner radius} {opening angle}
% {page total} {current page} {base color} {fill color} {bg color} % % {page total} {current page} {base color} {fill color} {bg color}
\begin{tikzpicture}[overlay] % \begin{tikzpicture}[overlay]
\def\ratio{#6/#5} % \def\ratio{#6/#5}
\def\outerradius{#2} % \def\outerradius{#2}
\def\innerradius{#3} % \def\innerradius{#3}
\coordinate (centerprogressbar) at #1; % \coordinate (centerprogressbar) at #1;
\draw[draw=none,fill=#7] (centerprogressbar) circle (\outerradius); % \draw[draw=none,fill=#7] (centerprogressbar) circle (\outerradius);
\draw[draw=none,fill=#8] (centerprogressbar) -- (centerprogressbar) ++(0,\outerradius) arc (90:90-360*\ratio:\outerradius) -- (centerprogressbar); % \draw[draw=none,fill=#8] (centerprogressbar) -- (centerprogressbar) ++(0,\outerradius) arc (90:90-360*\ratio:\outerradius) -- (centerprogressbar);
\draw[draw=none,fill=#9] (centerprogressbar) circle (\innerradius); % \draw[draw=none,fill=#9] (centerprogressbar) circle (\innerradius);
\pgfmathparse{#5-1} % \pgfmathparse{#5-1}
\pgfmathsetmacro{\nums}{\pgfmathresult} % \pgfmathsetmacro{\nums}{\pgfmathresult}
\foreach \x in {0,...,\nums} { % \foreach \x in {0,...,\nums} {
\pgfmathparse{360/#5*\x} % \pgfmathparse{360/#5*\x}
\pgfmathsetmacro{\angl}{\pgfmathresult} % \pgfmathsetmacro{\angl}{\pgfmathresult}
\def\slice{#4} % \def\slice{#4}
\draw[draw=none,fill=#9,line width=0.1mm] (centerprogressbar) -- +(90-\angl+\slice:\outerradius+0.1) arc (90-\angl+\slice:90-\angl-\slice*2:\outerradius) -- cycle; % \draw[draw=none,fill=#9,line width=0.1mm] (centerprogressbar) -- +(90-\angl+\slice:\outerradius+0.1) arc (90-\angl+\slice:90-\angl-\slice*2:\outerradius) -- cycle;
} % }
\end{tikzpicture} % \end{tikzpicture}
} % }
% ---------------------------------------------------------------------------------------------------------------------------- % ----------------------------------------------------------------------------------------------------------------------------
% Bibliography/References / ToC for single standalones % Bibliography/References / ToC for single standalones
......
...@@ -8,282 +8,54 @@ ...@@ -8,282 +8,54 @@
\NeedsTeXFormat{LaTeX2e}[1994/06/01] \NeedsTeXFormat{LaTeX2e}[1994/06/01]
\ProvidesPackage{fhtw}[2018/11/23 FHTW Beamer Template] \ProvidesPackage{fhtw}[2018/11/23 FHTW Beamer Template]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% This style file is a combination of the four files required to create the complete theme
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 1. Inner
% 2. Outer
% 3. Color
% 4. Font
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Packages %% Packages
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\mode<all> \mode<all>
\RequirePackage{custom} \RequirePackage{custom}
\RequirePackage{twcolors} \RequirePackage{twcolors}
\RequirePackage[utf8]{inputenc}
\RequirePackage[T1]{fontenc}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Tikz
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\RequirePackage{tikz}
\usetikzlibrary{shapes.geometric}
\usetikzlibrary{calc}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%
%% Customization
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\def\sidebarwidth{2cm}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% %%
%% Color theme %% Color theme
%% %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% This sets the colour of the title of the presentation and titles of all the slides in the presentation.
\setbeamercolor{frametitle}{fg=\primarycolor}
% \setbeamercolor{Title}{fg=\primarycolor}
% In case you choose to display the Table of Contents, or the Outline slide. % In case you choose to display the Table of Contents, or the Outline slide.
\setbeamercolor{section in toc}{fg = \primarycolor}
\setbeamercolor{section in toc shaded}{fg = \primarycolor} \setbeamercolor{section in toc shaded}{fg = \primarycolor}
\setbeamercolor{subsection in toc}{fg = \secondarycolor}
\setbeamercolor{subsection in toc shaded}{fg = \secondarycolor} \setbeamercolor{subsection in toc shaded}{fg = \secondarycolor}
% The colour of all the items, subitems and and subsubitems are set to black. % The colour of all the items, subitems and and subsubitems are set to black.
\setbeamercolor{item}{fg = \primarycolor} \setbeamercolor{item}{fg = \primarycolor}
\setbeamercolor{subitem}{fg = \primarycolor} \setbeamercolor{subitem}{fg = \primarycolor}
\setbeamercolor{subsubitem}{fg = \primarycolor} \setbeamercolor{subsubitem}{fg = \primarycolor}
% This sets the color for each item heading of the description environment.
\setbeamercolor{description item}{fg = \primarycolor}
% We also need to fix the colours for captions for figures and tables.
\setbeamercolor{caption}{fg = \secondarycolor}
\setbeamercolor{caption name}{fg = \primarycolor}
%Standard block
\setbeamercolor{block title}{fg = \primarycolor, bg = \primarycolor!15!white}
\setbeamercolor{block body}{bg = \primarycolor!5!white}
% Alert block
\setbeamercolor{block title alerted}{fg = ttw-red, bg = ttw-red!15!white}
\setbeamercolor{block body alerted}{bg = ttw-red!5!white}
% Example block
\setbeamercolor{block title example}{fg = \secondarycolor, bg = \secondarycolor!15!white}
\setbeamercolor{block body example}{bg = \secondarycolor!5!white}
% Color of basic text
\setbeamercolor{normal text}{fg=tw-black}
% Sidebar
\usecolortheme{sidebartab}
\setbeamercolor{sidebar right}{fg=white, bg=\secondarycolor!30}
\setbeamercolor{section in sidebar}{fg=white, bg=\primarycolor}
\setbeamercolor{subsection in sidebar}{fg=white, bg=\primarycolor}
\setbeamercolor{title in sidebar}{fg=\primarycolor}
\setbeamercolor{subtitle in sidebar}{fg=\primarycolor}
\setbeamercolor{author in sidebar}{fg=black!15!\secondarycolor}
\setbeamercolor{palette sidebar secondary}{fg=\primarycolor}
\setbeamercolor{palette sidebar tertiary}{fg=\primarycolor}
\setbeamercolor{note page}{bg=\accentcolor!10} \setbeamercolor{note page}{bg=\accentcolor!10}
\setbeamercolor{note title}{bg=\accentcolor!30} \setbeamercolor{note title}{bg=\accentcolor!30}
\setbeamercolor{note date}{fg=\secondarycolor} \setbeamercolor{note date}{fg=\secondarycolor}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% %%
%% Font theme %% Font theme
%% %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% use the default fonts % use the default fonts
\usefonttheme{professionalfonts} \usefonttheme{professionalfonts}
% Font for the presentation title
\setbeamerfont{title}{size = \huge}
% Font of the frame titles
\setbeamerfont{frametitle}{size = \Large}
\setbeamerfont{author in sidebar}{size=\fontsize{6}{8}\selectfont}
\setbeamerfont{title in sidebar}{size=\fontsize{6}{8}\selectfont}
\setbeamerfont{section in sidebar}{size=\fontsize{6}{8}\selectfont}
\setbeamerfont{subsection in sidebar}{size=\fontsize{6}{8}\selectfont}
\setbeamerfont{subsubsection in sidebar}{size=\fontsize{6}{8}\selectfont}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% %%
%% Inner theme %% Inner theme
%% %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\useinnertheme{rounded} \useinnertheme{rounded}
\setbeamercovered{transparent = 0} \setbeamercovered{transparent = 0}
% Navigation Symbols
\setbeamertemplate{navigation symbols}{}
\defbeamertemplate{itemize subitem}{minus}{\textbf{-}}
\defbeamertemplate{itemize subsubitem}{bullet}{$\bullet$}
% Instead of rounded circles, we will use triangles as the indicator for items.
\setbeamertemplate{itemize item}[square]
\setbeamertemplate{itemize subitem}[minus]
\setbeamertemplate{itemize subsubitem}[bullet]
% The default option for enumerate environment removes the circles around the numbers provided by the "rounded" inner theme. Just simple numbers remain. % The default option for enumerate environment removes the circles around the numbers provided by the "rounded" inner theme. Just simple numbers remain.
\setbeamertemplate{enumerate items}[square] \setbeamertemplate{enumerate items}[square]
% in case you want to have an 1.2.3 numbering style use the template below % in case you want to have an 1.2.3 numbering style use the template below
\setbeamertemplate{enumerate subitem}{\insertenumlabel.\insertsubenumlabel} \setbeamertemplate{enumerate subitem}{\insertenumlabel.\insertsubenumlabel}
\setbeamertemplate{enumerate subitem}{\insertenumlabel.\insertsubenumlabel} \setbeamertemplate{enumerate subitem}{\insertenumlabel.\insertsubenumlabel}
\setbeamertemplate{enumerate subsubitem}{\insertenumlabel.\insertsubenumlabel.\insertsubsubenumlabel} \setbeamertemplate{enumerate subsubitem}{\insertenumlabel.\insertsubenumlabel.\insertsubsubenumlabel}
\setbeamertemplate{sections/subsections in toc}[square] \setbeamertemplate{sections/subsections in toc}[square]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% %%
%% Outer theme %% Outer theme
%% %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\useoutertheme[right,width=\sidebarwidth,height=0em,itemsep=2em]{sidebar}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Title Page
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \setbeamertemplate{title page}{
% \begin{tikzpicture}[
% remember picture,
% overlay,
% base text style/.style = { draw=none, anchor=north west },
% title text style/.style = { base text style, font=\fontsize{14}{24}\bfseries\selectfont, text width=\textwidth },
% norm text style/.style = { base text style, font=\fontsize{10}{10}\selectfont, align=left }
% ]
% \coordinate (start) at ($(current page.south west)+(0.1,0.1)$);
% \coordinate (end) at ($(current page.north east)+(-0.1,-0.1)$);
% \coordinate (textstart) at ($(current page.south west)+(0.1,-0.1)$);
% \def\identation{0.4}
% % Content
% \node[title text style, text width=\textwidth , shift={(\identation,8)}] at (start) {\title};
% \node[norm text style, text width=\textwidth , shift={(\identation,7)}] at (start) {\subtitle};
% \node[norm text style, text width=\textwidth , shift={(\identation,6)}] at (textstart) {\authortext};
% \node[norm text style, text width=\textwidth , shift={(\identation,5.35)}] at (textstart) {\studentid};
% \node[norm text style, text width=0.15\textwidth , shift={(\identation,4.5)}] at (textstart) {\supervisortitle};
% \node[norm text style, text width=0.82\textwidth , shift={(\identation+1.75,4.5)}] at (textstart) {\supervisor};
% \node[norm text style, text width=0.82\textwidth , shift={(\identation+1.75,3.85)}] at (textstart) {\secondsupervisor};
% \node[norm text style, shift={(10.45,3), align=right}, anchor=north east] at (textstart) {\place, \currentdate};
% % Colored rectangles
% \def\fw{9.4/42}
% \foreach \color [count=\ci] in {ttw-blue,ttw-violett,ttw-green,ttw-red,ttw-gray,ttw-lightblue,ttw-lightorange,ttw-red,ttw-gray,ttw-lightblue,
% ttw-green,ttw-lightorange,ttw-red,ttw-gray,ttw-green,ttw-gray,ttw-yellow,ttw-lightorange,ttw-darkcyan,ttw-blue,
% ttw-darkcyan,ttw-red,ttw-green,ttw-lightblue,ttw-gray,ttw-lightblue,ttw-green,ttw-gray,ttw-red,ttw-lightorange,
% ttw-gray,ttw-green,ttw-gray,ttw-lightorange,ttw-darkcyan,ttw-violett,ttw-gray,ttw-blue,ttw-green,ttw-gray,
% ttw-red,ttw-gray} {
% \draw[draw=none,fill=\color] ($(end)+(0,-(\ci*\fw)$) rectangle ++(-2,\fw);
% }
% % Logo
% \def\logowidth{2.5cm}
% \node[anchor=south west] at ($(current page.south west)+(\identation,0.3)$) {\includegraphics[width=\logowidth]{resources/images/fhtw-logo.pdf}};
% \node[anchor=south west] at ($(current page.south west)+(4.15,0.3)$) {\includegraphics[width=\logowidth]{resources/images/placeholder.pdf}};
% \node[anchor=south west] at ($(current page.south west)+(7.75,0.3)$) {\includegraphics[width=\logowidth]{resources/images/placeholder.pdf}};
% % Frame
% \draw[draw=black,line width=0.2mm,anchor=north west] (start) rectangle (end);
% \end{tikzpicture}
% }
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Sidebar
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \setbeamertemplate{sidebar \beamer@sidebarside}{
\makeatletter
\defbeamertemplate*{sidebar \beamer@sidebarside}{fhtw}{
% Progressbar
\slicedcircularprogressbar{(1,-0.965)}{0.8cm}{0.7cm}{1}{\inserttotalframenumber}{\insertframenumber}{\primarycolor!30}{\primarycolor}{\secondarycolor!30}
\vskip 0.7cm \hskip 0.50cm
\includegraphics[height=15pt]{resources/images/fhtw-logo.pdf}
% Author, Title, Subtitle
\begin{tikzpicture}[
overlay,remember picture,
base text style/.style = { anchor=center, text width=1.8\sidebarwidth, draw=none, align=center},
]
\node[base text style, color=\secondarycolor] at (0.99\sidebarwidth+0.4,-0.7) {\authorname};
\draw[draw=\primarycolor,dotted] (0.2,-0.95) -- ++(1.6\sidebarwidth,0);
\node[base text style, color=\primarycolor] at (0.99\sidebarwidth+0.4,-1.3) {\title};
\node[base text style, color=\primarycolor] at (0.99\sidebarwidth+0.4,-1.7) {\subtitle};
\end{tikzpicture}
\vskip 2cm
{
\insertverticalnavigation{\sidebarwidth}
}
\vfill
% Slide number
\hbox to \sidebarwidth{
\hfill
{\small \textcolor{\secondarycolor}{\insertframenumber/\inserttotalframenumber}}
\hskip 0.10mm
}
\vskip 0.10mm
% Line separating sidebar and main content
\begin{tikzpicture}[overlay]
\draw[draw=\primarycolor,line width=0.4mm] (-0.04,9.6) -- ++(0,-9.6);
\draw[draw=\primarycolor,line width=0.15mm] (0,0) -- (0,10);
\end{tikzpicture}
}
\makeatother
\setbeamertemplate{sidebar right,width=\sidebarwidth}{fhtw}
%% Sidebar (shaded)
% \makeatletter
% \setbeamertemplate{sidebar canvas \beamer@sidebarside}[vertical shading][top=tw-green!30,bottom=tw-green!30!tw-blue!10]
% \makeatother
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Frametitle
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Now that we have changed the headline, we will need to orient the frame titles in a way that they come at the
% right stop just above the horizontal line.
\setbeamertemplate{frametitle}{\insertframetitle}
\setbeamertemplate{frametitle}{
\ifx\insertframesubtitle\empty
\vskip 2mm \hskip -2mm
\color{tw-blue}{\insertframetitle}
\else
\vskip 2mm \hskip -2mm
\color{tw-blue}{\insertframetitle} - \color{tw-green}{\insertframesubtitle}
\fi
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Captions %% Captions
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setbeamertemplate{caption}[numbered] \setbeamertemplate{caption}[numbered]
...@@ -6,6 +6,29 @@ ...@@ -6,6 +6,29 @@