-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.tex
84 lines (62 loc) · 1.95 KB
/
main.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
\documentclass[oneside,a4paper,openany,11pt]{ctexbook}
\usepackage{geometry}
\geometry{ %% 调整页边距
verbose, % 提示信息
a4paper, % 纸张大小
left=2.0cm, % 左边距
right=2.0cm, % 右边距
top=2.5cm, % 上边距
bottom=2.2cm % 下边距
}
\usepackage{amsmath,amssymb,amsfonts,amsthm}
\newcommand*{\dif}{\mathop{}\!\mathrm{d}} % 定义微分算子
\usepackage{graphicx}
\ctexset{%
section/format += \raggedright
}
\usepackage[version=4]{mhchem}
\usepackage{siunitx}
% \usepackage{tikz}
\usepackage{makeidx} % 调用 makeidx 宏包,用来处理索引
\makeindex % 开启索引的收集
\bibliographystyle{plain} % 指定参考文献样式为 plain
\usepackage[breaklinks,colorlinks,linkcolor=black,citecolor=black,urlcolor=black]{hyperref}
%%%%% url自动断词换行 %%%%%
\makeatletter
\def\UrlAlphabet{%
\do\a\do\b\do\c\do\d\do\e\do\f\do\g\do\h\do\i\do\j%
\do\k\do\l\do\m\do\n\do\o\do\p\do\q\do\r\do\s\do\t%
\do\u\do\v\do\w\do\x\do\y\do\z\do\A\do\B\do\C\do\D%
\do\E\do\F\do\G\do\H\do\I\do\J\do\K\do\L\do\M\do\N%
\do\O\do\P\do\Q\do\R\do\S\do\T\do\U\do\V\do\W\do\X%
\do\Y\do\Z}
\def\UrlDigits{\do\1\do\2\do\3\do\4\do\5\do\6\do\7\do\8\do\9\do\0}
\g@addto@macro{\UrlBreaks}{\UrlOrds}
\g@addto@macro{\UrlBreaks}{\UrlAlphabet}
\g@addto@macro{\UrlBreaks}{\UrlDigits}
\makeatother
%%%%% url自动断词换行 %%%%%
\title{《固体物理学》习题解答}
\author{祝茗}
\date{\today}
\begin{document}
\frontmatter
\maketitle
\include{pages/preface}
\tableofcontents
\mainmatter
\include{pages/chapter1}
\include{pages/chapter2}
\include{pages/chapter3}
\include{pages/chapter4}
\include{pages/chapter5}
\include{pages/chapter6}
\include{pages/chapter7}
\appendix
% \include{pages/appendix}
% \include{pages/appendix}
\backmatter
% \include{epilogue} % 后记epilogue.tex
% \bibliography{reference}
\printindex % 利用 makeindex 工具生成索引
\end{document}