-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.tex
155 lines (135 loc) · 4.82 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
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
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% This project aims to create the UFC template for presentation. %%
%% author: Maurício Moreira Neto - Doctoral student in Computer Science (MDCC) %%
%% contacts: %%
%% e-mail: [email protected] %%
%% linktree: https://linktr.ee/maumneto %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass{libs/SUSTech_format}
\usepackage{ctex}
\usepackage{tipa}
\usepackage{hologo}
\usepackage[normalem]{ulem}
\usepackage{fontawesome5}
\usepackage{minted}
\usepackage{tikz}
\usetikzlibrary{positioning, arrows, shapes, shapes.multipart, backgrounds, calc, automata}
\usepackage{algorithm2e}
\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}}
\newcommand\link[1]{\href{#1}{\faLink}}
\setbeamersize{description width=3em}
\newcommand{\nologo}{\setbeamertemplate{logo}{}}
% Inserting the preamble file with the packages
\input{libs/preamble.tex}
% Inserting the references file
\addbibresource{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}计算机系}
\author[CRA 计算机研究协会]{李子强 \inst{1} \and 樊青远 \inst{2}}
\institute[SUSTech]{\inst{1} CSE \and %
\inst{2} SME}
% Institute's Name
\institute[SUSTech]{
% email for contact
% \normalsize{\email{[email protected]}}
% \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}
\def\pdfLaTeX{pdf\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{chinese}
\input{summary}
% %% ---------------------------------------------------------------------------
% % Reference frames
% \begin{frame}[allowframebreaks]
% \frametitle{参考文献}
% \printbibliography[heading=none]
% \end{frame}
%% ---------------------------------------------------------------------------
% Final frame
{
\usebackgroundtemplate{\includegraphics[width=1.7\paperwidth]{libs/LOGO transparent.png}}
\begin{frame}{}
\centering
{\huge{\textbf{\example{Thanks!}}}\\}
% \vspace{1cm}
\begin{columns}
\column{.48\textwidth}
\begin{figure}
\includegraphics[scale=0.4]{latex_qq_group.png}
\end{figure}
\column{.48\textwidth}
\begin{center}
{\Large 计协交流社区 \\ \url{https://c.cra.moe/}}
\end{center}
\begin{figure}
\centering
\begin{minipage}[c]{.15\textwidth}
\centering%
问卷调查
\end{minipage}%
\begin{minipage}[c]{.8\textwidth}
\centering
\includegraphics[scale=0.3]{survey.jpeg}
\end{minipage}
\end{figure}
\end{columns}
\end{frame}
}
\end{document}