-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathsettings.tex
More file actions
executable file
·59 lines (54 loc) · 2.75 KB
/
Copy pathsettings.tex
File metadata and controls
executable file
·59 lines (54 loc) · 2.75 KB
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
\let\leq\leqslant\let\geq\geqslant
\def\sgn{\mathop{\rm sgn}}
\everymath{\displaystyle}
\newcommand{\ee}{\mathrm e}
\newcommand{\dd}{\,\mathrm{d}}
\newcommand{\textop}[1]{\relax\ifmmode\mathop{\text{#1}}\else\text{#1}\fi}
%%%%%%定义两个列格式,数学与非数学模式
\newcolumntype{Y}{>{\centering\arraybackslash$}X<{$}}
\newcolumntype{Z}{>{\centering\arraybackslash}X}
\newcolumntype{L}{>{\raggedright\arraybackslash}X}
\newcolumntype{R}{>{\raggedleft\arraybackslash}X}
%定义绝对值
\newcommand\abs[1]{\left| #1 \right|}
\makeatletter
\newcommand{\rmnum}[1]{\romannumeral #1}
\newcommand{\Rmnum}[1]{\expandafter\@slowromancap\romannumeral #1@}
\makeatother
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\chaoda}{\fontsize{55pt}{\baselineskip}\selectfont}
\newcommand{\chuhao}{\fontsize{42pt}{\baselineskip}\selectfont} % 字号设置
\newcommand{\xiaochuhao}{\fontsize{36pt}{\baselineskip}\selectfont} % 字号设置
\newcommand{\yihao}{\fontsize{28pt}{\baselineskip}\selectfont} % 字号设置
\newcommand{\erhao}{\fontsize{21pt}{\baselineskip}\selectfont} % 字号设置
\newcommand{\xiaoerhao}{\fontsize{18pt}{\baselineskip}\selectfont} % 字号设置
\newcommand{\sanhao}{\fontsize{15.75pt}{\baselineskip}\selectfont} % 字号设置
\newcommand{\xiaosanhao}{\fontsize{15pt}{\baselineskip}\selectfont} % 字号设置
\newcommand{\sihao}{\fontsize{14pt}{\baselineskip}\selectfont} % 字号设置
\newcommand{\xiaosihao}{\fontsize{12pt}{14pt}\selectfont} % 字号设置
\newcommand{\wuhao}{\fontsize{10.5pt}{12.6pt}\selectfont} % 字号设置
\newcommand{\xiaowuhao}{\fontsize{9pt}{11pt}{\baselineskip}\selectfont} % 字号设置
\newcommand{\liuhao}{\fontsize{7.875pt}{\baselineskip}\selectfont} % 字号设置
\newcommand{\qihao}{\fontsize{5.25pt}{\baselineskip}\selectfont} % 字号设置
\everymath{\displaystyle}
\usepackage[thmmarks,amsmath]{ntheorem}
\theoremstyle{nonumberplain}
\theoremheaderfont{\bfseries}
\theorembodyfont{\normalfont}
{
\theoremstyle{nonumberplain}%不带标号
\theoremheaderfont{\bfseries}%证明题头加粗
\theorembodyfont{\normalfont}
% \theorembodyfont{\songti}%楷书字体
\theoremsymbol{\mbox{$\Box$}}%结束以后自动画出一个小方块
\newtheorem{solution}{解.}%名字叫做"solution",会在题头自动写上证明
}
{
\theoremstyle{nonumberplain}%不带标号
\theoremheaderfont{\bfseries}%证明题头加粗
\theorembodyfont{\normalfont}
% \theorembodyfont{\songti}%楷书字体
\theoremsymbol{\mbox{$\blacksquare$}}%结束以后自动画出一个小黑色方块
% \theoremsymbol{\mbox{$\Box$}}%结束以后自动画出一个小方块
\newtheorem{proof}{证明.}%名字叫做"proof",会在题头自动写上证明
}