-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.tex
79 lines (67 loc) · 1.83 KB
/
main.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
\documentclass[t,11pt]{beamer} % 8pt -- 14pt, 17pt and 20pt
\usetheme{bjtu}
\usecolortheme{bjtucolor}
% packages
\usepackage{graphicx}
\graphicspath{ {./images/} {./logo/}}
\usepackage{caption}
\usepackage{booktabs}
\usepackage{xeCJK}
\usepackage{fontspec}
\setCJKmainfont{HWzhongsong.ttf}
\setCJKmonofont{HWzhongsong.ttf}
\setromanfont{Times New Roman}
\setsansfont{Arial}
\usepackage[english]{babel}
\usepackage{xcolor}
\usepackage{amsmath}
\usepackage{textpos}
\usepackage{float}
\usepackage{hyperref}
% \hypersetup{
% colorlinks=true,
% linkcolor=blue,
% filecolor=magenta,
% urlcolor=cyan,
% }
% show toc before each chapter
\AtBeginSection[]
{
\begin{frame}
\frametitle{Table of Contents}
\setcounter{tocdepth}{2} % do not show subsection in toc
\tableofcontents[currentsection]
\end{frame}
}
% title,author,data etc.
\title{Title of the Presentation}
\subtitle{Subtitle}
\institute{\url{https://github.com/xuyangcao}}
\author{Xuyang Cao}
\date{2020.07.03}
% document body
\begin{document}
% title
\frame[plain]{\titlepage \addtocounter{framenumber}{-1}}
% logo
\logo{\includegraphics[width=1cm,height=1cm]{logo/logo_bjtu_light_blue}}
% table of contents
% comment this section if unnecessary
\begin{frame}{Table of Contents} % table of contents frame
\setcounter{tocdepth}{2} % do not show subsection
\tableofcontents % table of contents
\end{frame}
% =====================
% generally, you do not need to change the document body any more
% please edit body.tex directly
\input{body.tex}
% =====================
% reference
% comment this section if unnecessary
\begin{frame}[allowframebreaks]{Reference}
\vspace{-0.5em}
\nocite{*} % show all the reference
\bibliographystyle{ieeetr}
\tiny\bibliography{references}
\end{frame}
\end{document}