Commit fde88e73 authored by Oliver Bücker's avatar Oliver Bücker Committed by Ivo Kabadshow

add initial theme layout

parents
File added
\definecolor{fzjblue}{RGB}{2,61,107} % first color
\colorlet{color1}{fzjblue}
\definecolor{fzjlightblue}{RGB}{173,189,227} % second color
\colorlet{color2}{fzjlightblue}
\definecolor{fzjgray}{RGB}{235,235,235} % third color
\colorlet{fzjgrey}{fzjgray}
\colorlet{color3}{fzjgray}
\definecolor{fzjred}{RGB}{235, 95, 115} % FZJ raspberry red
\colorlet{color4}{fzjred}
\definecolor{fzjgreen}{RGB}{185, 210, 95} % FZJ grass green
\colorlet{color4}{fzjgreen}
\definecolor{fzjyellow}{RGB}{250, 235, 90} % FZJ citrus yellow
\colorlet{color4}{fzjyellow}
\definecolor{fzjviolet}{RGB}{175, 130, 185} % FZJ Hyacinth violet
\colorlet{color4}{fzjviolet}
\definecolor{fzjorange}{RGB}{250, 180, 90} % FZJ apricot orange
\colorlet{color4}{fzjorange}
\definecolor{fzjwhite}{RGB}{255,255,255}
\pgfkeys{/beamerfzj/color/compat mode/.cd,
.is choice,
.default=disabled,
disabled/.code={},
enabled/.code={
\definecolor{fzjblue50}{RGB}{0,91,130}
\definecolor{fzjblue35}{RGB}{166,198,211}
\definecolor{fzjblue30}{RGB}{178,206,217}
\definecolor{fzjblue20}{RGB}{204,222,236}
\definecolor{fzjblue10}{RGB}{229,239,242}
\definecolor{fzjgray80}{RGB}{81,81,81}
\definecolor{fzjgray50}{RGB}{156,156,156}
\definecolor{fzjgray30}{RGB}{185,185,185}
\definecolor{fzjgray20}{RGB}{204,204,204}
\definecolor{fzjgray10}{RGB}{229,229,229}
\definecolor{fzjgray05}{RGB}{242,242,242}
\definecolor{fzjbranchred}{RGB}{212,45,18}
\definecolor{fzjbranchyellow}{RGB}{230,175,17}
\definecolor{fzjbranchblue}{RGB}{6,194,255}
\definecolor{fzjlightred}{RGB}{198,141,132}
\definecolor{fzjlightgreen}{RGB}{164,181,153}
\definecolor{fzjlightyellow}{RGB}{235,212,167}
}
}
\pgfkeys{/beamerfzj/color/compat mode/disabled}
% slide colors
\setbeamercolor{note page}{bg=white, fg=black}
\setbeamercolor{note title}{bg=fzjlightblue!50!white, fg=black}
\setbeamercolor{note date}{fg=fzjblue}
% beamer color definitions
\setbeamercolor{structure}{fg=fzjblue,bg=}
\setbeamercolor{palette primary}{use=structure,fg=fzjblue,bg=}
\setbeamercolor{title}{fg=white,bg=}
\setbeamercolor{subtitle}{fg=fzjlightblue,bg=}
\setbeamercolor{header}{fg=fzjblue,bg=}
\setbeamercolor{navigation symbols}{fg=fzjgray,bg=}
\setbeamercolor{frametitle}{fg=fzjblue,bg=}
\setbeamercolor{framesubtitle}{fg=fzjblue,bg=}
\setbeamercolor{footline}{fg=fzjblue, bg=}
\setbeamercolor{inverse}{fg=fzjwhite,bg=fzjblue}
\setbeamercolor{normal text}{fg=black,bg=white}
\setbeamercolor{date in head/foot}{fg=structure}
\setbeamercolor{alerted text}{fg=fzjred}
\setbeamercolor{example text}{fg=fzjlightblue}
\setbeamercolor{emphasized text}{fg=fzjblue}
\setbeamercolor{part name}{fg=white}
\setbeamercolor{part title}{fg=white}
% Block stuff
\setbeamercolor{block title}{use=structure,fg=white,bg=structure.fg}
\setbeamercolor{block title alerted}{use=alerted text,fg=white,bg=alerted text.fg}
\setbeamercolor{block title example}{use=example text,fg=white,bg=example text.fg}
\setbeamercolor{block body}{parent=normal text,use=block title,bg=fzjgray}
\setbeamercolor{block body alerted}{parent=normal text,use=block title alerted,bg=fzjgray}
\setbeamercolor{block body example}{parent=normal text,use=block title example,bg=fzjgray}
\setbeamerfont{normal text}{}% ignored currently
\setbeamerfont{alerted text}{}
\setbeamerfont{example text}{}
\setbeamerfont{structure}{}
\setbeamerfont{tiny structure}{size=\tiny}
\setbeamerfont{title}{size=\Large,parent=structure}
\setbeamerfont{title in head/foot}{}
\setbeamerfont{title in sidebar}{size=\tiny}
\setbeamerfont{subtitle}{size=\normalsize,parent=title}
\setbeamerfont{sidebar}{size=\Tiny,parent={tiny structure}}
\setbeamerfont{sidebar left}{parent=sidebar}
\setbeamerfont{sidebar right}{parent=sidebar}
\setbeamerfont{caption}{size=\small}
\setbeamerfont{caption name}{parent={structure,caption}}
\setbeamerfont{button}{size=\tiny}
\setbeamerfont{block body}{}
\setbeamerfont{block body alerted}{}
\setbeamerfont{block body example}{}
\setbeamerfont{block title}{size=\large,parent={structure,block body}}
\setbeamerfont{block title alerted}{parent={block title,alerted text}}
\setbeamerfont{block title example}{parent={block title,example text}}
\setbeamerfont{item}{parent=structure}
\setbeamerfont{subitem}{parent=item}
\setbeamerfont{subsubitem}{parent=subitem}
\setbeamerfont{item projected}{size=\tiny,parent={item,projected text}}
\setbeamerfont{subitem projected}{parent=item projected}
\setbeamerfont{subsubitem projected}{parent=subitem projected}
\setbeamerfont{itemize item}{parent=item}
\setbeamerfont{itemize subitem}{parent=subitem}
\setbeamerfont{itemize subsubitem}{parent=subsubitem}
\setbeamerfont{enumerate item}{parent=item}
\setbeamerfont{enumerate subitem}{parent=subitem}
\setbeamerfont{enumerate subsubitem}{parent=subsubitem}
\setbeamerfont{itemize/enumerate body}{}
\setbeamerfont{itemize/enumerate subbody}{size=\small}
\setbeamerfont{itemize/enumerate subsubbody}{size=\footnotesize}
\setbeamerfont{description item}{parent=item}
\setbeamerfont{projected text}{parent={tiny structure}}
\setbeamerfont{abstract}{size=\small}
\setbeamerfont{abstract title}{parent={abstract,structure},size=\normalsize}
\setbeamerfont{verse}{family=\rmfamily,shape=\itshape}
\setbeamerfont{quotation}{shape=\itshape}
\setbeamerfont{quote}{parent=quotation}
\setbeamerfont{note page}{size=\small}
\setbeamerfont{frametitle}{parent=titlelike,size*={13pt}{13.2pt},series=\bf}
\setbeamerfont{framesubtitle}{parent=frametitle,series=\mdseries}
\setbeamersize{sidebar width left=\JuelichPosterY}%
\setbeamersize{sidebar width right=\JuelichPosterY}%
\defbeamertemplate*{itemize item}%
{JuelichPoster}%
{\tiny\raise.5ex\hbox{\vrule width 1ex height 1ex}\hskip1.5ex}
\defbeamertemplate*{itemize subitem}%
{JuelichPoster}%
{\TINY\raise1ex\hbox{\vrule width 1ex height 1ex}\hskip1.5ex}
\defbeamertemplate*{itemize subsubitem}%
{JuelichPoster}%
{\TINY\raise1ex\hbox{\vrule width 1ex height 1ex}\hskip1.5ex}
\setbeamertemplate{enumerate items}[square]
\newlength\JuelichPosterLogoHeight
\newlength\JuelichPosterMinimumLogoHeight
\setlength\JuelichPosterMinimumLogoHeight{4.8mm}
\newlength\JuelichPosterY
\newlength{\JuelichPosterImageWidth}
\newlength{\JuelichPosterPartnerWidth}
%------------------------------------------------
% Logo
%------------------------------------------------
% Die Höhe des Logos beträgt bei Standardformaten 8% der Höhe
% bzw. Breite der kurzen Formatseite
\ifnum\paperheight>\paperwidth
% Hochformat => Logo-Höhe = 8% der Papierbreite
\setlength\JuelichPosterLogoHeight{0.08\paperwidth}
\setlength\JuelichPosterY{0.05\paperwidth}
\else
% Querformat => Logo-Höhe = 8% der Papierhöhe
\setlength\JuelichPosterLogoHeight{0.08\paperheight}
\setlength\JuelichPosterY{0.05\paperheight}
\fi
\ifdim\JuelichPosterLogoHeight<\JuelichPosterMinimumLogoHeight
\setlength\JuelichPosterLogoHeight\JuelichPosterMinimumLogoHeight
\fi
\settowidth{\JuelichPosterImageWidth}{\includegraphics[totalheight=1.6\JuelichPosterY]{Logo_FZJ.pdf}}
\setlength{\JuelichPosterPartnerWidth}{\paperwidth}
\addtolength{\JuelichPosterPartnerWidth}{-3.6\JuelichPosterY}
\addtolength{\JuelichPosterPartnerWidth}{-\JuelichPosterImageWidth}
\defbeamertemplate*{headline}{JuelichPoster}
{%
\vskip\JuelichPosterY%
\hskip\JuelichPosterY%
\begin{beamercolorbox}[wd=\JuelichPosterPartnerWidth,ht=1.6\JuelichPosterY]{}%fzjblue50}%
\ifbeamertemplateempty{partner1}{}{\resizebox{!}{1.6\JuelichPosterY}{\usebeamertemplate*{partner1}}\hspace*{\fill}}%
\ifbeamertemplateempty{partner2}{}{\resizebox{!}{1.6\JuelichPosterY}{\usebeamertemplate*{partner2}}\hspace*{\fill}}%
\ifbeamertemplateempty{partner3}{}{\resizebox{!}{1.6\JuelichPosterY}{\usebeamertemplate*{partner3}}\hspace*{\fill}}%
\ifbeamertemplateempty{partner4}{}{\resizebox{!}{1.6\JuelichPosterY}{\usebeamertemplate*{partner4}}\hspace*{\fill}}%
\end{beamercolorbox}%
\hskip1.6\JuelichPosterY% Schutzzone
\includegraphics[totalheight=1.6\JuelichPosterY]{Logo_FZJ.pdf}%
}
%------------------------------------------------
% Helmholtz Banner
%------------------------------------------------
\defbeamertemplate*{helmholtz banner}{}{\translate{HelmholtzBanner}}
\defbeamertemplate*{footline}{JuelichPoster}
{%
\setbeamercolor{bannercolor}{fg=fzjwhite,bg=fzjblue}%
\begin{beamercolorbox}[wd=\paperwidth,ht=0.5\JuelichPosterY,center]{bannercolor}%
\vbox{\vfil\resizebox{!}{0.3\JuelichPosterY}{\usebeamertemplate{helmholtz banner}}\vfil}%
\vskip0.1\JuelichPosterY%
\end{beamercolorbox}%
\vskip0.5\JuelichPosterY%
}
%------------------------------------------------
% Partner-Logos
%------------------------------------------------
\defbeamertemplate{partner1}{empty}{}
\defbeamertemplate{partner2}{empty}{}
\defbeamertemplate{partner3}{empty}{}
\defbeamertemplate{partner4}{empty}{}
%------------------------------------------------
% No Navigation Symbols
%------------------------------------------------
\setbeamertemplate{navigation symbols}{}
%------------------------------------------------
% Appendixblock
%------------------------------------------------
\newenvironment<>{appendixblock}{%
\nointerlineskip%
\@tempdima=\textwidth%
\advance\@tempdima by\beamer@leftmargin%
\advance\@tempdima by\beamer@rightmargin%
\vskip-5.05mm
\begin{beamercolorbox}[leftskip=0.35cm,rightskip=1.35cm,%
wd=\the\@tempdima,ht=0.25\paperheight]{block body appendix}%
\vbox to0.25\paperheight\bgroup\vfil%
}{\vfil\egroup%
\end{beamercolorbox}
\vskip1ex%
}
%------------------------------------------------
% Title
%------------------------------------------------
\defbeamertemplate*{frametitle}{JuelichPoster}%
{%
\ifbeamercolorempty[bg]{frametitle}{}{\nointerlineskip}%
\@tempdima=\textwidth%
\advance\@tempdima by\beamer@leftmargin%
\advance\@tempdima by\beamer@rightmargin%
\vskip2.3mm%
\ifnum\paperheight>\paperwidth%orientation=portrait
\begin{beamercolorbox}[leftskip=0.35cm,%rightskip=0.35cm,%
wd=\the\@tempdima]{frametitle}
{%
\vfil%
\if@tempswa\else\csname beamer@fte\endcsname\fi%
\strut{\usebeamerfont{frametitle}%
\scalebox{1.8}{\parbox{0.54\@tempdima}{\insertframetitle}}}%
% width of title-line / scalingfactor
% 0.97tempdima / 1.8 = 0.54tempdima
\strut\par%
{%
\ifx\insertframesubtitle\@empty%
\else%
{\vskip1ex%
\usebeamerfont{framesubtitle}%
\usebeamercolor[fg]{framesubtitle}%
\scalebox{1.8}{\parbox{0.54\@tempdima}{\insertframesubtitle}}%
% width of subtitle-line / scalingfactor
% 0.97tempdima / 1.8 = 0.54tempdima
\strut\par}%
\fi%
}%
\vfil%
}%
\end{beamercolorbox}%
\else%
\begin{beamercolorbox}[leftskip=0.35cm,%rightskip=0.35cm,%
wd=\the\@tempdima]{frametitle}
\vskip1ex%
\if@tempswa\else\csname beamer@fte\endcsname\fi%
\strut{\usebeamerfont{frametitle}%
\scalebox{1.8}{\parbox{0.54\@tempdima}{\insertframetitle}}}%
% width of title-line / scalingfactor
% 0.97tempdima / 1.8 = 0.54tempdima
\strut\par%
{%
\ifx\insertframesubtitle\@empty%
\else%
{\vskip1ex%
\usebeamerfont{framesubtitle}%
\usebeamercolor[fg]{framesubtitle}%
\scalebox{1.8}{\parbox{0.54\@tempdima}{\insertframesubtitle}}%
% width of subtitle-line / scalingfactor
% 0.97tempdima / 1.8 = 0.54tempdima
\strut\par
}%
\fi%
}%
\vskip1ex
\end{beamercolorbox}%
\fi%
}
\deftranslation[]{HelmholtzBanner}{Member of the Helmholtz Association}
\deftranslation[to=German]{HelmholtzBanner}{Mitglied der Helmholtz-Gemeinschaft}
\usefonttheme{JuelichPoster}
\usecolortheme{JuelichPoster}
\useoutertheme{JuelichPoster}
\useinnertheme{JuelichPoster}
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