Skip to content

Commit

Permalink
add faculty option to theme (fb1-fb4), change logo to a pdf version
Browse files Browse the repository at this point in the history
  • Loading branch information
godehardt committed Jan 31, 2015
1 parent c7a70ef commit 0f8b20e
Show file tree
Hide file tree
Showing 7 changed files with 107 additions and 32 deletions.
Binary file added FRA-UAS_Logo.pdf
Binary file not shown.
Binary file removed Logo.png
Binary file not shown.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
# beamerthemeFrankfurtUniversity
# LaTeX beamer theme “FrankfurtUniversity”

# Revisions and Changes
2014-10-21 initial version
2014-12-13
* add faculty option to theme (fb1-fb4)
* change logo to a pdf version

2014-10-21
* initial version

39 changes: 20 additions & 19 deletions beamercolorthemeFrankfurtUniversity.sty
Original file line number Diff line number Diff line change
@@ -1,52 +1,53 @@
% Copyright 2014 by Eicke Godehardt
%
% This file is based on the original themes of LaTeX beamer
% This file is based on the original themes of LaTeX beamer
% style and may be distributed and/or modified
%
% 1. under the LaTeX Project Public License, version 1.3c
% or (at your option) any later version and/or
% 2. under the GNU Public License, Version 2 or any later
% version published by the Free Software Foundation.

\mode<presentation>

\definecolor{darkblue}{rgb}{0,0,0.8}
\definecolor{FB2}{RGB}{255,158,27}
\definecolor{FB2light}{RGB}{255,221,175}
\definecolor{FB2title}{RGB}{45,137,204}
\definecolor{FrankfurtUniversityTitleColor}{RGB}{45,137,204}

\setbeamercolor{alerted text}{fg=darkblue!80!yellow}
\setbeamercolor*{palette primary}{fg=darkblue!60!black,bg=FB2light}
\setbeamercolor*{palette secondary}{fg=darkblue!70!black,bg=FB2}
\setbeamercolor*{palette tertiary}{bg=darkblue!80!black,fg=FB2}
\setbeamercolor*{palette quaternary}{fg=darkblue,bg=FB2}
\setbeamercolor*{palette primary}{fg=darkblue!60!black,bg=FrankfurtUniversityColor!35}
\setbeamercolor*{palette secondary}{fg=darkblue!70!black,bg=FrankfurtUniversityColor}
\setbeamercolor*{palette tertiary}{bg=darkblue!80!black,fg=FrankfurtUniversityColor}
\setbeamercolor*{palette quaternary}{fg=darkblue,bg=FrankfurtUniversityColor}

%\setbeamercolor*{sidebar}{fg=darkblue,bg=orange!75!white}

\setbeamercolor{itemize item}{fg=FB2}
\setbeamercolor{itemize item}{fg=FrankfurtUniversityColor}
\setbeamercolor{itemize subitem}{parent=itemize item}
\setbeamercolor{itemize subsubitem}{parent=itemize item}

\setbeamercolor{enumerate item}{fg=FB2}
\setbeamercolor{enumerate item}{fg=FrankfurtUniversityColor}
\setbeamercolor{enumerate subitem}{parent=itemize item}
\setbeamercolor{enumerate subsubitem}{parent=itemize item}

\setbeamercolor*{palette sidebar primary}{fg=FB2}
\setbeamercolor*{palette sidebar primary}{fg=FrankfurtUniversityColor}
\setbeamercolor*{palette sidebar secondary}{fg=white}
\setbeamercolor*{palette sidebar tertiary}{fg=FB2}
\setbeamercolor*{palette sidebar tertiary}{fg=FrankfurtUniversityColor}
%\setbeamercolor*{palette sidebar quaternary}{fg=yellow!10!orange}

\setbeamercolor*{titlelike}{parent=palette primary,fg=FB2title}
\setbeamercolor{frametitle}{bg=white,fg=FB2title}
\setbeamercolor{titlefooter}{fg=white,bg=FB2}
\setbeamercolor*{titlelike}{parent=palette primary,fg=FrankfurtUniversityTitleColor}
\setbeamercolor{frametitle}{bg=white,fg=FrankfurtUniversityTitleColor}
\setbeamercolor{titlefooter}{fg=white,bg=FrankfurtUniversityColor}
\setbeamercolor{footer}{fg=black,bg=white}
\setbeamercolor{frametitle right}{bg=FB2light}
\setbeamercolor{frametitle right}{bg=FrankfurtUniversityColor!35}
\setbeamercolor{block title}{fg=FrankfurtUniversityColor}
%\setbeamercolor{block body}{bg=yellow,fg=green}
\setbeamercolor{caption name}{fg=FrankfurtUniversityColor}

\setbeamercolor*{separation line}{}
\setbeamercolor*{fine separation line}{}

\setbeamercolor{section number projected}{bg=black,fg=FB2}
\setbeamercolor{section in toc}{fg=FB2}
\setbeamercolor{section number projected}{bg=black,fg=FrankfurtUniversityColor}
\setbeamercolor{section in toc}{fg=FrankfurtUniversityColor}

\mode
<all>
30 changes: 27 additions & 3 deletions beamerthemeFrankfurtUniversity.sty
Original file line number Diff line number Diff line change
@@ -1,15 +1,33 @@
% Copyright 2014 by Eicke Godehardt
%
% This file is based on the original themes of LaTeX beamer
% This file is based on the original themes of LaTeX beamer
% style and may be distributed and/or modified
%
% 1. under the LaTeX Project Public License, version 1.3c
% or (at your option) any later version and/or
% 2. under the GNU Public License, Version 2 or any later
% version published by the Free Software Foundation.

\ProvidesPackage{beamerthemeFrankfurtUniversity}

\mode<presentation>

\definecolor{FrankfurtUniversityColor}{RGB}{45,137,204}

\DeclareOptionBeamer{fb1}{
\definecolor{FrankfurtUniversityColor}{RGB}{124,128,52}
}
\DeclareOptionBeamer{fb2}{
\definecolor{FrankfurtUniversityColor}{RGB}{255,158,27}
}
\DeclareOptionBeamer{fb3}{
\definecolor{FrankfurtUniversityColor}{RGB}{196,213,42}
}
\DeclareOptionBeamer{fb4}{
\definecolor{FrankfurtUniversityColor}{RGB}{204,31,47}
}
\ProcessOptionsBeamer

%\useoutertheme{default}
%\useoutertheme[subsection=false]{smoothbars}
%\useinnertheme[shadow=true]{rounded}
Expand All @@ -25,10 +43,10 @@

\setbeamertemplate{headline}{%
\ifnum\insertpagenumber=1%
{\hfill\includegraphics[width=3cm]{Logo}\hspace{2mm}\mbox{}}%
{\hfill\includegraphics[width=3cm]{FRA-UAS_Logo.pdf}\hspace{2mm}\mbox{}}%
\vspace{-4mm}%
\else%
{\hfill\includegraphics[width=2.4cm]{Logo}\hspace{3.3mm}\mbox{}}%
{\hfill\includegraphics[width=2.4cm]{FRA-UAS_Logo.pdf}\hspace{3.3mm}\mbox{}}%
% \vskip5pt\insertnavigation{12.75cm}\vskip5pt
\fi%
}
Expand Down Expand Up @@ -91,5 +109,11 @@

\setbeamertemplate{navigation symbols}{}


\setbeamersize{text margin left=1.2em}
\setbeamersize{text margin right=1.2em}
\setbeamersize{sidebar width right=0.cm}
\setbeamersize{sidebar width left=0cm}

\mode
<all>
Binary file modified example/ExampleFrankfurtUniversity.pdf
Binary file not shown.
60 changes: 52 additions & 8 deletions example/ExampleFrankfurtUniversity.tex
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
\documentclass[english]{beamer}
%\documentclass[aspectratio=169]{beamer}
%\usepackage{times}
%\usepackage{amsmath}
%\usepackage{color}
%\usepackage{amssymb}
%\usepackage{pgf}
\usepackage{rotating}
\usepackage{verbatim}
\usepackage{latexsym}
Expand All @@ -24,18 +22,25 @@
\usepackage[english]{babel}


\usetheme{FrankfurtUniversity}
\usetheme[fb2]{FrankfurtUniversity}
%\usetheme{FrankfurtUniversity}


\title[Example]{Theme “FrankfurtUniversity”}
\subtitle{Example Slide Set}
\title[Example]{Example Slide Set}
\subtitle{\LaTeX\ beamer theme “FrankfurtUniversity”}
\author[Godehardt]{Prof.~Dr.~Eicke Godehardt}
\institute{Frankfurt University of Applied Sciences\\
Faculty of Computer Science and Engineering\\
\texttt{[email protected]}}
\date{October 20, 2014}
\date{December 13, 2014}


% you can change the default border sizes
%\setbeamersize{text margin left=1.2em}
%\setbeamersize{text margin right=1.2em}
%\setbeamersize{sidebar width right=0.cm}
%\setbeamersize{sidebar width left=0cm}


\begin{document}

Expand All @@ -58,12 +63,13 @@

\begin{frame}
\frametitle{Agenda}
\tableofcontents[hideallsubsections]
\tableofcontents
% \tableofcontents[hideallsubsections]
\end{frame}

% -----------------------------------------------------------------------------

\section{Content}
\section{Normal Slide}

\begin{frame}[fragile]
\frametitle{Example of Normal Slide}
Expand All @@ -79,4 +85,42 @@ \section{Content}
\end{frame}



\section{Table}
\subsection{Example of a Table}

\begin{frame}
\frametitle{Example of a Table}
\framesubtitle{Tables in Beamer}
\begin{table}[ht]
\begin{tabular}{|l|r|} \hline
\textbf{Programming Language} & \textbf{LOC/FP} \\
\hline \hline
Assembly Language & 320 \\
C & 128 \\
COBOL & 106 \\
FORTRAN & 106 \\
Pascal & 90 \\
C++ & 64 \\
Ada95 & 53 \\
Visual Basic & 32 \\
Smalltalk & 22 \\
SQL & 12 \\\hline
\end{tabular}
\caption{Relationship between LOC and FP}
\end{table}
\end{frame}



\section{Block}

\begin{frame}
\frametitle{Using the \texttt{\textbackslash block} command}
\begin{block}{Title of Box}
Content of Box!
\end{block}
\end{frame}


\end{document}

0 comments on commit 0f8b20e

Please sign in to comment.