Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
173 lines (146 sloc) 5.3 KB
% Copyright 2012 by Aécio S. R. Santos <aecio.solando@gmail.com>.
%
% In principle, this file can be redistributed and/or modified under
% the terms of the GNU Public License, version 2.
%
% However, this file is supposed to be a template to be modified
% for your own needs. For this reason, if you use this file as a
% template and not specifically distribute it as part of a another
% package/program, I grant the extra permission to freely copy and
% modify this file as you see fit and even to delete this copyright
% notice.
% Redefines the font type
\usepackage{helvet}
\usefonttheme[onlymath]{serif}
% Some useful colors
\definecolor{lightblue}{rgb}{.0, .68, .84}
\definecolor{black}{rgb}{0, 0, 0}
\definecolor{gray}{rgb}{0.3, 0.3, 0.3}
%
% BLUE color scheme
%
\newcommand{\setcolorschemeblue}{
\definecolor{titlecolor}{rgb}{0, 0.37, 0.59}
\definecolor{bulletscolor}{rgb}{.0, .68, .84}
\definecolor{alertcolor}{rgb}{.0, .68, .84}
}
%
% PURPLE color scheme
%
% Purple color pallete
% base 0.35, 0.2, 0.55 (between h2 and h3)
% h1 0.21, 0.1, 0.34 (darker)
% h2 0.28, 0.2, 0.45
% h3 0.44, 0.4, 0.70
% h4 0.51, 0.2, 0.71 (lighter)
%
\newcommand{\setcolorschemepurple}{
\definecolor{titlecolor}{rgb}{0.35, 0.2, 0.55}
\definecolor{bulletscolor}{rgb}{0.44, 0.4, 0.70}
\definecolor{alertcolor}{rgb}{0.35, 0.2, 0.55}
}
%
% GREEN color scheme
%
\newcommand{\setcolorschemegreen}{
\definecolor{titlecolor}{rgb}{0, 0.5, 0.48}
\definecolor{bulletscolor}{rgb}{0.2,0.2,0.7}
\definecolor{alertcolor}{rgb}{.0, .68, .84}
}
% Define default colors scheme
\setcolorschemeblue
% Define color of alert text
\setbeamercolor{alerted text}{fg=alertcolor}
% block environment
%\setbeamertemplate{blocks}[rounded=true, shadow=true]
\setbeamertemplate{blocks}[rounded][shadow=true]
\setbeamercolor*{block body}{fg=black,bg=titlecolor!20!white}
%\setbeamercolor*{block title}{fg=titlecolor!70!black,bg=titlecolor!40!white}
\setbeamercolor*{block title}{fg=titlecolor!10!white,bg=titlecolor!75!white}
%\setbeamerfont{block title}{size=\large,series=\bf}
% Define font sizes
\setbeamerfont{frametitle}{parent=structure,size=\Large}
\setbeamerfont{framesubtitle}{parent=frametitle,size=\footnotesize}
\setbeamerfont{itemize/enumerate body}{size=\fontsize{16pt}{17.6pt}}
\setbeamerfont{itemize/enumerate subbody}{size=\fontsize{14pt}{15,4pt}}
\setbeamerfont{itemize/enumerate subsubbody}{size=\footnotesize}
% Define font sizes for bibliography
\setbeamerfont{bibliography entry author}{size=\small}
\setbeamerfont{bibliography entry title}{size=\small}
\setbeamerfont{bibliography entry location}{size=\small}
\setbeamerfont{bibliography entry note}{size=\small}
% Redefine the cover title fonts to be bold
%\setbeamerfont{title}{size=\Large, series=\bfseries}
% Redefine cover title color
\setbeamercolor{title}{fg=titlecolor}
% Redefine title color
\setbeamercolor{frametitle}{fg=titlecolor,size=20pt}
% Uncomment to redefine bullets with round format
%\useinnertheme[shadow]{rounded}
%\setbeamertemplate{blocks}[rounded][shadow=\beamer@themerounded@shadow]
%\setbeamertemplate{items}[ball]
% Redefine table of content colors
\setbeamercolor{section in toc}{fg=titlecolor}
\setbeamercolor{subsection in toc}{fg=titlecolor!40!black}
% Redefine bibliography colors
\setbeamercolor{bibliography entry author}{fg=titlecolor!25!black}
\setbeamercolor{bibliography entry title}{fg=titlecolor}
\setbeamercolor{bibliography entry location}{fg=titlecolor!25!black}
% Redefine bullets color
\setbeamercolor*{item}{fg=bulletscolor}
% Redefine spacing of left margin of bullets
\setlength{\leftmargini}{1.3em}
\setlength{\leftmarginii}{1em}
\setlength{\leftmarginiii}{1em}
% Redefine space between of items in 'itemize' enviroment
\newlength{\wideitemsep}
\setlength{\wideitemsep}{\itemsep}
\addtolength{\wideitemsep}{0.25pt}
\let\olditem\item
\renewcommand{\item}{\setlength{\itemsep}{\wideitemsep}\olditem}
% Redefine space before a nested itemize
\makeatletter
\def\@listii{\leftmargin\leftmarginii
\topsep 0.9ex
\parsep 0\p@ \@plus\p@
\itemsep \parsep}
\makeatother
% Redefine width of text area margins
\setbeamersize{text margin left=1em,text margin right=1em}
% Define summary items depth
\setcounter{tocdepth}{2}
% Redefine styles of frames' title
\setbeamertemplate{frametitle} {
\vspace{0.2cm}
\ifbeamercolorempty[bg]{frametitle}{}{\nointerlineskip}%
\begin{beamercolorbox}[]{frametitle}
\ifbeamercolorempty[bg]{frametitle}{}{\nointerlineskip}%
\usebeamerfont{frametitle}{%
\strut\insertframetitle\strut\par%
}
{%
\ifx\insertframesubtitle\@empty%
\else
\usebeamerfont{framesubtitle}\usebeamercolor[fg]{framesubtitle}\insertframesubtitle\strut\par
\fi
\vspace{-.9cm}%
{
\textcolor{gray} {\rule[5pt]{\linewidth}{.5pt}\vspace{-8pt}}
}
}%
\vskip-0.5ex%
\if@tempswa\else\vskip-.9cm\fi
\end{beamercolorbox}%
\vspace{0.2cm}
}
% Removes navigation bar
\beamertemplatenavigationsymbolsempty
% Redefine footline to show only slide number
\setbeamertemplate{footline}{
\begin{beamercolorbox}[wd=1\paperwidth,ht=2.25ex,dp=1ex,right]{date in head/foot}%
%\hfill
\insertframenumber{} % Only current slide number
%\insertframenumber{} / \inserttotalframenumber % Current slide number and total of slides
\hspace{2ex}
\end{beamercolorbox}
}