\documentclass[11pt,t,aspectratio=169]{beamer}
\setbeamersize{text margin left=1em,text margin right=1em}
\usetheme{lehighlight}
\usepackage{hyperref}
\usepackage{physics}
\usepackage{multicol}
\usepackage{minted}
%\usefonttheme{professionalfonts}
\usefonttheme{serif}
% Delete this, if you do not want the table of contents to pop up at the beginning of each subsection:
\AtBeginSection[]
{
\begingroup
\setbeamertemplate{background canvas}[vertical shading]
\setbeamertemplate{footline}[sectionfootline]
\setbeamertemplate{section page}[mysection]
\frame[c]{
\sectionpage
}
\endgroup
}
\title{16:9 Light Beamer Template for Lehigh University}
\subtitle{Not endorsed by anyone at Lehigh}
\author{Guanyang Xue}
\institute{Lehigh University}
\date{\today}
%titlepage logo
\titlegraphic{\includegraphics[width=1.75in]{Lehigh-Logo-PMS.eps}}
\begin{document}
\begin{frame}
\titlepage
\end{frame}
\begin{frame}[c]{Outline}
\tableofcontents
\end{frame}
\section{Disclaimer}
\begin{frame}[c]
\frametitle{Disclaimer}
\begin{multicols}{2}
\begin{itemize}
\item THIS IS NOT AN OFFICIAL LEHIGH TEMPLATE.
\item Modified from the original \LaTeX{} template by Alex Pacheco.
\item Followed the latest \href{https://www.lehigh.edu/~inis/sdownloads/Lehigh-Brand-Visual-Guide.pdf}{Lehigh University Branding \& Visual Identity Guide}.
\item Modify if you have suggestions to improve it and pass on the modifications so that anyone interested in using \LaTeX{} for presentations could benefit.
\end{itemize}
\end{multicols}
\begin{itemize}
\item Typing equations with \emph{physics} package is always more convenient.
$$\pdv{\vb*{U}}{t}+(\vb*{U}\cdot\nabla)\vb*{U}-\nu\laplacian\vb*{U} =-\frac{1}{\rho }\grad p+\vb*{g}$$
\end{itemize}
\end{frame}
\section{How to}
\begin{frame}[c,fragile]
\frametitle{How to use it}
\framesubtitle{How to install it to your path}
\begin{itemize}
\item Place the contents within your TEXINPUTS path. On Linux, modify the TEXINPUTS variable to point to the directory where these files exist.
\item For example: \mintinline{bash}{export TEXINPUTS=${HOME}/LaTeX//:${TEXINPUTS}}
\item On MacTeX, you need to install it to \mintinline{bash}{${HOME}/Library/texmf}
\item If you have admin permission copy it to your \TeX{} tree to the directory where the other beamer themes are located e.g. \mintinline{bash}{/usr/share/texmf-texlive/tex/latex/beamer/themes}
\item To use the theme, add the command \mintinline{latex}{\usetheme{lehighlight}} to the preamble of your document.
\item Compile using pdflatex to get the pdf file.
\item Feel free to modify the theme to suit your needs.
\end{itemize}
\end{frame}
\subsection{Blocks}
\begin{frame}[c,fragile]
\frametitle{How to use it}
\framesubtitle{How to use blocks}
\begin{block}{This is a block}
\begin{minted}{latex}
\usepackage{minted}
...
\begin{frame}[c,fragile] % Use fragile option
\end{minted}
\end{block}
\begin{exampleblock}{This is an example block}
\begin{minted}{python}
import numpy as np
a = np.array([1, 2, 3])
\end{minted}
\end{exampleblock}
\begin{alertblock}{This is an alert block}
\begin{minted}{bash}
fatal error: mpi.h: No such file or directory
compilation terminated.
\end{minted}
\end{alertblock}
\end{frame}
\end{document}