%                                 _     _            _                          
%  _ __  _ __ ___  __ _ _ __ ___ | |__ | | ___      | |__   ___  __ _ _ __ ___  
% | '_ \| '__/ _ \/ _` | '_ ` _ \| '_ \| |/ _ \_____| '_ \ / _ \/ _` | '_ ` _ \ 
% | |_) | | |  __/ (_| | | | | | | |_) | |  __/_____| |_) |  __/ (_| | | | | | |
% | .__/|_|  \___|\__,_|_| |_| |_|_.__/|_|\___|     |_.__/ \___|\__,_|_| |_| |_|
% |_|                                                                           
%            _            
%   ___ _ __| |_ _____  __
%  / _ \ '__| __/ _ \ \/ /
% |  __/ | _| ||  __/>  < 
%  \___|_|(_)\__\___/_/\_\
%                         
% Pablo (C) 2022

\ifdefined\hidepauses
  \documentclass[handout, notheorems, 9pt]{beamer}
\else
  \documentclass[notheorems, 9pt]{beamer}
\fi
\input{preamble-common}

% Blockquotes
\let\blockquote\relax
\NewDocumentEnvironment{blockquote}{m O{Citação}}
  {\begin{block}{#2}}
  {\newline {\normalfont \rightline{--- #1}}\end{block}}

% Useful theorem definitions
\newtheorem*{theorem}{Teorema}
\newtheorem*{lemma}{Lema}
\newtheorem*{corollary}{Corolário}
\newtheorem*{proposition}{Proposição}
\theoremstyle{definition}
\newtheorem*{definition}{Definição}
\newtheorem*{example}{Exemplo}
\theoremstyle{remark}
\let\note\relax
\newtheorem*{fact}{Fato}
\newtheorem*{note}{Nota}

% Beamer settings
\usetheme{Rochester}
\usecolortheme{metropolis}
\usefonttheme{metropolis}
\setbeamertemplate{itemize items}{\textbullet}

% Configure how items look
\setenumerate[0]{label={\normalfont(\roman*)}}
\setitemize{label=\usebeamerfont*{itemize item}%
  \usebeamercolor[fg]{itemize item}
  \usebeamertemplate{itemize item}}
   
% Configure the spacing of columns in tables
\setlength{\tabcolsep}{5pt}

% Include references that aren't cited anywhere
\nocite{*}

setitemize{label=\usebeamerfont*{itemize item}%
  \usebeamercolor[fg]{itemize item}
  \usebeamertemplate{itemize item}}
   
% Configure the spacing of columns in tables
\setlength{\tabcolsep}{5pt}

% Include references that aren't cited anywhere
\nocite{*}

