-
Notifications
You must be signed in to change notification settings - Fork 1
/
premable.tex
60 lines (48 loc) · 1.42 KB
/
premable.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
\usepackage[UTF8]{ctex}
\usepackage{fontspec}
\setCJKmainfont{SourceHanSerifCN-Regular}[
Path = fonts/ ,
Extension = .otf ,
UprightFont = SourceHanSerifCN-Regular,
BoldFont = SourceHanSerifCN-Bold,
]
\setCJKsansfont{SourceHanSansCN-Regular}[
Path = fonts/ ,
Extension = .otf ,
UprightFont = SourceHanSansCN-Regular,
BoldFont = SourceHanSansCN-Bold,
]
\usepackage{fullpage}
\usepackage{multicol}
\usepackage{color}
\usepackage{hyperref}
\usepackage{comment}
\usepackage{caption}
\usepackage{subcaption}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{amsthm}
\usepackage{bm}
\usepackage{mathtools}
\newtheoremstyle{example}% name
{3pt}% Space above
{3pt}% Space below
{}% Body font
{}% Indent amount (empty = no indent, \parindent = para indent)
{\normalfont}% Thm head font
{}% Punctuation after thm head
{1em}% Space after thm head: " " = normal interword space;
% \newline = linebreak
{\textsf{\thmname{#1}\thmnumber{#2}\thmnote{#3}}}% Thm head spec (can be left empty, meaning `normal')
\theoremstyle{example}
\newtheorem{example}{例}
\renewenvironment{proof}{\noindent\textsf{证明}\quad}{\hfill $\square$\par}
\newtheorem{lemma}{引理}
\usepackage{algorithm}
\usepackage{algpseudocode}
\floatname{algorithm}{算法}
\renewcommand{\algorithmicrequire}{\textsf{输入:}}
\renewcommand{\algorithmicensure}{\textsf{输出:}}
\renewcommand{\solutiontitle}{}
\usepackage{tikz}
\usepackage{minted}