% \RequirePackage[l2tabu, orthodox]{nag} % https://ctan.org/pkg/nag: Detecting and warning about obsolete LATEX commands
\RequirePackage{fix-cm} % https://ctan.org/pkg/fix-cm?lang=en: Permit Computer Modern fonts at arbitrary sizes
\documentclass[10.5pt]{beamer}

%------------------------------------------------------------------------------
% https://www.overleaf.com/learn/latex/Beamer
% https://hartwork.org/beamer-theme-matrix/
% https://deic-web.uab.cat/~iblanes/beamer_gallery/individual/CambridgeUS-crane-default.html
\mode<presentation> {
    \usetheme{CambridgeUS} % default AnnArbor Antibes Bergen Berkeley Berlin Boadilla boxes CambridgeUS Copenhagen
    \usecolortheme{default} % albatross beaver beetle crane default dolphin dove fly lily orchid rose
    \useinnertheme{default} % default、circles、rectangles、rounded、inmargin
    \useoutertheme{default} % default、infolines、miniframes、smoothbars、sidebar、split、shadow、tree、smoothtree
    \usefonttheme{default} % default professionalfonts serif structurebold structureitalicserif
}
\usepackage{appendixnumberbeamer}
\usepackage{caption}
\usepackage{beamerfoils}

% \AtBeginSection[]
% {
%     \begin{frame}[plain]
%         \frametitle{Table of Contents}
%         \tableofcontents[currentsection]
%         % \tableofcontents[sectionstyle=show/hide,subsectionstyle=hide/show/hide]
%     \end{frame}
%     \addtocounter{framenumber}{-1} % If you don't want them to affect the slide number
% }

% http://tug.ctan.org/macros/latex/contrib/beamer/doc/beameruserguide.pdf
% https://github.com/josephwright/beamer
\setbeamertemplate{bibliography item}[text] % text, book, article, triangle,
\setbeamertemplate{caption}[numbered]
\setbeamerfont{footnote}{size=\tiny}
\setbeamerfont{bibliography}{size=\tiny}
\setbeamerfont{caption}{size=\scriptsize}
\setbeamerfont{subsection in toc}{size=\footnotesize}
\renewcommand*{\bibfont}{\tiny}
\setbeamercolor{background canvas}{bg=white}
\setbeamerfont{title}{size=\LARGE}
\setbeamercolor{title}{fg=red,bg=cyan!40!white}
\addtobeamertemplate{frametitle}{}{\vspace*{-0.2cm}}
\setbeamerfont{frametitle}{size=\small}
\setbeamercolor{frametitle}{fg=blue,bg=gray!15!white}
\setbeamercolor{normal text}{fg=black,bg=white}
% \setbeamertemplate{headline}{}
\setbeamertemplate{footline}[page number]{}
\setbeamertemplate{navigation symbols}{}
\setbeamertemplate{section in toc}[sections numbered]
\setbeamercolor{section in toc}{fg=red!99!white,bg=red!50!white}
\setbeamertemplate{itemize items}[triangle] % default triangle, cicrle, square, ball
\setbeamertemplate{enumerate items}[circle] % default triangle, circle, square, ball
\setbeamertemplate{theorems}[numbered]
\setbeamertemplate{caption}[numbered]
\setbeamertemplate{blocks}[rounded][shadow=true]
\setbeamercolor{block title}{fg=black,bg=cyan!45!white}
\setbeamercolor{block body}{fg=black,bg=cyan!10!white}
\setbeamercolor{block title example}{fg=black,bg=green!35!white}
\setbeamercolor{block body example}{fg=black,bg=green!10!white}
\setbeamercolor{block title alerted}{fg=black,bg=orange!60!white}
\setbeamercolor{block body alerted}{fg=black,bg=orange!10!white}

%------------------------------------------------------------------------------
\title[T]{Title}
\author[Author]{Author\inst{1}}
\date[Monthly Report]{Monthly Report \today}
\institute[*]{\inst{1} ***}
% \titlegraphic{\includegraphics[height=0.1\textwidth]{*.png}}
% \logo{\includegraphics[width=2cm, height=0.5cm]{*.png}}

\begin{document}
\begin{frame}[plain]
    \titlepage
\end{frame}

\section*{Outline}
\begin{frame}[allowframebreaks] % shrink allowframebreaks
    \frametitle{Table of Contents}
    \tableofcontents[hideallsubsections] % pausesections, currentsection
\end{frame}
