forked from alick/thulib-latex-talk
-
Notifications
You must be signed in to change notification settings - Fork 77
/
latex-talk.tex
191 lines (159 loc) · 5.56 KB
/
latex-talk.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
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
% !TeX encoding = UTF-8
% !TeX program = latexmk
\documentclass[xcolor=table,dvipsnames,svgnames,aspectratio=169,fontset=ubuntu]{ctexbeamer}
% Author: alick<[email protected]>
% Author: justin <[email protected]>
% Author: Shengqi Chen <[email protected]>
% This file is modified from a solution template for:
% - Giving a talk on some subject.
% - The talk is between 15min and 45min long.
% - Style is ornate.
% Copyright 2004 by Till Tantau <[email protected]>.
%
% In principle, this file can be redistributed and/or modified under
% the terms of the GNU Public License, version 2.
%
% However, this file is supposed to be a template to be modified
% for your own needs. For this reason, if you use this file as a
% template and not specifically distribute it as part of a another
% package/program, I grant the extra permission to freely copy and
% modify this file as you see fit and even to delete this copyright
% notice.
\usepackage{tikz}
\graphicspath{{fig/}}
\mode<presentation>
{
\usetheme{material}
\renewcommand{\MaterialIcon}{tuna.pdf}
\usefonttheme[onlymath]{serif}
\setbeamercovered{transparent=5}
\setbeamercolor*{structure}{fg=primaryD}
\setbeamertemplate{itemize item}{\raise1.25pt\hbox{\tikz\draw[fill=fg] (0,0) circle (.3ex);}}
\setbeamertemplate{itemize subitem}{\color{fg}\tiny\raise1.25pt\hbox{\donotcoloroutermaths$\blacktriangleright$}}
\setbeamertemplate{itemize subsubitem}{\raise2.5pt\hbox{\tikz\draw[fill=fg] (0,0) rectangle (.7ex, .2ex);}}
\setlength\leftmargini{1.4em}
\setlength\leftmarginii{1.4em}
\setlength\leftmarginiii{1.4em}
\setbeamersize{description width=0.24cm}
}
\usepackage{mflogo} % for \MF, \MP
\usepackage{graphicx}
\usepackage{xspace}
\usepackage{amsmath}
\usepackage{unicode-math}
\usepackage{calligra}
\usepackage{fontspec}
\usepackage{ccicons}
\usepackage{hologo}
\usepackage{colortbl}
\usepackage{pstricks}
\usepackage{pst-node}
\usepackage{hyperxmp}
\usepackage{booktabs}
\usepackage{qrcode}
\usepackage{listings}
\usepackage{tipa}
\usepackage{xpinyin}
\usepackage{multicol}
\usepackage{datetime2}
\usepackage[normalem]{ulem}
\usepackage{fontawesome5}
\usepackage{hyperref}
\usetikzlibrary{arrows,intersections}
\usepackage[siunitx]{circuitikz}
\usepackage{animate}
\pdfstringdefDisableCommands{
\let\\\relax
\let\quad\relax
\let\hspace\@gobble
}
\input{definitions}
\newcommand\link[1]{\href{#1}{\faLink}}
\newcommand\pkg[1]{\texttt{#1}}
% From thuthesis user guide.
\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}}
\lstset{
language=[LaTeX]TeX,
basicstyle=\ttfamily\footnotesize,
tabsize=2,
keywordstyle=\bfseries\ttfamily\color{primaryD},
commentstyle=\sl\ttfamily\color[RGB]{100,100,100},
stringstyle=\ttfamily\color[RGB]{50,50,50},
extendedchars=true,
breaklines=true,
}
\lstdefinestyle{style@inline}{
basicstyle = \ttfamily,
keepspaces = true
}
\lstMakeShortInline[style=style@inline]|
\title{如何使用 \LaTeX 排版论文}
\author[陈晟祺]{\vspace{1em} 陈晟祺\\ \texttt{[email protected]}}
\institute{清华大学 TUNA 协会}
\date[清华大学图书馆培训讲座]{\the\year 年 \the\month 月}
\subject{LaTeX, 论文排版, ThuThesis}
% Delete this, if you do not want the table of contents to pop up at
% the beginning of each subsection:
\AtBeginSubsection[]{\printcurrenttoc}
\hypersetup{
pdfsubject = {清华大学图书馆培训讲座},
pdfauthor = {Shengqi Chen, Justin Wong, Alick Zhao},
pdfcopyright = {Copyright (C) 2015-\the\year by Alick Zhao, Justin Wong and Shengqi Chen. Licensed under CC-BY-SA 4.0. Some rights reserved.},
pdflicenseurl = {http://creativecommons.org/licenses/by-sa/4.0/},
unicode = true,
psdextra = true,
pdfdisplaydoctitle = true
}
\logo{\includegraphics[height=.15\textheight]{libicon.pdf}}
\begin{document}
\begin{frame}
\titlepage
\end{frame}
\begin{frame}{关于}
\begin{columns}[c]
\begin{column}{.7\textwidth}
\begin{itemize}
\item 最后更新:\texttt{\DTMnow}
\item 本幻灯片源码:
\begin{itemize}
\item \url{\githublink}
\end{itemize}
\item 本幻灯片参考:
\begin{itemize}
\item \url{http://github.com/alick/fad-texlive-talk}
\item \url{https://github.com/stone-zeng/latex-talk}
\item \ThuThesis{} 使用示例文档 v\ThuThesisVersion
\end{itemize}
\item 本幻灯片下载(实时更新):
\begin{itemize}
\item GitHub Releases \link{\githublink/releases}
\item 校内镜像 \link{\thudownloadlink}
\end{itemize}
\item 许可证:CC BY-SA 4.0 Unported \ccbysa
\end{itemize}
\end{column}
\begin{column}{.3\textwidth}
\qrcode[hyperlink, height=4cm]{\thudownloadlink}
\end{column}
\end{columns}
\end{frame}
\begin{frame}{目录}
\tableofcontents
% You might wish to add the option [pausesections]
\end{frame}
\include{content/01.introduction}
\include{content/02.basis}
\include{content/03.thesis}
\include{content/04.summary}
\begin{frame}
\begin{center}
{\Huge\calligra Thank you!} %\\[0.5em]
% 烦请填写调查问卷(请稍后查看雨课堂公告)\\
% \url{\surveylink} \\[1em]
% \qrcode[hyperlink, height=3.5cm]{\surveylink}
\end{center}
\end{frame}
\end{document}
%%% vim: set ts=2 sts=2 sw=2 isk+=\: et tw=80 cc=+1 formatoptions+=mM: