%% 请使用xelatex编译:Menu -> Settings -> Complier -> XeLateX
%% Github仓库地址:https://github.com/PyangWU/SWJTU_Slides_Template.git
\documentclass{beamer}
\usepackage{swjtu}
\usepackage[style=ieee]{biblatex}
\setbeamertemplate{bibliography item}{\insertbiblabel}
\addbibresource{bibliography.bib}
\title{My Presentation}
\subtitle{Visual Computing Group, Uni Siegen}
\author{Your Name}
\institute{Universität Siegen}
\date{\today}
\begin{document}
%% Title page
%% Remove '[plain]' if you need a footline
\begin{frame}[plain]
\titlepage
\end{frame}
%% TOC page
{
\begin{frame}
\frametitle{Tabel of Contents}
\tableofcontents
\end{frame}
}
%% Section One
\section{Basic Pages}
%% Basic pages
\begin{frame}{A typical slide}
\begin{itemize}
\item This is a typical slide
\end{itemize}
\end{frame}
\begin{frame}[t]{A top aligned slide}
\vspace{20pt}
\begin{itemize}
\item This is a top aligned slide
\end{itemize}
\end{frame}
\begin{frame}[plain]
\begin{itemize}
\item This is a slide with plain style
\end{itemize}
\end{frame}
\begin{frame}{Style and References}
\begin{itemize}
\item Click \textcolor{href}{\href{https://www.swjtu.edu.cn/}{here}} to visit SWJTU offical website
\item Use styling commends to stylize your text: \alert{alert}, \textbf{bold}, \textit{italics}, \underline{underline}, \dots
\item Insert mathematical expressions:
\begin{equation*}
e^{i\pi} + 1 = 0.
\end{equation*}
\item Footnote\footnotemark
\footnotetext[1]{This is a test footnote}
\item Bibliography \cite{knuth}
\end{itemize}
\end{frame}
%% Section Two
\section{Block Pages}
%% Block pages
\begin{frame}{Blocks}
\begin{block}{Block}
This a block
\end{block}
% Delet '\pause' to cancel multipage layout
\pause
\begin{alertblock}{Alert block}
This is an alert block / \textcolor{alert}{This is an alert block}.
\end{alertblock}
\pause
\begin{exampleblock}{Example block}
This is an example block / \textcolor{example}{This is an example block}.
\end{exampleblock}
\end{frame}
%% Section Three
\section{Lists and Tables}
%% Lists and Tables
\begin{frame}{Lists}
\begin{columns}[t, onlytextwidth]
\column{0.5\textwidth}
Items:
\begin{itemize}
\item Item 1
\begin{itemize}
\item item 1
\item item 2
\end{itemize}
\item Item 2
\item Item 3
\end{itemize}
\column{0.5\textwidth}
Enumerations:
\begin{enumerate}
\item First
\begin{enumerate}
\item first
\item second
\end{enumerate}
\item Second
\item Third
\end{enumerate}
\end{columns}
\end{frame}
\begin{frame}{Table}
\begin{table}
\centering
\begin{tabular}{rccc}
& Column 1 & Column 2 & Column 3 \\\hline
Row 1 & entry11 & entry12 & entry31 \\
Row 2 & entry21 & entry22 & entry32 \\
Row 3 & entry31 & entry32 & entry33 \\
\end{tabular}
\caption{Table caption.}
\label{table demo}
\end{table}
\end{frame}
%% Section Four
\section{Figure and Code}
%% Figure
\begin{frame}{Figure}
\begin{figure}
\centering
\includegraphics[scale = 0.15]{src/logo_name_blue.png}
\caption{Figure caption.}
\label{fig:fig demo}
\end{figure}
\end{frame}
\begin{frame}{Figures}
\begin{columns}
\column{0.5\textwidth}
\begin{figure}
\centering
\includegraphics[scale = 0.08]{src/logo_name_blue.png}
\caption{Figure caption.}
\label{fig:dual fig demo 1}
\end{figure}
\column{0.5\textwidth}
\begin{figure}
\centering
\includegraphics[scale = 0.08]{src/logo_name_blue.png}
\caption{Figure caption.}
\label{fig:dual fig demo 2}
\end{figure}
\end{columns}
\end{frame}
%% Code
\begin{frame}[fragile]{Code}
\begin{lstlisting}[language=C++]
// Code Block
#include<iostream>
int main(int argc char* argv[])
{
std::cout<<"Hello SWJTU!";
return 0;
}
\end{lstlisting}
\end{frame}
%% Final page
\begin{frame}[plain]
\begin{picture}(0,0)
\put(-116, -155){\includegraphics[width=1.01\paperwidth]{src/final_page_bg.png}}
\put(-95, 61){\includegraphics[width=0.18\paperwidth]{src/logo_white.png}}
\end{picture}
\centering\usebeamerfont{acknowledgement}\usebeamercolor[fg]{acknowledgement}\textcolor{main}{Thank You!}
\end{frame}
%% Bibliography
\appendix
\begin{frame}[allowframebreaks]{References}
\printbibliography
\end{frame}
\end{document}