Newer
Older
Presentations / DIS2015 / CPV / beamerthemeSybila.sty
@mchrzasz mchrzasz on 29 Apr 2015 6 KB updated CPV
\mode<presentation>

%-------------------------------------------------------------------------------
% Themes
%-------------------------------------------------------------------------------

\useoutertheme{split}                           
%\useinnertheme{rounded}                        
\usefonttheme{structurebold}                    
\useoutertheme{shadow}                          
                                                
\useinnertheme[shadow=true]{rounded}            
% Solid \item symbols                           
\useinnertheme{circles}                         
                                                
\setbeamertemplate{itemize items}[default]      
\setbeamertemplate{enumerate items}[default]    


%-------------------------------------------------------------------------------
% Templates
%-------------------------------------------------------------------------------

\beamertemplatenavigationsymbolsempty
\beamertemplateheadempty
%\beamertemplateshadowblocks

%-------------------------------------------------------------------------------
% Own templates
%-------------------------------------------------------------------------------

% Normal title page.
\defbeamertemplate*{title page}{simple}[1][]
{
	\vfill
	\begin{centering}
		\begin{beamercolorbox}[center, rounded=true]{title}
			\usebeamerfont{title}\inserttitle\par%
			\ifx\insertsubtitle\@empty%
			\else%
        			\vskip0.25em%
			        {\usebeamerfont{subtitle}\usebeamercolor[fg]{subtitle}\insertsubtitle\par}%
			\fi%
		\end{beamercolorbox}%

		\vskip1em

		\begin{beamercolorbox}[sep=8pt,center,#1]{author}
			\usebeamerfont{author}\insertauthor
		\end{beamercolorbox}

		\vskip1em

		
		\begin{beamercolorbox}[sep=8pt,center,#1]{institute}
			\usebeamerfont{date}\insertinstitute
		\end{beamercolorbox}
{\usebeamercolor[fg]{titlegraphic}\inserttitlegraphic\par}
		\vskip1em

		\begin{beamercolorbox}[sep=8pt,center,#1]{date}
			\usebeamerfont{date}\insertdate
		\end{beamercolorbox}
	\end{centering}
	\vfill
}
\defbeamertemplate*{footline}{shadow theme}
{%
  \leavevmode%
  \hbox{\begin{beamercolorbox}[wd=.35\paperwidth,ht=2.5ex,dp=1.125ex,leftskip=.3cm plus1fil,rightskip=0.3cm,center]{author in head/foot}%
    \usebeamerfont{author in head/foot}\insertshortauthor \insertinstitute\par
  \end{beamercolorbox}%
  \begin{beamercolorbox}[wd=.65\paperwidth,ht=2.5ex,dp=1.125ex,leftskip=.3cm,rightskip=.3cm plus1fil]{title in head/foot}%
    \usebeamerfont{title in head/foot}\insertshorttitle \hfill \insertframenumber\,/\,\inserttotalframenumber\hfill%
  \end{beamercolorbox}}%
  \vskip0pt%
}
%-------------------------------------------------------------------------------
% Logo
%-------------------------------------------------------------------------------

%\logo{\hspace*{0.6\textwidth}\includegraphics[width=1.8cm]{images/uzh.jpg}\hspace*{0.3cm}}
\logo{%
  \includegraphics[width=1.8cm,keepaspectratio]{images/uzh.jpg}\hspace*{0.3cm}%
  %  \includegraphics[height=0.6cm,keepaspectratio]{images/ifj.png}%
}
\newif\ifplacelogo
\logo{\ifplacelogo \includegraphics[width=1.8cm,keepaspectratio]{images/uzh.jpg}\hspace*{0.3cm} \fi} % replace with your own command

%-------------------------------------------------------------------------------
% Colors
%-------------------------------------------------------------------------------

\setbeamercovered{dynamic}

%\definecolor{mygreen}{RGB}{51,80,255}
\definecolor{mygreen}{RGB}{0, 204,0}
\definecolor{mygreentitle}{RGB}{0, 170,0} 
%\definecolor{lightgreen}{RGB}{218, 241, 241}  
\definecolor{lightgreen}{RGB}{65,255,65}

\setbeamercolor{math text}{fg=white!0!black} % white
\setbeamercolor{title}{bg=mygreen, fg=black}
\setbeamercolor{frametitle}{bg=mygreentitle, fg=black}
\setbeamercolor{footline}{bg=black,fg=white}
\setbeamercolor{author in head/foot}{bg=lightgreen,fg=black}
\setbeamercolor{title in head/foot}{bg=mygreen, fg=black}
\setbeamercolor{block title}{bg=white!45!black}
\setbeamercolor{block title example}{bg=white!45!black}
\setbeamercolor{block title alerted}{bg=white!15!black}

%\colorlet{redshaded}{red!25!bg}
%\colorlet{shaded}{black!25!bg}
%\colorlet{shadedshaded}{black!10!bg}
%\colorlet{blackshaded}{black!40!bg}



%-------------------------------------------------------------------------------            
% Hacking colors                                                                            
%-------------------------------------------------------------------------------            
                                                                                            
                                                                                            
\colorlet{titleleft}{mygreen!100!black}                                                      
\colorlet{titleright}{mygreen!55!black}                                                      
                                                                                            
\setbeamercolor*{frametitle}{fg=black}                                                      
                                                                                            
\makeatletter                                                                               
\pgfdeclarehorizontalshading[titleleft,titleright]{beamer@frametitleshade}{\paperheight}{%  
  color(0pt)=(titleleft);                                                                   
  color(\paperwidth)=(titleright)}                                                          
\makeatother                                                                                
                                                                                            
                                                                                            
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%                                              






\usecolortheme{whale}
\usecolortheme{orchid}

%-------------------------------------------------------------------------------
% Fonts
%-------------------------------------------------------------------------------

\setbeamerfont{block title}{size={}}
\setbeamerfont{date}{size=\small}

%-------------------------------------------------------------------------------
% Other
%-------------------------------------------------------------------------------

\titlegraphic{
\includegraphics[width=3.0cm]{images/uzh.jpg}\hspace*{0.3cm}
\includegraphics[height=1.8cm,keepaspectratio]{images/logo.png}\hspace*{0.3cm} 
\includegraphics[height=1.0cm]{images/Babar_with_banner.jpg}
}

\mode
<all>