\documentclass[11pt,aspectratio=43,ignorenonframetext,t]{beamer}
% Uses fontspec - assumes compiled with LuaLaTeX or similar
% The above \documentclass is for making slides. If making handouts use:
%\documentclass[11pt,a4paper]{article}
%\usepackage{beamerarticle}
%\setjobnamebeamerversion{main.beamer}
% See https://github.com/CASSON-LAB/uom_beamer_template
% for details on license, further useage information and similar
%%%%%%%%%%%%%%%%%% DOCUMENT SETUP %%%%%%%%%%%%%%%%%%
% Presentation settings
\mode<presentation>{
\usetheme[framenumber,titleframestart=1]{UoM_alex}
\usefonttheme{professionalfonts} % using non standard fonts for beamer
\usefonttheme{serif} % set font to Arial
\usepackage{fontspec}
\setmainfont[Ligatures=TeX]{Arial}
}
% Handout settings
\mode<article>{
\usepackage{fullpage} % use full page
\usepackage{fontspec} % set font to Arial
\setmainfont[Ligatures=TeX]{Arial}
\setlength{\parskip}{1.5\baselineskip} % correct beamer line spacings
\setlength{\parindent}{0cm}
\usepackage{enumitem}
\setlist[itemize]{topsep=0pt}
\definecolor{uomlinkblue}{HTML}{0071BC}
}
% Packages
\usepackage{graphicx} % for graphics files
\graphicspath{ {./images/} }
\usepackage{amsmath} % assumes amsmath package installed
\allowdisplaybreaks[1] % allow eqnarrays to break across pages
\usepackage{amssymb} % assumes amsmath package installed
\usepackage{hyperref} % add hyperlinks to document. Settings are for accessiblity
\hypersetup{
colorlinks=true,
linkcolor=uomlinkblue,
filecolor=uomlinkblue,
urlcolor=uomlinkblue,
pdflang={en-GB},
}
\usepackage[document]{ragged2e} % left aligned text for accessibility
% experimental - does fundamentally work, if with quite a bit of effort
%\usepackage{axessibility} % LaTeX readable equations for accessibility
% \tagpdfsetup{tabsorder=structure,uncompress,activate-all,interwordspace=true}
% \pdfextension catalog{/Lang (en-GB)}
% \RequirePackage{luacode}
% \directlua{require("axessibility.lua")}
\usepackage{unicode-math} % unicode maths for accessibility
\usepackage{pdfcomment} % for alt text for accessibility
\usepackage{rotating} % allow portrait figures and tables
\usepackage{subfigure} % allow matrices of figures
\usepackage{float} % allows H option on floats to force here placement
\usepackage{multirow} % allows merging of rows in tables
\usepackage{tabularx} % allows fixed width tables
\usepackage{ctable} % modifies \hline for use in table
\usepackage{bm} % allow bold fonts in equations
\usepackage{pgf} % allow graphics manipulation
\usepackage{media9} % allow interactive flash files to be embedded
\addmediapath{../media}
\usepackage{etoolbox}
\makeatletter \preto{\@verbatim}{\topsep=0pt \partopsep=0pt} \makeatother
% Custom commands
\newcommand{\matlab}{\emph{\sc{Matlab}}}
\newcommand{\maple}{\emph{\sc{Maple}}}
\newcommand{\simulink}{\emph{\sc{Simulink}}}
\newcommand{\dc}{d.c.}
\newcommand{\ac}{a.c.}
\newcommand{\rms}{RMS}
\newcommand{\wgn}{{\tt wgn}}
\newcommand{\sus}[1]{$^{\mbox{\scriptsize #1}}$}
\newcommand{\sub}[1]{$_{\mbox{\scriptsize #1}}$}
\newcommand{\chap}[1]{Chapter~\ref{#1}}
\newcommand{\sect}[1]{Section~\ref{#1}}
\newcommand{\fig}[1]{Fig.~\ref{#1}}
\newcommand{\tab}[1]{Table~\ref{#1}}
\newcommand{\equ}[1]{(\ref{#1})}
\newcommand{\appx}[1]{Appendix~\ref{#1}}
\newcommand{\degree}{\ensuremath{^\circ}}
\newcommand{\Vrms}{Vrms}
\newcommand{\Vpp}{V\sub{pp}}
\newcommand{\otoprule}{\midrule[\heavyrulewidth]}
\newcolumntype{Z}{>{\centering\arraybackslash}X} % tabularx centered columns
\makeatletter \DeclareRobustCommand{\em}{\@nomath\em \if b\expandafter\@car\f@series\@nil \normalfont \else \bfseries \fi} \makeatother
\newcounter{example_number} % keep track of the example questions
%%%%%%%%%%%%%%%%%% FRONT MATTER %%%%%%%%%%%%%%%%%%
\title{University of Manchester Beamer Presentation}
\subtitle{Subtitle goes here}
\author{Alex Casson}
\begin{document}
%%%%%%%%%%%%%%%%%% TITLE SLIDE %%%%%%%%%%%%%%%%%%
\mode<presentation>{ \frame{
\titlepage \label{slide:a}
}} \begin{figure}[!ht] \fbox{\includeslide[width=\textwidth]{slide:a}} \end{figure}
Text for notes goes here.
\begin{itemize}
\item List 1.
\item List 2.
\end{itemize}
%%%%%%%%%%%%%%%%%% NEW SLIDE %%%%%%%%%%%%%%%%%%
\clearpage
\mode
<presentation>{ \frame{\frametitle{Example slide} \label{slide:z}
\begin{columns}
% Include figure with
%\begin{center} \pdftooltip{\includegraphics[width=0.65\textwidth]{introduction_to_matlab}}{The Matlab command window} \end{center}
\column{0.56\textwidth}
\begin{itemize}
\item Go to:
\item Select:
\item Institution:
\item Session/survey id:
\item Join: \alert{Session}.
\item Log in:
\end{itemize}
\column{0.44\textwidth} \vspace{-1.2\baselineskip}
\begin{center} Alt text. \end{center}
\end{columns}
}} \begin{figure}[!ht] \fbox{\includeslide[width=\textwidth]{slide:z}} \end{figure}
Text for notes goes here.
\begin{itemize}
\item List 1.
\item List 2.
\end{itemize}
%%%%%%%%%%%%%%%%%% END MATTER %%%%%%%%%%%%%%%%%%
\end{document}