Skip to content

Commit

Permalink
Initial Overleaf Import
Browse files Browse the repository at this point in the history
  • Loading branch information
NikoBK committed Nov 7, 2022
0 parents commit 8be0f8f
Show file tree
Hide file tree
Showing 15 changed files with 4,513 additions and 0 deletions.
554 changes: 554 additions & 0 deletions AAUgraphics/aau_logo_new.eps

Large diffs are not rendered by default.

763 changes: 763 additions & 0 deletions AAUgraphics/aau_logo_new_circle.eps

Large diffs are not rendered by default.

2,788 changes: 2,788 additions & 0 deletions AAUgraphics/aau_waves.eps

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions frames/agenda.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
\begin{frame}{Agenda}{}
\tableofcontents
\end{frame}
5 changes: 5 additions & 0 deletions frames/feedback.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
\begin{frame}{Feedback}{Bugs, Comments and Suggestions}
\begin{itemize}
\item<1-> This template is from: \url{https://github.com/NikoBK/aau-beamer-template}.
\end{itemize}
\end{frame}
5 changes: 5 additions & 0 deletions frames/normaltextframe.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
\begin{frame}{Text frame}{frame with normal text}
\begin{block}{Text}
Plain text block on a slide example. Very nice.
\end{block}
\end{frame}
13 changes: 13 additions & 0 deletions frames/userinterface.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
\begin{frame}{User Interface}{Modifying the Theme and colors}
\begin{itemize}
\item<1-> Very fancy item list with links for the \chref{http://aau.designguiden.dk}{AAU design guidelines} and other cool stuff like alerts: \alert{Alert Example} , which is just highlighted text.
\begin{itemize}
\item Item 1:\\
{\tt Item 1 description}
\item Item 2:\\
{\tt Item 2 description}\\
\item Item 3:\\
{\tt Item 3 description}
\end{itemize}
\end{itemize}
\end{frame}
30 changes: 30 additions & 0 deletions master/beamercolorthemeAAUsimple.sty
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{beamercolorthemeAAUsimple}[2014/10/31 The AAU Simple Beamer Theme]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Theme options and definitions
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%beamer specific options
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\mode<presentation>%refers to the first four modes (beamer,handout,second and trans). That is, to all modes except the article mode
{
\definecolor{beamer@barcolor}{RGB}{194,193,204}% light blue
\definecolor{beamer@headercolor}{RGB}{33,26,82}% dark blue
\definecolor{beamer@normaltextcolor}{RGB}{84,97,110}% gray blue
% If you want to use the old colours in the theme with the new logo, do the following
% a) uncomment the two lines below and comment out line 31, 31, and 42
% \definecolor{beamer@barcolor}{rgb}{0.55,0.79,0.94}% old light blue
% \definecolor{beamer@headercolor}{rgb}{0.00,0.41,0.66}% old dark blue
% b) open the aau_logo_new.eps-file and/or the aau_logo_new_circle.eps-file in a text editor
% and change line 69 to
% 0 105 168 rG
% c) convert the eps-file to a pdf-file. This can be done by running
% epstopdf aau_logo_new.eps
\setbeamercolor{structure}{fg=beamer@headercolor}
\setbeamercolor{normal text}{fg=beamer@normaltextcolor}
\setbeamercolor{frametitle}{fg=white,bg=beamer@headercolor}
\setbeamercolor{AAUsimple}{fg=beamer@barcolor,bg=beamer@headercolor}
}%end of beamer specific options

\mode<all>
72 changes: 72 additions & 0 deletions master/beamerinnerthemeAAUsimple.sty
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{beamerinnerthemeAAUsimple}[2014/10/31 The AAU Simple Beamer Theme]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Theme options and definitions
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\RequirePackage{tikz}
\usetikzlibrary{external}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%beamer specific options
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\mode<presentation>%refers to the first four modes (beamer,handout,second and trans). That is, to all modes except the article mode
{
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%templates
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%title page
\setbeamertemplate{title page}{%
\begin{minipage}[c][\textheight][c]{\textwidth}
\vfill
\centering
{\usebeamerfont{title}\usebeamercolor[fg]{title}\inserttitle}

{\usebeamerfont{subtitle}\usebeamercolor[fg]{subtitle}\insertsubtitle}\vspace*{\baselineskip}

\begin{beamercolorbox}[wd=\textwidth,center,sep=\baselineskip]{frametitle}%
{\usebeamerfont{date}\insertdate}\vspace*{\baselineskip}

{\usebeamerfont{author}\insertauthor}\vspace*{\baselineskip}

{\usebeamerfont{institute}\insertinstitute}
\end{beamercolorbox}\vspace*{\baselineskip}

{\inserttitlegraphic}\vspace*{\baselineskip}
\end{minipage}
}


%final page
\defbeamertemplate{final page}{text}[1]{%
\begin{minipage}[c][\textheight][c]{\textwidth}
\centering
\vfill
\begin{beamercolorbox}[wd=\textwidth,center,sep=2\baselineskip]{frametitle}
#1
\end{beamercolorbox}
\vfill
{\inserttitlegraphic}\vspace*{\baselineskip}
\end{minipage}
}
\newcommand{\finalpage}[1]{%
\setbeamertemplate{final page}[text]{#1}
\usebeamertemplate{final page}
}

% add the aau waves to the background
\newcommand{\aauwavesbg}{%
\setbeamertemplate{background canvas}{
\includegraphics[width=\paperwidth,height=\paperheight]{AAUgraphics/aau_waves}
\tikzexternaldisable
\tikz[overlay] \fill[fill opacity=0.75,fill=white] (0,0) rectangle (-\paperwidth
,\paperheight);
\tikzexternalenable
}
}

% use numbers instead of a picture for the references
\setbeamertemplate{bibliography item}[text]

}%end of beamer specific options

\mode<all>
157 changes: 157 additions & 0 deletions master/beamerouterthemeAAUsimple.sty
Original file line number Diff line number Diff line change
@@ -0,0 +1,157 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{beamerouterthemeAAUsimple}[2014/10/31 The AAU Simple Beamer Theme]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Load required packages
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\RequirePackage{tikz}
\usetikzlibrary{external}
\RequirePackage{calc}
\RequirePackage{fp}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Theme options and definitions
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%theme options
% options for the progress bar/circle
\def\beamer@progressfixedCircCnt{fixedCircCnt} % fixed circular counter
\def\beamer@progressmovCircCnt{movCircCnt} % moving circular counter
\def\beamer@progresscorner{corner} % a counter in the lower right corner
%\def\beamer@progressmovCnt{movCnt} %
\def\beamer@progressstyle{fixedCircCnt} % default
\DeclareOptionBeamer{progressstyle}{\def\beamer@progressstyle{#1}}
\DeclareOptionBeamer{rotationcw}{\def\beamer@rotationcw{true}}
\DeclareOptionBeamer{shownavsym}{\def\beamer@shownavsym{true}}
\ProcessOptionsBeamer

%the height of the header is 2.5 times the lineheight of the frame title
\newlength{\beamer@height}
\usebeamerfont{frametitle} %use the frame title font
\setlength{\beamer@height}{2.5\baselineskip}
% reset fonts
\reset@font
% radius of the logo
\newlength{\beamer@logoradius}
\setlength{\beamer@logoradius}{0.95\beamer@height/2}
% width of the border
\newlength{\beamer@borderwidth}
\setlength{\beamer@borderwidth}{2mm}
% inner radius of border of the logo frame
\newlength{\beamer@logoinnerradius}
\setlength{\beamer@logoinnerradius}{1.1\beamer@logoradius}
% radius of the outer border of the logo frame
\newlength{\beamer@logoouterradius}
\setlength{\beamer@logoouterradius}{\beamer@logoinnerradius+\beamer@borderwidth}
% radius of the counters
\newlength{\beamer@counterradius}
\setlength{\beamer@counterradius}{\beamer@logoinnerradius/2+\beamer@logoouterradius/2}
% the progress
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%beamer specific options
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\mode<presentation>%refers to the first four modes (beamer,handout,second and trans). That is, to all modes except the article mode
{
\ifbeamercolorempty[fg]{AAUsimple}{%
%define the AAUsimple color if it is not defined (which may be due to that the AAUsimple color theme is not loaded)
\setbeamercolor{AAUsimple}{use={structure,palette sidebar primary},fg=palette sidebar primary.fg,bg=structure.fg}
}{%
%aau header is defined - nothing to do
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%templates
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %headline
\setbeamertemplate{headline}{%
\begin{beamercolorbox}[wd=1.0\paperwidth,ht=2.25ex,dp=1ex,left]{headfoot}%
\usebeamerfont{section in head/foot}\hspace*{3.5ex}%
\insertshortauthor\ |\ %
\insertshorttitle%
\end{beamercolorbox}%
\aauheaderbackground%
}

%frame title
\setbeamertemplate{frametitle}{%
\begin{minipage}[t][\beamer@height][t]{\textwidth-1.5\beamer@logoouterradius}
{\usebeamercolor[fg]{frametitle}\usebeamerfont{frametitle}\insertframetitle\par}%
{\usebeamercolor[fg]{framesubtitle}\usebeamerfont{framesubtitle}\insertframesubtitle\par}%
\end{minipage}
}

\ifx\beamer@shownavsym\undefined% insert navigation symbols
\setbeamertemplate{navigation symbols}{%
%disable navigation symbols
}
\fi

\ifx\beamer@progressstyle\beamer@progresscorner% the progress in the lower right corner
\setbeamertemplate{footline}[frame number]
\fi
}%end of beamer specific options

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%Macros used in the theme
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% the fancy header background
\newcommand{\aauheaderbackground}[0]{%
\tikzexternaldisable
\begin{tikzpicture}[overlay]
\coordinate (UL) at (0,0); %upper left corner of the slide
\coordinate (HLR) at (\paperwidth,-\beamer@height); %lower right of the header
\coordinate (logopos) at ([shift={(-\beamer@logoouterradius-\beamer@borderwidth,0.5\beamer@height)}] HLR);%coordinate of the logo
%draw the background of the header, the circle and the logo
{\usebeamercolor{AAUsimple}%
\usebeamercolor{normal text}%
% draw the blue background rectangle of the header
\draw[draw=none,fill=AAUsimple.bg] (UL) rectangle (HLR);
% draw the outer circle
\fill[fill=AAUsimple.fg] (logopos) circle (\beamer@logoouterradius);
% draw the inner circle
\fill[fill=normal text.bg] (logopos) circle (\beamer@logoinnerradius);
% place the logo
\node at (logopos) {\includegraphics[width=1.8\beamer@logoradius]{AAUgraphics/aau_logo_new_circle}};

%% draw progress circle/bar
\ifx\beamer@progressstyle\beamer@progressfixedCircCnt% the circular counter with a fixed counter
% calculate end position
% \ifx\beamer@rotationcw\undefined% counterclockwise rotation
% \pgfmathsetmacro{\progress}{360*\insertframenumber/\inserttotalframenumber};
% \else% clockwise rotation
% \pgfmathsetmacro{\progress}{-360*\insertframenumber/\inserttotalframenumber};
% \fi
\ifx\beamer@rotationcw\undefined% counterclockwise rotation
\FPeval\progress{360*\insertframenumber/\inserttotalframenumber}
\else% clockwise rotation
\FPeval\progress{(-360*\insertframenumber/\inserttotalframenumber)}
\fi
% draw the arc
\draw[color=AAUsimple.bg,line width=0.5*\beamer@borderwidth] ([xshift=\beamer@counterradius] logopos) arc[radius=\beamer@counterradius, start angle=0, end angle=\progress];
\fill[fill=AAUsimple.bg] ([shift={(\progress:\beamer@counterradius)}] logopos) circle (0.25\beamer@borderwidth);
% place the current frame number
\node[fill=normal text.bg,draw=AAUsimple.fg,thick,circle,minimum width=2*\beamer@borderwidth] at ([xshift=\beamer@counterradius]logopos) {{\usebeamercolor[fg]{normal text}\insertframenumber}};
\fi

\ifx\beamer@progressstyle\beamer@progressmovCircCnt% the circular counter with a moving counter
% draw the current and total frame number
% \ifx\beamer@rotationcw\undefined% counterclockwise rotation
% \pgfmathsetmacro{\progress}{360*\insertframenumber/\inserttotalframenumber};
% \else% clockwise rotation
% \pgfmathsetmacro{\progress}{-360*\insertframenumber/\inserttotalframenumber};
% \fi
\ifx\beamer@rotationcw\undefined% counterclockwise rotation
\FPeval\progress{360*\insertframenumber/\inserttotalframenumber}
\else% clockwise rotation
\FPeval\progress{(-360*\insertframenumber/\inserttotalframenumber)}
\fi
% draw the arc
\draw[color=AAUsimple.bg,line width=0.5*\beamer@borderwidth] ([xshift=\beamer@counterradius] logopos) arc (0:\progress:\beamer@counterradius);
% place the total number of frames
\node[fill=normal text.bg,draw=AAUsimple.fg,circle,thick,minimum width=2*\beamer@borderwidth] at ([xshift=\beamer@counterradius] logopos) {{\usebeamercolor[fg]{normal text}\inserttotalframenumber}};
% place the current frame number
\node[fill=normal text.bg,draw=AAUsimple.fg,circle,thick,minimum width=2*\beamer@borderwidth] at ([shift={(\progress:\beamer@counterradius)}] logopos) {{\usebeamercolor[fg]{normal text}\insertframenumber}};
\fi
}
\end{tikzpicture}%
\tikzexternalenable
}
\mode<all>
30 changes: 30 additions & 0 deletions master/beamerthemeAAUsimple.sty
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{beamerthemeAAUsimple}[2014/10/31 The AAU Simple Beamer Theme]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Load required packages
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\RequirePackage{tikz}
\usetikzlibrary{external}
\RequirePackage{calc}
\RequirePackage{fp}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Theme options and definitions
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%theme options
\DeclareOptionBeamer{progressstyle}{\PassOptionsToPackage{progressstyle=#1}{beamerouterthemeAAUsimple}}
\DeclareOptionBeamer{rotationcw}{\PassOptionsToPackage{rotationcw}{beamerouterthemeAAUsimple}}
\DeclareOptionBeamer{shownavsym}{\PassOptionsToPackage{shownavsym}{beamerouterthemeAAUsimple}}
\ProcessOptionsBeamer

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%beamer specific options
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\mode<presentation>%refers to the first four modes (beamer,handout,second and trans). That is, to all modes except the article mode
{
\useinnertheme{AAUsimple}
\useoutertheme{AAUsimple}
\usecolortheme{AAUsimple}
}%end of beamer specific options

\mode<all>
23 changes: 23 additions & 0 deletions master/master.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
\documentclass[10pt]{beamer}
\input{setup/preamble}

\usetheme[]{AAUsimple}
\settitleproperties

\begin{document}
\maketitleframe
\include{frames/agenda}

\section{Introduction}
\subsection{Fancy colors}
\include{frames/userinterface}
\subsection{Normal text frame}
\include{frames/normaltextframe}


\section{Feedback}
\subsection{Bugs, Comments and Suggestions}
\include{frames/feedback}

\makefinalframe
\end{document}
34 changes: 34 additions & 0 deletions setup/macro.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
% Colored hyperlinks.
\newcommand{\chref}[2]{%
\href{#1}{{\usebeamercolor[bg]{AAUsimple}#2}}%
}

% Configures the beamer with all the needed properties
% to generate a proper title frame.
\newcommand{\settitleproperties}{
\title{\beamertitle}
\date{\today}
\author{\groupname}
\institute{\institutename}

\pgfdeclareimage[height = 1.5cm]{titlepagelogo}{AAUgraphics/aau_logo_new}
\titlegraphic{
\pgfuseimage{titlepagelogo}
}
}

% Create the title frame.
\newcommand{\maketitleframe}{
{\aauwavesbg%
\begin{frame}[plain, noframenumbering]
\titlepage
\end{frame}}
}

% Make the final frame as a mean to end the presentation in a formal way.
\newcommand{\makefinalframe}{
{\aauwavesbg
\begin{frame}[plain, noframenumbering]
\finalpage{\finaltitle}
\end{frame}}
}
Loading

0 comments on commit 8be0f8f

Please sign in to comment.