-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathhkust-beamer.tex
157 lines (130 loc) · 5.5 KB
/
hkust-beamer.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
\documentclass[UTF8, xcolor=table]{beamer}
%\usepackage{fontspec}
%\setsansfont{宋体}
%\input{setup/package.tex}
\usepackage[BoldFont,SlantFont]{xeCJK}
\setCJKmainfont[BoldFont={SimHei},ItalicFont={KaiTi}]{SimSun}
\setCJKsansfont{SimHei}
\usepackage{latexsym,amssymb,amsmath,amsbsy,amsopn,amstext,xcolor,multicol}
\usepackage{graphicx,wrapfig,fancybox}
\usepackage{pgf,pgfarrows,pgfnodes,pgfautomata,pgfheaps,pgfshade}
\usepackage{hkust-beamer}
% \usepackage{seu}
%\usepackage[backend=bibtex,style=IEERE,sorting=none]{biblatex} % [参考文献格式](https://www.sharelatex.com/blog/2013/07/31/getting-started-with-biblatex.html)
\usepackage[backend=bibtex,sorting=none]{biblatex} % [参考文献格式](https://www.sharelatex.com/blog/2013/07/31/getting-started-with-biblatex.html) %mac IEEE not found
\usepackage{array}
\usepackage{bm}
\usepackage{caption}
\usepackage[caption=false,font=scriptsize]{subfig}
\usepackage{multirow}
\usepackage{booktabs}
\usepackage{tikz}
\usepackage{tikzscale}
\usepackage{animate}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%---bayes--%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{amsfonts}
\usepackage{amsmath,amssymb}
\usepackage{systeme,mathtools}
\usepackage{verbatim}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\usepackage{times} %与上面的冲突,加上这个 粗体斜体就失效
%\usepackage{mathptmx}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%color%%%%%%%
\definecolor{npu-blue}{RGB}{0, 51, 102}
\definecolor{npu-blue-gray}{RGB}{153,102,0}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\defbibheading{bibliography}[\bibname]{} %avoid printbibliography 自动生成目录
\addbibresource{ref/papers-bib-in-google.bib}
\addbibresource{ref/chinese-ref.bib}
%\setbeamertemplate{bibliography item}{\insertbiblabel} %将列表中默认的丑陋的icon 改成数字,或者下面这个也行
\setbeamertemplate{bibliography item}[text] % [ref](http://tex.stackexchange.com/questions/68080/beamer-bibliography-icon)
%\setbeamertemplate{footline}[frame number]{}
%\setframeofframes{of}
\usepackage{boxedminipage} %for: bvh border
\def\fourgraphicswidth{0.35} %0.3\textwidth
\usepackage{algorithm} %%format of the algorithm
\usepackage{algpseudocode}
\floatname{algorithm}{算法}
\renewcommand{\algorithmicrequire}{\textbf{输入:}} %%Use Input in the format of Algorithm
\renewcommand{\algorithmicensure}{\textbf{输出:}} %%UseOutput in the format of Algorithm
%\algrenewcommand{\algorithmiccomment}[1]{\hskip3em $\rightarrow$ #1}
\algrenewcommand{\algorithmiccomment}[1]{ $//$ #1}
\usepackage{listings}
\renewcommand\lstlistingname{代码}
\renewcommand\lstlistlistingname{代码}
\lstset{framexleftmargin=1.4em,
xleftmargin=1.8em,
basicstyle=\ttfamily\small,
%frame=shadowbox, numberstyle=\tiny, breaklines=true,
frame=single,
numberstyle=\tiny, breaklines=true,
keywordstyle=\color{npu-blue}\bfseries,
%commentstyle=\color{red!50!green!50!blue!50},
rulesepcolor=\color{npu-blue-gray},
numbers=none,fontadjust=true}
\lstdefinelanguage{shader}{morekeywords={uniform, layout, uniform, vec2, vec3, vec4, in, out, gl_Position, dot, flat, int ,float, gl_VertexID, xyz, w, x, y, z, location, version, sampler2DRect, bgr, gl_FragData, texture2DRect, gl_TexCoord,for,xy},morecomment=[l]{//}}
%\setbeameroption{show notes} %un-comment to see the notes
%\usepackage{pgfpages}
%\renewcommand\pgfsetupphysicalpagesizes{%
% \pdfpagewidth\pgfphysicalwidth\pdfpageheight\pgfphysicalheight%
%}
%\setbeameroption{show notes on second screen}
\begin{document}
\setbeamerfont{footnote}{size=\tiny}
\setbeamerfont{caption}{size=\scriptsize}
\setbeamertemplate{caption}[numbered]
\setbeamerfont{subsection in toc}{size=\footnotesize}
\renewcommand*{\bibfont}{\footnotesize}
\graphicspath{{figures/}}
\title{The amazing title of your presentation}
%\author{枫煌天凌}
% \author[唐磊]{(申请清华大学工学硕士学位论文答辩报告)\vskip 20pt学~~~~~生:唐~~~~~磊~~~~~~~~\vskip 5pt 指导教师:雍~俊~海~教授}
% \institute[清华大学~软件学院~CG~\&~CAD~研究所]{\small \vskip 38pt计算机辅助设计图形学与可视化研究所}
% \author[R. Song]{
% Bradley Reaves, Nolen Scaife, Dave Tian, Logan Blue, \\
% Patrick Traynor and Kevin R.B. Butler \\\medskip
% {\small {\{reaves, scaife, daveti, bluel\}@ufl.edu}} \\
% {\small {\{traynor, butler\}@cise.ufl.edu}}}
\author[author]{
(subtitle)
\vskip 20pt Reporter~~: Author ~~~~~~~~~~~
\vskip 5 pt Supervisor: Prof First name} % ~是占位符
\institute[System Hub]{\small \vskip 60pt Hub-name Hub Thrust of Thrust-name}
% \date{\small \vskip -17pt二〇一五年六月}
%\date{\today}NWPU
\date[\today]{\small \vskip -17pt
\today}
%%%%%%%%%%%%%%%%----校徽-----%%%%%%%%%%%%%%%%%%
\frame{
\vspace{-15mm}
\titlepage
\vspace{-43mm}
\centering
\begin{figure}[c]
\includegraphics[width=1 cm] {source/pure-logo.pdf}
\end{figure}
}
% \beign{picture}(1,1)
%\put(6,8){\includegraphics[width=0.15\linewidth]{Tsinghua_University_Logo.eps}}
%\end{picture}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section*{Table of Contents}
\frame {
\frametitle{\secname}
% \begin{multicols}{2}
\tableofcontents[sections={<1-5>}]
%\end{multicols}
\note{
I will tell balabala.
}
}
\AtBeginSubsection[] {
\frame<handout:0> {
\frametitle{Table of Contents}
\tableofcontents[current,currentsubsection,sections={<1-4>}]
}
\addtocounter{framenumber}{-1} %目录页不计算页码
}
\include{ppt01}
\include{ppt02}
\end{document}