Commit 848cfbde authored by Reinhold Kainhofer's avatar Reinhold Kainhofer
Browse files

Add ÖFdV beamer class

parent def2673e
% Copyright 2018 by Reinhold Kainhofer <reinhold@kainhofer.com> modified for AVOe colors
% Copyright 2012 by Alan Munn <amunn@msu.edu> Modified for MSU colours
% Copyright 2004 by Madhusudan Singh <madhusudan.singh@gmail.com>
%
% This file may be distributed and/or modified
%
% 1. under the LaTeX Project Public License and/or
% 2. under the GNU Public License.
%
% See the file doc/licenses/LICENSE for more details.
%
\mode<presentation>
% Settings
% \setbeamercolor*{title page header}{fg=white}
% \setbeamercolor*{author}{fg=white}
% \setbeamercolor*{date}{fg=white}
\definecolor{OeFdVbeige}{RGB}{211,124,0}
\definecolor{AVOegrey}{RGB}{217,217,217} % <= This is explicitly used in some tikx graphics (violation of layout and color separation!), so we need to duplicate!
\definecolor{OeFdVgray}{RGB}{217,217,217}
\definecolor{OeFdVlightgray}{RGB}{89,89,89}
\setbeamercolor{upper separation line head}{bg=OeFdVbeige,fg=white}
\setbeamercolor{lower separation line head}{bg=OeFdVgray,fg=white}
\setbeamercolor*{palette primary}{bg=OeFdVbeige,fg=white}
\setbeamercolor*{palette secondary}{bg=OeFdVgray}
\setbeamercolor*{palette tertiary}{bg=OeFdVgray}
\setbeamerfont{frametitle}{size=\Large,series=\bfseries}
\setbeamercolor{frametitle}{fg=black}
\setbeamercolor{frametitlebg}{bg=OeFdVgray}
\setbeamerfont{framesubtitle}{size=\normalfont\large}
\setbeamercolor{framesubtitle}{fg=OeFdVlightgray}
\setbeamerfont{title}{size=\normalfont\Large, series=\bfseries}
\setbeamercolor{title}{fg=OeFdVbeige}
\setbeamerfont{subtitle}{size=\fontsize{11}{13}\selectfont\normalfont}
\setbeamercolor{subtitle}{fg=OeFdVlightgray}
\setbeamerfont{author}{size=\normalfont\large}
\setbeamercolor{author}{fg=OeFdVlightgray}
\setbeamerfont{institute}{size=\normalfont\scriptsize}
\setbeamercolor{institute}{fg=OeFdVlightgray}
\setbeamerfont{date}{size=\normalfont\normalsize}
\setbeamercolor{date}{fg=OeFdVlightgray}
\setbeamercolor{block title}{bg=OeFdVbeige, fg=white}
\setbeamercolor{block body}{bg=OeFdVgray}
\mode
<all>
......@@ -12,8 +12,8 @@
\begin{beamercolorbox}[wd=1.0\paperwidth,sep=0pt,left,leftskip=0ex]{frametitlebg}%
\hspace{-0.065cm}%
\begin{tikzpicture}%
\node[anchor=north west,inner sep=0pt] (main) at (0,0) {\includegraphics[width=1.0\paperwidth]{\@hdrImg}};%
\node[anchor=north west,inner sep=0pt] (avoelogo) at(0,0.1) {\includegraphics[width=6cm]{avoelogo-margin.png}};%
\node[anchor=north west,inner sep=0pt] (main) at (0,0) {\includegraphics[width=1.0\paperwidth,height=0.475\paperheight,clip=true]{\@hdrImg}};%
\node[anchor=north west,inner sep=0pt] (avoelogo) at(0,0.1) {\colorbox{white}{\adjustbox{margin=.15cm}{\includegraphics[width=6cm]{\@logomargin}}}};%
\draw [line width=0.1cm, color=AVOegrey] (avoelogo.south west) -- (avoelogo.south east);%
\end{tikzpicture}%
\end{beamercolorbox}
......
......@@ -51,7 +51,6 @@
% Images in the frame title
\gdef\@hdrImg{\@empty}
\def\@showHeaderImg#1{\gdef\@hdrImg{#1}}
......@@ -109,8 +108,8 @@
\begin{beamercolorbox}[wd=1.0\paperwidth,sep=0pt,rightskip=0pt,leftskip=0pt]{frametitlebg}%
\hspace{-0.065cm}%
\begin{tikzpicture}%
\node[anchor=north west,inner sep=0pt] (main) at (0,0) {\includegraphics[width=1.0\paperwidth]{\@hdrImg}};%
\node[anchor=north west,inner sep=0pt] (avoelogo) at(0,0) {\includegraphics[width=6cm]{avoelogo-margin.png}};%
\node[anchor=north west,inner sep=0pt] (main) at (0,0) {\includegraphics[width=1.0\paperwidth,height=0.35\paperheight,clip]{\@hdrImg}};%
\node[anchor=north west,inner sep=0pt] (avoelogo) at(0,0.1) {\colorbox{white}{\adjustbox{margin=.15cm}{\includegraphics[width=6cm]{\@logomargin}}}};%
\draw [line width=0.1cm, color=AVOegrey] (avoelogo.south west) -- (avoelogo.south east);%
\end{tikzpicture}%
\end{beamercolorbox}
......
......@@ -16,6 +16,12 @@
\logo{\includegraphics[height=1.25cm]{avoelogo-small.png}}
\setbeamertemplate{page number in head/foot}[appendixframenumber]
% Logos
\ifdefined\@logomargin{}%
\else%
\gdef\@logomargin{avoelogo-margin.png}
\fi
\mode<all>
......
\mode<presentation>
% Requirement
\RequirePackage{tikz}
% Settings
\useinnertheme{avoe}
\useoutertheme{avoe}
\usecolortheme{oefdv}
\setbeamertemplate{navigation symbols}{}
\setbeamertemplate{blocks}[rounded][shadow=true]
\pgfdeclareimage[interpolate=true,width=4cm]{logo}{OeFdV-Logo.pdf}
\pgfdeclareimage[interpolate=true,width=1.5cm]{logosmall}{OeFdV-Logo-notext.pdf}
\logo{\includegraphics[height=1.25cm]{OeFdV-Logo-notext.pdf}}
\setbeamertemplate{page number in head/foot}[appendixframenumber]
% Logos
\gdef\@logomargin{OeFdV-Logo.pdf}
\mode<all>
\documentclass[10pt]{beamer}
\documentclass[10pt,aspectratio=169]{beamer}
\mode<presentation>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment