% !TeX program = XeLaTeX
% !TeX encoding = UTF-8
% !TeX spellcheck = pt_PT
% !TeX root = main
% IPBeja presentation starter. Academic-work layout rules apply to written reports,
% not to slides; use the companion mecc-report-template for formal submissions.
\documentclass[xcolor=svgnames,t]{beamer}
\usepackage[portuguese]{babel}
\usepackage{fontspec}
\setmainfont[Path=fonts/,Extension=.otf,UprightFont=texgyrepagella-regular,BoldFont=texgyrepagella-bold,ItalicFont=texgyrepagella-italic,BoldItalicFont=texgyrepagella-bolditalic]{texgyrepagella-regular}
\usepackage{graphicx,booktabs,amsmath,csquotes,tikz,multicol}
\usepackage[backend=biber,style=apa,sorting=nyt]{biblatex}
\DeclareLanguageMapping{portuguese}{portuguese-apa}
\addbibresource{main.bib}
% IPBeja palette; presentation styling is intentionally separate from report norms.
\definecolor{ipbgreen}{RGB}{166,204,59}
\definecolor{ipbbrown}{RGB}{153,80,42}
\definecolor{estigred}{RGB}{150,0,24}
\usetheme{Rochester}
\useoutertheme{infolines}
\usecolortheme[named=estigred]{structure}
\setbeamertemplate{navigation symbols}{}
\setbeamertemplate{footline}[frame number]
% Replace example metadata before use.
\title[Trabalho]{[Título da apresentação]}
\subtitle{[Subtítulo opcional]}
\author{[Nome(s) completo(s)]}
\institute{Escola Superior de Tecnologia e Gestão\\Instituto Politécnico de Beja}
\titlegraphic{\includegraphics[height=1.6cm]{resources/estig.png}}
\date{Beja, \the\year}
\begin{document}
\begin{frame}[plain]
\titlepage
\end{frame}
\begin{frame}{Estrutura}
\tableofcontents[hideallsubsections]
\end{frame}
% Organise content in slides/<topic>.tex; cite sources using APA author-date.
\input{slides/sample}
\begin{frame}[allowframebreaks]{Referências Bibliográficas}
\printbibliography
\end{frame}
\end{document}