LaTeX - Beamer

Beamer is a convenient \LaTeX package for high quality slides. A template can be shown as follows.

\documentclass[t, compress, red, 10pt, aspectratio=169, allowframebreaks]{beamer}

\usepackage{hyperref}
\hypersetup{pdfpagemode=FullScreen,
colorlinks=true,
pdfauthor={Shaka},
pdftitle={TITLE},
pdfcreator={GNU Emacs},
pdflang={English}}
\usepackage{tikz}
\usepackage{pgfplots}
\usepackage{circuitikz}
\usetikzlibrary{arrows, cd, shapes}
\tikzstyle{every picture}+=[remember picture]
\usepackage{amsmath, amssymb, amsfonts}
\usepackage{caption, subcaption}
\usepackage{fontawesome5}
\usepackage{enumerate}
\usepackage{cite}
\usepackage{tabularx}
\usepackage{fancybox}
\usepackage{booktabs}

\usepackage{biblatex}
\addbibresource{~/ref/ref.bib}
\newcounter{eg}
\newcounter{prop}
% \usepackage{xeCJK}
% \setCJKsansfont{WenQuanYi Micro Hei}
% \usepackage{helvet}
% \usepackage{charter}
% \usepackage{fourier}
% \usepackage{Minion Pro}
% \usepackage{mathdesign}
% \usepackage{mathpazo}
% \usepackage{newcent}
% \usepackage{avant}
% \usepackage{bookman}
\DeclareMathOperator{\diag}{diag}
\renewcommand{\emph}[1]{\textit{\textcolor{blue}{#1}}}

%% Insert logo at top right corner of each slide
% LaTeX
\logo{\pgfputat{\pgfxy(0, 8.2)}{\pgfbox[right,bottom]{\includegraphics[height=0.8cm]{logo.png}}}}
% XeLaTeX
% \logo{\pgfputat{\pgfxy(0, 8.2)}{\includegraphics[height=0.7cm]{logo.jpg}}}

%% Custom footer
\usefoottemplate{\rightline{\textbf{\insertframenumber}}}

%% Theme setting
% \setbeamercolor{frametitle}{fg=black}
\usetheme{default}
\useinnertheme{circles}
\useoutertheme{default}
\setbeamercovered{transparent}
\setbeamertemplate{caption}[numbered]
\usefonttheme{professionalfonts}
\setbeamerfont{title}{shape=\scshape,series=\bfseries}
\setbeamerfont{frametitle}{shape=\scshape,series=\bfseries}

\begin{document}

\title{TITLE}
\author{AUTHOR}
\date{\today}
\institute{INSTITUTE}
\titlepage

\begin{frame}
  \frametitle{Outline}
  \tableofcontents
\end{frame}

\AtBeginSection
{
  \begin{frame}
    \frametitle{Outline}
    \tableofcontents[currentsection, hideallsubsections]
  \end{frame}
}

\begin{frame}
    \frametitle{References}
    \printbibliography
\end{frame}

\begin{frame}
    \frametitle{FRAME}
    \begin{itemize}
    \item Proposal\refstepcounter{prop}\theprop\label{prop:1}: xxx
    \item Example\refstepcounter{eg}\theeg\label{eg:1}: xxx
    \item Proposal \ref{prop:1} and Example\ref{eg:1} xxx
    \end{itemize}
\end{frame}
\end{document}