\documentclass[10pt]{beamer}

\usepackage[T1]{fontenc}
\usepackage[brazilian]{babel}
\usepackage[utf8]{inputenc}


\usetheme{metropolis}
\usepackage{appendixnumberbeamer}
\metroset{numbering=fraction}


\usepackage{booktabs}
\usepackage[scale=2]{ccicons}
\usepackage{multirow}

\usepackage{pgfplots}
\usepgfplotslibrary{dateplot}

\usepackage{xspace}
\newcommand{\themename}{\textbf{\textsc{metropolis}}\xspace}


\title{Criptografia com códigos corretores de erros}
\author{Thales Paiva \\ Prof. Dr. Routo Terada \scriptsize (orientador) \\
        \scriptsize tpaiva, rt@ime.usp.br}
\date{\today}
\institute{Instituto de Matemática e Estatística da Universidade de São Paulo}

% \titlegraphic{\hfill\includegraphics[height=1.5cm]{logo.pdf}}
\newcommand{\foo}{\hspace{-2.3pt}$\bullet$ \hspace{5pt}}

\usepackage[portuguese, ruled, linesnumbered, noend]{algorithm2e}
\usepackage{etoolbox}
\AtBeginEnvironment{algorithm}{\linespread{1.20}\selectfont}

\SetAlgoNoEnd{}
\newlength\mylen\newcommand\myinput[1]{%
  \settowidth\mylen{\Entrada{}}%
  \setlength\hangindent{\mylen}%
  \hspace*{\mylen}#1\\}



\newtheorem{teo}{Teorema:}[section]
\newtheorem{cor}[teo]{Corolário:}
\newtheorem{lem}[teo]{Lema:}
\newtheorem{prob}[teo]{Problema:}
\newtheorem{prop}{Proposição:}

\theoremstyle{definition:}
\newtheorem{definicao}[teo]{Definição:}
\newtheorem{nota}[teo]{Nota:}
\newtheorem{exemplo}[teo]{Exemplo:}

\newcommand{\Fb}{\ensuremath{\mathbb{F}_2}\xspace}
\newcommand{\code}{\ensuremath{\mathcal{C}}\xspace}
\newcommand{\cNP}{\ensuremath{\mathcal{NP}}\xspace}
\newcommand{\alg}[1]{\ensuremath{\textsc{#1}}}
\newcommand{\sk}{\ensuremath{K_\textsc{Sec}}\xspace}
\newcommand{\pk}{\ensuremath{K_\textsc{Pub}}\xspace}

\newcommand{\gsec}{\ensuremath{G_\textsc{Sec}}\xspace}
\newcommand{\gpub}{\ensuremath{G_\textsc{Pub}}\xspace}

\newcommand{\WF}{\ensuremath{\mathbf{WF}}}


\usepackage{tikz}
\usetikzlibrary{positioning,chains,fit,shapes,calc,decorations.pathreplacing,angles,quotes}


\renewcommand{\vec}[1]{\boldsymbol{#1}}

\begin{document}

\maketitle

\begin{frame}{Sumário}
  \setbeamertemplate{section in toc}[sections numbered]
  \tableofcontents[hideallsubsections]
\end{frame}


\input intro
\input mceliece
\input qcmdpc
\input ataque
\input resultados

%
% \begin{frame}[standout]
%     Perguntas?
% \end{frame}

\begin{frame}[allowframebreaks]{Referências}

    \bibliographystyle{abbrv}
    \bibliography{./bibliografia}

\end{frame}

\input apend

\end{document}
