Newer
Older
Presentations / Kstmumu / 08_05_2015 / beamerthemeSybila.sty
@mchrzasz mchrzasz on 8 May 2015 4 KB adding more and more presentations
\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{myblue}{RGB}{51,80,255}
\definecolor{myblue}{RGB}{0, 109, 182}
\definecolor{myblue_title}{RGB}{0, 139, 212}
%\definecolor{lightblue}{RGB}{218, 241, 241}
\definecolor{lightblue}{RGB}{177, 236, 236}

\setbeamercolor{math text}{fg=white!0!black} % white
\setbeamercolor{title}{bg=myblue, fg=black}
\setbeamercolor{frametitle}{bg=myblue_title, fg=black}
\setbeamercolor{footline}{bg=black,fg=white}
\setbeamercolor{author in head/foot}{bg=lightblue,fg=black}
\setbeamercolor{title in head/foot}{bg=myblue, 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}{myblue!100!black}
\colorlet{titleright}{myblue!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=0.9cm,keepaspectratio]{images/ifj.png}%

}

\mode
<all>