forked from tuna/thulib-latex-talk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.tex
120 lines (104 loc) · 3.66 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
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
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% This project aims to create the UFC template for presentation. %%
%% author: Maurício Moreira Neto - Doctoral student in Computer Science (MDCC) %%
%% contacts: %%
%% e-mail: maumneto@ufc.br %%
%% linktree: https://linktr.ee/maumneto %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass{libs/SUSTech_format}
\usepackage{ctex}
\usepackage{tipa}
\usepackage{hologo}
\graphicspath{{fig/}}
\def\rawcmd#1{\texttt{\color{DarkBlue}\footnotesize #1}}
\def\cmd#1{\texttt{\color{DarkBlue}\footnotesize $\backslash$#1}}
\def\env#1{\texttt{\color{DarkBlue}\footnotesize #1}}
\def\cmdxmp#1#2#3{\small{\texttt{\color{DarkBlue}$\backslash$#1}\{#2\}\hspace{1em}\\ $\Rightarrow$\hspace{1em} {#3}\par\vskip1em}}
\newcommand\pkg[1]{\texttt{#1}}
\setbeamersize{description width=3em}
% Inserting the preamble file with the packages
\input{libs/preamble.tex}
% Inserting the references file
\bibliography{references.bib}
\usefonttheme{serif,professionalfonts}
\lstdefinestyle{style@inline}{
basicstyle = \ttfamily,
keepspaces = true
}
\lstMakeShortInline[style=style@inline]|
% Title
\title[\LaTeX 入门]{\huge \textbf{\LaTeX 入门}}
% Subtitle
% \subtitle{Subtitle of the Presentation}
% Author of the presentation
\author{李子强 \hspace{0.5em}计算机系}
% Institute's Name
\institute[SUSTech]{
% email for contact
% \normalsize{\email{lizq2019@mail.sustech.edu.cn}}
% \newline
% Department Name
% \department{Name of the Department}
% \newline
% university name
% \SUSTech
\normalsize
南方科技大学
}
% date of the presentation
\date{2021年3月31日}
\def\texlive{\TeX \ Live}
\def\TL{\texlive}
\def\mactex{Mac\TeX}
\def\BibTeX{Bib\TeX}
\def\ThuThesis{ThuThesis}
\def\XeLaTeX{\hologo{Xe}\kern-.13em\LaTeX}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Start Document of the Presentation %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
% insert the code style
\input{libs/code_style}
%% ---------------------------------------------------------------------------
% First frame (with tile, subtitle, ...)
% \begin{frame}{}
% %% Putting the background image in the frames
% \usebackgroundtemplate{\includegraphics[width=1.7\paperwidth]{libs/LOGO transparent.png}}
% \maketitle
% \end{frame}
{
\usebackgroundtemplate{\includegraphics[width=1.7\paperwidth]{libs/LOGO transparent.png}}
\begin{frame}
\maketitle
\end{frame}
}
%% ---------------------------------------------------------------------------
% Second frame
\begin{frame}{目录}
\begin{multicols}{2}
\tableofcontents
\end{multicols}
\end{frame}
\input{body}
\input{plugin}
\input{summary}
% %% ---------------------------------------------------------------------------
% % Reference frames
% \begin{frame}[allowframebreaks]
% \frametitle{References}
% \printbibliography
% \end{frame}
%% ---------------------------------------------------------------------------
% Final frame
{
\usebackgroundtemplate{\includegraphics[width=1.7\paperwidth]{libs/LOGO transparent.png}}
\begin{frame}{}
\centering
\huge{\textbf{\example{Thanks!}}}\\
\vspace{1cm}
\begin{figure}
\includegraphics[scale=0.4]{latex_qq_group.png}
\end{figure}
\end{frame}
}
\end{document}