Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobbossek committed Jun 28, 2022
1 parent 6e9d3d9 commit f224317
Show file tree
Hide file tree
Showing 17 changed files with 1,572 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# AIM-presentation
# AIM-presentation

Template for presentation slides of the Chair for AI Methodology (Computer Science 14) at RWTH Aachen University, Germany.
13 changes: 13 additions & 0 deletions README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Official LaTeX Beamer Template of the
Chair of AI Methodology (AIM)
RWTH Aachen University
===

Author: Jakob Bossek (bossek@aim.rwth-aachen.de)

Version history
===

v1.0.0 [2022/05/04] Finished first version
v1.1.0 [xxxx/xx/xx]

87 changes: 87 additions & 0 deletions beamercolorthemeAIM.sty
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
% Official LaTeX beamer template of the Chair for AI Methodology (AIM), RWTH Aachen University, Aachen, Germany
%
% Author: Jakob Bossek (http://www.jakobbossek.de/)
% AIM website: https://aim.rwth-aachen.de/
%

\mode<presentation>

% DEFINE COLORS
% ===

% TODO: check if there is a document with all the RWTH-color palette definitions
\definecolor{rwthlightblue}{RGB}{143, 185, 223}
\definecolor{rwthdarkblue}{RGB}{0, 84, 159}

% Some colors
% Taken from https://github.com/matze/mtheme/blob/master/source/beamercolorthememetropolis.dtx
\definecolor{mDarkBrown}{HTML}{604c38}
\definecolor{mDarkTeal}{HTML}{23373b}
\definecolor{mLightBrown}{HTML}{EB811B}
\definecolor{mLightGreen}{HTML}{14B03D}
\colorlet{highlight}{blue!50!black!60}

% General color settings
\setbeamercolor{normal text}{fg=mDarkTeal}
\setbeamercolor{title like}{fg=mDarkTeal!80}

% Color of title page elements
\setbeamercolor{title page}{fg=rwthdarkblue}
\setbeamercolor{title page header}{fg=rwthdarkblue}
\setbeamercolor{title}{fg=rwthdarkblue}
\setbeamercolor{subtitle}{fg=rwthdarkblue}
\setbeamercolor{author}{fg=mDarkTeal}
\setbeamercolor{date}{fg=gray!80}
\setbeamercolor{institute}{fg=mDarkTeal!80}

% Highlight
\setbeamercolor{alerted text}{fg=red}

% Boxes
\setbeamercolor{block title}{fg=rwthdarkblue}
\setbeamercolor{block body}{bg=}
\setbeamerfont*{block title}{series=\bfseries}

% Table of Contents
\setbeamertemplate{section in toc}[sections numbered]
\setbeamertemplate{subsection in toc}[subsections numbered]

\setbeamercolor{section in toc}{fg=mDarkTeal}
\setbeamercolor{subsection in toc}{fg=mDarkTeal!90}
\setbeamercolor{subsubsection in toc}{fg=fg=mDarkTeal!80}
\setbeamercolor{section in toc shaded}{fg=mDarkTeal!70}
\setbeamercolor{subsection in toc shaded}{fg=mDarkTeal!60}
\setbeamercolor{subsubsection in toc shaded}{fg=mDarkTeal!50}

% Lists
\setbeamertemplate{itemize item}[triangle]
\setbeamertemplate{itemize subitem}[triangle]
\setbeamertemplate{itemize subsubitem}[triangle]
\setbeamercolor{itemize item}{fg=rwthdarkblue}
\setbeamercolor{itemize subitem}{fg=rwthdarkblue}
\setbeamercolor{itemize subsubitem}{fg=rwthdarkblue}

% Frames
\setbeamercolor{frametitle}{fg=rwthdarkblue}
\setbeamercolor{framesubtitle}{fg=rwthdarkblue}

% Blocks
\setbeamercolor{block title}{fg=rwthdarkblue}
%\setbeamercolor{block body}{fg=}
%\setbeamercolor{block title alerted}{fg=}
%\setbeamercolor{block body alerted}{fg=}
%\setbeamercolor{example text}{fg=}
%\setbeamercolor{block title example}{fg=rwthdarkblue}
%\setbeamercolor{block body example}{fg=}

% Colors in bib-entries
% omit those nasty icons!
\setbeamertemplate{bibliography item}{\insertbiblabel}
\setbeamercolor{bibliography item}{fg=mDarkBrown,bg=}
\setbeamercolor{bibliography entry author}{fg=mDarkTeal!80,bg=}
\setbeamercolor{bibliography entry title}{fg=mDarkBrown,bg=}
\setbeamercolor{bibliography entry booktitle}{fg=black,bg=}
\setbeamercolor{bibliography entry location}{fg=black,bg=}
\setbeamercolor{bibliography entry note}{fg=black,bg=}

\mode<all>
15 changes: 15 additions & 0 deletions beamerfontthemeAIM.sty
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
%\usepackage[sfdefault,light]{FiraSans} %% option 'sfdefault' activates Fira Sans as the default text font
%\usepackage[T1]{fontenc}

\mode<presentation>

% \setbeamerfont{bibliography item}{size=\footnotesize}
% % TODO: the following has no effect :(
% \setbeamerfont{bibliography entry author}{size=\tiny}
% \setbeamerfont{bibliography entry title}{size=\tiny}
% \setbeamerfont{bibliography entry location}{size=\tiny}
% \setbeamerfont{bibliography entry note}{size=\tiny}

\AtBeginBibliography{\footnotesize}

\mode<all>
56 changes: 56 additions & 0 deletions beamerinnerthemeAIM.sty
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
\mode<presentation>

\DeclareOptionBeamer{authorinfo}{\def\beamer@AIM@authorinfo{#1}}
\DeclareOptionBeamer{progress}{\def\beamer@AIM@progress{#1}}
\DeclareOptionBeamer{outline}{\def\beamer@AIM@outline{#1}}
\ExecuteOptionsBeamer{authorinfo=0,progress=1,outline=0} %defaults

\ProcessOptionsBeamer

% FRAME TITLE
% ===

\setbeamertemplate{background}{
\begin{tikzpicture}
\ifnum\thepage=1\relax%

\useasboundingbox (0,0) rectangle(\the\paperwidth,\the\paperheight);
\fill[color=white, opacity=1] (0,0) rectangle(\the\paperwidth,\the\paperheight);

% title page
%\fill[color=blue!50!black!60] (0,4cm) rectangle(\the\paperwidth,9.6cm);
\fi
\end{tikzpicture}
} % \setbeamertemplate{background}


\makeatletter
\def\progressbar@progressbar{}
\newcount\progressbar@current
\newcount\progressbar@total
\newcount\progressbar@maxprogress
\newcount\progressbar@currentprogress

\setbeamertemplate{footline}{%
% \ifnum \theframenumber=1
% \else
\raisebox{11pt}{
\makebox[\paperwidth]{
\ifnum\beamer@AIM@authorinfo=1\relax%
\hskip5mm\color{gray}\scriptsize{\insertshortauthor: \insertshorttitle}
\fi
\ifnum\beamer@AIM@progress=1\relax%
\hfill\makebox[9pt]{
\color{gray}\scriptsize\insertframenumber/\inserttotalframenumber}\hskip7mm
\fi
\ifnum\beamer@AIM@progress=0\relax%
\hfill\makebox[9pt]{
\color{gray}\scriptsize\insertframenumber}\hskip7mm
\fi
}
}
\hspace*{5pt}
% \fi
}
\makeatother

25 changes: 25 additions & 0 deletions beamerouterthemeAIM.sty
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
\mode<presentation>

% Frame title
\defbeamertemplate*{frametitle}{AIM}[1][]{
\begin{beamercolorbox}[wd=\paperwidth,ht=1.4cm]{frametitle}
\begin{tikzpicture}
%\fill[blue!50!black!60] (0,0) rectangle(\the\paperwidth,1.4cm); %blue!50!black!60
\ifx\insertframesubtitle\@empty
\useasboundingbox (0,0) rectangle(\the\paperwidth,1cm);
\node[anchor=west, rwthdarkblue, font=\large] at (0.55, 0.65){\bfseries{\insertframetitle}};
\else
\useasboundingbox (0,0) rectangle(\the\paperwidth,1.4cm);
\node[anchor=west, rwthdarkblue, font=\large] at (0.55, 0.65){\bfseries{\insertframetitle}};
\node[anchor=west, rwthdarkblue, font=\footnotesize] at (0.55, 0.3){\insertframesubtitle};
\fi
\end{tikzpicture}
\end{beamercolorbox}
\ifx\insertframesubtitle\@empty
\vspace*{-0.5cm}
\else
\vspace*{-0.15cm}
\fi
}

\mode<all>
106 changes: 106 additions & 0 deletions beamerthemeAIM.sty
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
% PACKAGE OPTIONS
% ===

\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{beamerthemeAIM}[2022/05/04 'AIM' beamer theme v1.0.0]

\mode<presentation>

% introduce options
\DeclareOptionBeamer{progress}{\PassOptionsToPackage{progress=#1}{beamerinnerthemeAIM}}
\DeclareOptionBeamer{authorinfo}{\PassOptionsToPackage{authorinfo=#1}{beamerinnerthemeAIM}}
\ExecuteOptionsBeamer{authorinfo=0,progress=1} %defaults
\ProcessOptionsBeamer

\usepackage[english]{babel}

% General settings
\useinnertheme{AIM}
\useoutertheme{AIM}
\usefonttheme{AIM}
\usecolortheme{AIM}

% Deactivate clutter
\setbeamertemplate{navigation symbols}{}

\setbeamersize{text margin left=7mm,text margin right=7mm}

% necessary to display footnotes
\let\oldfootnote\footnote
\renewcommand\footnote[1][]{\oldfootnote[frame,#1]}

\setbeamertemplate{itemize item}{\tiny\raise1.25pt\hbox{\donotcoloroutermaths$\blacktriangleright$}}
\setbeamertemplate{itemize subitem}{\tiny\raise1.25pt\hbox{\donotcoloroutermaths$\blacktriangleright$}}
\setbeamertemplate{itemize subsubitem}{\tiny\raise1.25pt\hbox{\donotcoloroutermaths$\blacktriangleright$}}

% Show TOC at the beginning of each section automatically
\ifnum\beamer@AIM@outline=1\relax%
\AtBeginSection[]
{
\begingroup
\setbeamertemplate{footline}{} % hide footer on TOC frames
\begin{frame}[t]
\frametitle{Outline}
\tableofcontents[currentsection,subsectionstyle=show/show/hide]
\end{frame}
\endgroup
\addtocounter{framenumber}{-1} % do not count these frames!
}
\fi


\setbeamertemplate{section page}
{
\begin{minipage}[c][\paperheight]{\textwidth}
\begin{center}
\Large{\textcolor{mDarkTeal}{\insertsection}}\par
\end{center}
\end{minipage}
}

% Macros
\newcommand{\ig}[2]{
\begin{figure}
\begin{center}
\includegraphics[width=#1\textwidth]{#2}
\end{center}
\end{figure}
}

\newcommand{\twocol}[2]{
\begin{columns}[t]
\column[t]{0.48\textwidth}
#1
\hfill
\column[t]{0.48\textwidth}
#2
\end{columns}
}

\renewcommand{\plainframe}[2][lightgrey]{
% first (optional) argument is the background color
{
\setbeamertemplate{footline}{}
\setbeamercolor{background canvas}{bg=#1}
% stuff is centered both vertically and horizontally
\begin{frame}[c]
\begin{minipage}[c][\paperheight]{\textwidth}
\begin{center}
\Large{\textcolor{white}{#2}}
\end{center}
\end{minipage}
\end{frame}
}
}

\newcommand{\wakeupframe}{
\plainframe{\textbf{Wake up!} The talk is over \smiley}
}

% hide stuff
\newcommand{\hide}[1]{}

% HH-like reference
\newcommand{\refer}[1]{{\color{darkgrey}{#1}}}

\mode<all>
9 changes: 9 additions & 0 deletions bib.bib
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
@inproceedings{BNPS2019,
address = {Prague, Czech Republic},
author = {Bossek, Jakob and Neumann, Frank and Peng, Pan and Sudholt, Dirk},
booktitle = {Proceedings of the 21th Genetic and Evolutionary Computation Conference},
publisher = {ACM},
series = {GECCO '19},
title = {Runtime Analysis of Randomized Search Heuristics for Dynamic Graph Coloring},
year = {2019}
}
Loading

0 comments on commit f224317

Please sign in to comment.