\documentclass [aspectratio=169]{beamer}
\beamertemplatenavigationsymbolsempty
\usetheme{Boadilla}
\usepackage{textpos} % package for the positioning
\usepackage[]{graphicx}
\usepackage{graphicx}
\usepackage{float}
\usepackage{hyperref}
\usepackage{caption}
\usepackage{subcaption}
\usepackage{algorithm,algpseudocode}
\usepackage[export]{adjustbox}
\usepackage{tikz}
\usepackage[square,numbers]{natbib}
\usepackage[byname]{smartref}
\usetikzlibrary{positioning}
\usetikzlibrary{arrows, shapes, decorations, automata, backgrounds, fit, petri, calc}
\newcommand*{\logofont}{\fontfamily{phv}\selectfont}
\definecolor{uwopurple}{RGB}{79,38,131} % official purple color for uwo
\title[]{\vspace{60pt} \\
The Lecture Topic Written Here} % Change the lecture topic right here!
%\subtitle{n}
\author[]{Jiaqi Bi}
\institute[]{Department of Epidemiology and Biostatistics\\
Schulich School of Medicine \& Dentistry\\
University of Western Ontario}
\date{\today}
% Math notations
\newtheorem{thm}{Theorem}[section]
\newtheorem{lem}[thm]{Lemma}
\newtheorem{defn}[thm]{Definition}
\newtheorem{eg}[thm]{Example}
\newtheorem{ex}[thm]{Exercise}
\newtheorem{conj}[thm]{Conjecture}
\newtheorem{cor}[thm]{Corollary}
\newtheorem{claim}[thm]{Claim}
\newtheorem{rmk}[thm]{Remark}
\newcommand{\ie}{\emph{i.e.} }
\newcommand{\cf}{\emph{cf.} }
\newcommand{\into}{\hookrightarrow}
\newcommand{\dirac}{\slashed{\partial}}
\newcommand{\R}{\mathbb{R}}
\newcommand{\C}{\mathbb{C}}
\newcommand{\Z}{\mathbb{Z}}
\newcommand{\N}{\mathbb{N}}
\newcommand{\Q}{\mathbb{Q}}
\newcommand{\LieT}{\mathfrak{t}}
\newcommand{\T}{\mathbb{T}}
\newcommand{\A}{\mathds{A}}
\newcommand{\E}{\mathbb{E}}
\newcommand{\Prob}{\mathbb{P}}
\newcommand{\Var}{\text{Var}}
\newcommand\equalhat{%
\let\savearraystretch\arraystretch
\renewcommand\arraystretch{0.3}
\begin{array}{c}
\stretchto{
\scalerel*[\widthof{=}]{\wedge}
{\rule{1ex}{3ex}}%
}{0.5ex}\\
=%
\end{array}
\let\arraystretch\savearraystretch
}
% set color
\setbeamercolor{title in head/foot}{bg=white}
\setbeamercolor{author in head/foot}{bg=white}
\setbeamercolor{date in head/foot}{fg=uwopurple}
\setbeamercolor{date in head/foot}{bg=white}
\setbeamercolor{title}{fg=uwopurple}
\setbeamerfont{title}{series=\bfseries}
\setbeamercolor{frametitle}{fg=uwopurple}
\setbeamerfont{frametitle}{series=\bfseries}
\setbeamercolor{block title}{bg=uwopurple!30,fg=black}
\setbeamercolor{item}{fg=uwopurple}
\setbeamercolor{caption name}{fg=uwopurple!70!}
% set logo at non-title pages
\logo{\includegraphics[height=0.9cm]{schulichuwo.png}\vspace*{-.055\paperheight}\hspace*{.85\paperwidth}}
\begin{document}
{
\setbeamertemplate{logo}{}
\begin{frame}
\titlepage
\begin{textblock*}{4cm}(0.5cm,-7.3cm)
\includegraphics[width=4cm]{schulichuwo.png}
\end{textblock*}
\begin{textblock*}{8cm}(5.0cm,-7.0cm)
\huge \color{uwopurple}{$\Bigr\rvert$ \hspace{0.15cm} \textbf{Lecture 1}} % Change the lecture # right here!
\end{textblock*}
\end{frame}
}
\begin{frame}{Background}
\begin{block}{Block Title}
\begin{itemize}
\item This is a block
\item You may use itemize to handle the bullet point
\item Be aware of the length
\end{itemize}
Some math formula:
\begin{equation*}
a+b=c
\end{equation*}
\end{block}
\end{frame}
\begin{frame}{Math Formula}
You may also write anything without using the block:
\begin{equation*}
a+b=c
\end{equation*}
Add a bibliography wherever you need it~\cite{kopka2003guide}, or as \citet{kopka2003guide} suggests.
\end{frame}
\begin{frame}{Thanks to Contributors!}
This template was modified from Beamer and \href{https://github.com/alexalex222/Beamer-template-uoft}{here (Kuilin Chen's GitHub page)}.
\end{frame}
\begin{frame}[t,allowframebreaks]{References}
\bibliographystyle{unsrtnat}
\bibliography{ref.bib}
\end{frame}
\end{document}