-
Notifications
You must be signed in to change notification settings - Fork 37
/
settings.tex
119 lines (99 loc) · 2.85 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
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
\let\le\leqslant
\let\ge\geqslant
\let\leq\le
\let\geq\ge
\usepackage[free-standing-units]{siunitx}
\usepackage{makeidx}
\makeindex
\numberwithin{figure}{section}
\numberwithin{table}{section}
\numberwithin{equation}{section}
\usepackage{bm}
% \usepackage{gbt7714}
% \bibliographystyle{gbt7714-numerical}
\usepackage{multirow}
\newcommand{\ee}{\mathrm e}
\newcommand{\dd}{\mathop{}\!\mathrm d}
\newcommand{\textop}[1]{\relax\ifmmode\mathop{\text{#1}}\else\text{#1}\fi}
\usepackage{tabularx,booktabs,multirow}
%%%%%%定义两个列格式,数学与非数学模式
\newcolumntype{Y}{>{\centering\arraybackslash$}X<{$}}
\newcolumntype{Z}{>{\centering\arraybackslash}X}
\newcolumntype{L}{>{\raggedright\arraybackslash}X}
\newcolumntype{R}{>{\raggedleft\arraybackslash}X}
\newenvironment{xiti}{\begin{center}
\textbf{\zihao{-3}\ding{45}\,习~~题\quad\thesection}
\addcontentsline{toc}{subsection}{习题 \thesection}
\end{center}
\begin{enumerate}[leftmargin=0.5cm]
}{\end{enumerate}}
\newenvironment{answer}{\begin{center}\stepcounter{section}
\textbf{\zihao{-3}\ding{45}\,习~~题\quad\thesection}
\end{center}
\begin{enumerate}[leftmargin=0.5cm]
}{\end{enumerate}}
\usetikzlibrary{decorations.pathreplacing,decorations.pathmorphing,arrows.meta,patterns}
\newcommand{\TT}{^{\mathrm T}}
\allowdisplaybreaks[4]
\usepackage{subcaption}
% \newcommand\hmmax{0}
% \newcommand\bmmax{0}
\DeclareMathAlphabet{\mathbbm}{U}{bbm}{m}{n}
\usepackage{bm}
\DeclareMathOperator{\Cov}{Cov}
\DeclareMathOperator{\Corr}{Corr}
\DeclareMathOperator{\Var}{Var}
\let\heavymath\undefined
\let\Bbbk\undefined
\let\emptyset\varnothing
\let\dotsc\cdots
\newcommand\MR{\mathbb R}
\let\olim\lim
\def\lim{\olim\limits}
\def\Binom#1#2{
\Big(\begin{array}{@{}c@{}}
#1\\#2
\end{array}\Big)
}
\setmainfont{Times New Roman}
\IfFileExists{mtpro2.sty}{
\usepackage[zswash,amsbb,straightbraces]{mtpro2}
}{\usepackage{amssymb}}
\usepackage{varwidth}
\usepackage{zhlineskip}
\usepackage[Symbol]{upgreek}
\usepackage{longtable}
\usepackage{lscape}
\usepackage{diagbox}
\let\pi\uppi
\let\vOmega\Omega
\let\Omega\varOmega
\belowrulesep0pt
\aboverulesep0pt
\setcounter{MaxMatrixCols}{25}
\edef\closure#1{%
{}\mkern2mu\overline{\mkern-2mu#1}
}
\renewcommand\bar{\closure}
\renewcommand\overline{\closure}
\newcommand\BB{\mathrm B}
\setCJKmainfont[BoldFont={FZHei-B01},ItalicFont={FZKai-Z03}]{FZShuSong-Z01}
\let\originalleft\left
\let\originalright\right
\renewcommand{\left}{\mathopen{}\mathclose\bgroup\originalleft}
\renewcommand{\right}{\aftergroup\egroup\originalright}
\newcommand\ii{\mathrm i}
\usetikzlibrary{positioning}
\makeatletter
\newcommand{\rmnum}[1]{\romannumeral #1}
\newcommand{\Rmnum}[1]{\expandafter\@slowromancap\romannumeral #1@}
\makeatother
\let\Theta\varTheta
\IfFontExistsTF{汉仪大宋简}{
\newCJKfontfamily\hyds{汉仪大宋简}
}{
\let\hyds\rmfamily
}
\let\bfseries\hyds
\let\Phi\varPhi
%\let\ldots\cdots