-
Notifications
You must be signed in to change notification settings - Fork 25
/
settings.tex
55 lines (42 loc) · 1.63 KB
/
settings.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
\usepackage{amsfonts,amssymb}
\usepackage{amsmath}
\DeclareMathOperator{\argmin}{argmin}
\usepackage[mathbf=sym,math-style=TeX]{unicode-math}
%\setmathfont{texgyrepagella-math.otf}[math-style=TeX]
%\usepackage{bm}
\usepackage{extarrows}
% hyperlink
\usepackage[colorlinks=true,hidelinks]{hyperref}
\def\equationautorefname~#1\null{公式(#1)\null}%
\def\footnoteautorefname{脚注}%
\def\itemautorefname~#1\null{第#1项\null}%
\def\figureautorefname{图}%
\def\tableautorefname{表}%
\def\partautorefname~#1\null{第#1部分\null}%
\def\appendixautorefname{附录}%
\def\chapterautorefname~#1\null{第#1章\null}%
\def\sectionautorefname~#1\null{第#1节\null}%
\def\subsectionautorefname~#1\null{第#1小节\null}%
\def\subsubsectionautorefname~#1\null{第#1小小节\null}%
\def\paragraphautorefname~#1\null{第#1段\null}%
\def\subparagraphautorefname~#1\null{第#1小段\null}%
\def\theoremautorefname{定理}%
\def\pageautorefname~#1\null{第~#1~页\null}%
\RequirePackage[nameinlink]{cleveref} % 'nameinlink' option emulates look of \autoref
\crefname{cvcounter}{Program List}{Program Lists}
\crefrangeformat{equation}{公式~(#3#1#4) 至~(#5#2#6)}
\crefmultiformat{equation}{公式~(#2#1#3)}{ 和~(#2#1#3)}{, (#2#1#3)}{ 和~(#2#1#3)}
%\crefrangemultiformat{equation}{公式~(#2#1#3)}{, (#2#1#3)}{, (#2#1#3)}{和~(#2#1#3)}
\crefname{equation}{式}{公式}
\definecolor{mygreen}{rgb}{0,0.6,0}
\definecolor{mygray}{rgb}{0.5,0.5,0.5}
\definecolor{mymauve}{rgb}{0.58,0,0.82}
\xeCJKsetup {
CheckSingle = true,
AutoFallBack = true,
AutoFakeBold = false,
AutoFakeSlant = false,
CJKecglue = {~},
PunctStyle = kaiming,
KaiMingPunct+ = {:;},
}