-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathReport.tex
159 lines (119 loc) · 3.5 KB
/
Report.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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
%!TEX encoding = UTF-8 Unicode
%!TEX program = xelatex
\documentclass[19pt]{beamer}
\usepackage{breqn}
\usepackage[UTF8]{ctex}
\usetheme[progressbar=frametitle]{metropolis}
\usepackage{appendixnumberbeamer}
\setCJKsansfont{Microsoft YaHei}
\usefonttheme[onlymath]{serif}
\usepackage{booktabs}
\usepackage[scale=2]{ccicons}
\usepackage[version=4]{mhchem}
\usepackage{pgfplots}
\usepgfplotslibrary{dateplot}
\usepackage{siunitx}
\setbeamertemplate{footline}[frame number]
\usepackage{xspace}
\usepackage{xeCJK}
\usepackage{xpinyin}
\newcommand*{\dif}{\mathop{}\!\mathrm{d}}
\usepackage{bm}
\newcommand{\themename}{\textbf{\textsc{metropolis}}\xspace}
\setbeamertemplate{background}{\includegraphics[width=\paperwidth,height=\paperheight]{USTC}}
\usepackage{xcolor}
\usepackage{expl3}
\usepackage{xpinyin}
\usepackage{multicol}
{
\setmainfont{Times New Roman}
\setsansfont{Arial}
}
%title page
\def\maketitle{\ifbeamer@inframe\titlepage\else\frame[plain]{\titlepage}\fi}
\def\titlepage{\usebeamertemplate{title page}}
\setbeamertemplate{title page}
{
\begin{minipage}[b][\paperheight]{\textwidth}
\vfill
\ifx\inserttitle\@empty%
\else%
{\raggedright\linespread{1.0}\usebeamerfont{title}\usebeamercolor[fg]{title}\inserttitle\par}%
\vspace*{0.5em}
\fi%
\ifx\insertsubtitle\@empty%
\else%
{\usebeamerfont{subtitle}\usebeamercolor[fg]{subtitle}\insertsubtitle\par}%
\vspace*{0.5em}
\fi%
\begin{tikzpicture}\draw[normal text.fg] (0, 0) -- (\textwidth, 0);\end{tikzpicture}%
\vspace*{1em}
\ifx\insertauthor\@empty%
\else%
{\usebeamerfont{author}\usebeamercolor[fg]{author}\insertauthor \par}%
\vspace*{5mm}
\fi%
\ifx\insertdate\@empty%
\else%
{\usebeamerfont{date}\usebeamercolor[fg]{date}Updated: \insertdate\par\small{\jobname}\par}%
\fi%
\ifx\insertinstitut\@empty%
\else%
\vspace*{5mm}
{\usebeamerfont{institute}\usebeamercolor[fg]{institute}\insertinstitute\par}%
\fi%
\vfill
\hfill \includegraphics[height=10mm]{stockholmstad} \hspace{5mm} \includegraphics[height=10mm]{issr} \par
\vspace*{5mm}
\end{minipage}
}
%-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
% 09. FOOTLINE
%-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
\usenavigationsymbolstemplate{}
\setbeamertemplate{footline}{
\hbox{
\begin{beamercolorbox}[wd=0.25\textwidth,dp=1.5ex,leftskip=0.3cm,rightskip=0.3cm]{structure}
\includegraphics[width=0.25\textwidth]{stockholmstad}
\end{beamercolorbox}
\begin{beamercolorbox}[wd=0.75\textwidth, dp=1.5ex,leftskip=0.3cm,rightskip=0.3cm plus1fil]{structure}
\usebeamerfont{page number in head/foot}
\hfill\insertdate %\newline
\vspace*{0.5em}
\hfill Sid \insertframenumber
\vspace*{0.3em}
\end{beamercolorbox}
}}
\title{标题}
\subtitle{副标题}
\date{\today}
%\date{\to}
\author{\xpinyin*{姓名}}
\institute{Made in \textit{USTC}}
\usecolortheme{sthlm}
\usefonttheme{sthlm}
%\titlegraphic{\hfill\includegraphics[height=1.5cm,width=\textwidth]{logo}}
\graphicspath{{figures/}}
\begin{document}
%\maketitle
\begin{frame}[plain]
\titlepage
\end{frame}
\begin{frame}{目录}
\setbeamertemplate{section in toc}[sections numbered]
% For longer presentations use hideallsubsections option
\begin{multicols}{2}
\tableofcontents[hideallsubsections]
\end{multicols}
\end{frame}
\input{body.tex}
\begin{frame}[allowframebreaks=0.9]{参考文献}
\bibliography{bib/ustc}
\bibliographystyle{apalike}
\end{frame}
{\setbeamercolor{palette primary}{fg=black, bg=yellow}
\begin{frame}[standout]
Thank you !
\end{frame}
}
\end{document}