HKUST BEAMER TEMPLATE
Författare
Boyang Zhang
Last Updated
för 2 år sedan
Licens
Creative Commons CC BY 4.0
Sammanfattning
This is an HKUST beamer template for academic reports or lectures.
This is an HKUST beamer template for academic reports or lectures.
\documentclass[10pt]{beamer}
\usepackage[utf8]{inputenc}
\usepackage{xeCJK}
\usepackage{graphicx}
\usepackage{mathtools}
\usepackage{utopia} %font utopia imported
\usepackage{geometry}
\usetheme{CambridgeUS}
\usecolortheme{dolphin}
% set colors
\definecolor{hkustyellow}{RGB}{167, 131, 55}
\definecolor{hkustblue}{RGB}{0, 56, 116}
\definecolor{hkustred}{RGB}{209, 51, 59}
\setbeamercolor*{palette primary}{bg=hkustblue, fg = white}
\setbeamercolor*{palette secondary}{bg=hkustred, fg = white}
\setbeamercolor*{palette tertiary}{bg=hkustyellow, fg = white}
\setbeamercolor*{titlelike}{fg=hkustblue}
\setbeamercolor*{title}{bg=hkustblue, fg = white}
\setbeamercolor*{item}{fg=hkustblue}
\setbeamercolor*{caption name}{fg=hkustblue}
\usefonttheme{professionalfonts}
\usepackage{natbib}
\usepackage{hyperref}
%------------------------------------------------------------
\titlegraphic{\includegraphics[height=1.5cm]{UST.png}}
% \usepackage{fontspec}
% \setmainfont{Times New Roman}
\setbeamerfont{title}{size=\large}
\setbeamerfont{subtitle}{size=\small}
\setbeamerfont{author}{size=\small}
\setbeamerfont{date}{size=\small}
\setbeamerfont{institute}{size=\small}
\setbeamertemplate{background}{%
\includegraphics[width=\paperwidth,height=\paperheight]{ustscene.png}
}
\title[The Hong Kong University of Science and Technology]{\textrm{\textbf{Title}}}
\subtitle{\textrm{Subtitle}}
\author[NAME]{\textrm{NAME}}
\institute[@connect.ust.hk]{\textrm{The Hong Kong University of Science and Technology}}
\date[\today]{\textrm{\today}}
%------------------------------------------------------------
%This block of commands puts the table of contents at the
%beginning of each section and highlights the current section:
%\AtBeginSection[]
%{
% \begin{frame}
% \frametitle{Contents}
% \tableofcontents[currentsection]
% \end{frame}
%}
\AtBeginSection[]{
\begin{frame}
\vfill
\centering
\begin{beamercolorbox}[sep=8pt,center,shadow=true,rounded=true]{title}
\usebeamerfont{title}\insertsectionhead\par%
\end{beamercolorbox}
\vfill
\end{frame}
}
%------------------------------------------------------------
\begin{document}
%The next statement creates the title page.
\frame{\titlepage}
\begin{frame}
\frametitle{\textrm{Table of Contents}}
\tableofcontents
\end{frame}
%------------------------------------------------------------
\section{\textrm{INTRODUCTION}}
\begin{frame}{\textrm{Introduction}}
\end{frame}
\section{\textrm{CONCLUSION}}
\begin{frame}{\textrm{Conclusion}}
\end{frame}
\section*{}
\begin{frame}
\textcolor{hkustblue}{\Huge{\center{\centerline{\textrm{\textbf{THANK YOU!}}}}}}
\end{frame}
\end{document}