-
Notifications
You must be signed in to change notification settings - Fork 12
/
工程师视角下的高中数学-main.tex
270 lines (221 loc) · 7.82 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
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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
\documentclass[twoside]{book}
\usepackage[inner=2cm,outer=1.5cm]{geometry}
%\geometry{b5paper,left=1cm,right=1cm,top=1.5cm,bottom=1.5cm}
\geometry{b5paper,top=1.5cm,bottom=1.5cm}
\newif\ifteach
\newif\ifte
\newif\ifChuBanbook
\teachtrue
\tetrue
%\teachfalse
\usepackage{amsthm}
\usepackage{ctex}
\usepackage{amsmath}
\usepackage{yhmath}
\usepackage{amssymb}
\usepackage{extarrows}
\usepackage{enumerate}
\usepackage{enumitem}
\usepackage{bm} % 黑体 斜体
%\usepackage{paralist}
\usepackage{fancyhdr}
\usepackage{datetime}
\usepackage{graphicx}
\usepackage{wrapfig}
\usepackage{pifont} %脚注改带圈数字必须
\usepackage{fontspec}
\usepackage{listings} % 代码高亮
\usepackage{diagbox} % 表格斜线
\usepackage{esint} %
\usepackage{bigints}
\usepackage{tcolorbox}
\usepackage{ulem}
\usepackage[all]{xy}
\usepackage{mathrsfs}
\usepackage{float}
\usepackage{hyperref}
\usepackage{xfp}
\usepackage{cases}
\special{dvipdfmx:config z 0}
% \everymath{\displaystyle} % 全文的行内公式都显示行间公式效果
% \setCJKmainfont[BoldFont=SimHei]{SimSun}
%\setCJKmainfont[BoldFont=SourceHanSansCN-Bold]{SourceHanSerifCN-Regular}
%\setCJKmainfont[BoldFont=OPPOSans-B]{SourceHanSerifCN-Regular}
%\newCJKfontfamily\KaiTifont{gkai00mp.ttf}
%\newCJKfontfamily\KaiTifont{楷体}
% \usepackage{diagbox} % 表头斜线
\usepackage[hang,flushmargin,perpage]{footmisc}
\usepackage{tikz}
\usetikzlibrary{calc,matrix}
\usepackage{fontawesome5}
%\usepackage{upgreek} % \uptau
%\usepackage{dashrule} % &\hdashrule{5cm}{1pt}{1pt} \\
\newcommand*{\mycircled}[1]{\lower.7ex\hbox{\tikz\draw (0pt, 0pt)%
circle (.4em) node {\makebox[0.5em][c]{\small #1}};}}
% \usepackage{color}
% \usepackage{draftwatermark}
%\let\itemize\compactitem
%\let\enditemize\endcompactitem
%\let\enumerate\compactenum
%\let\endenumerate\endcompactenum
%\let\description\compactdesc
%\let\enddescription\endcompactdesc
%\setlength{\parindent}{0pt}
%\setlength{\headheight}{15pt} % 非必须
\renewcommand{\thetable}{\thesection{}.\arabic{table}}
\renewcommand{\thefigure}{\thesection{}.\arabic{table}}
%\renewcommand{\thefootnote}{} 脚注全没编号了
%\usepackage{setspace} %导致行距膨胀
%\usepackage{subfig}
\usepackage{subcaption}
%\usepackage{subfigure}
\usepackage{tocloft}
\renewcommand{\cftchapleader}{\cftdotfill{\cftdotsep}} %目录 章后面有黑点
\renewcommand{\cftsecleader}{\cftdotfill{\cftdotsep}} %目录 节后面有黑点
% 依赖 tocloft
%\renewcommand{\today}{\number\year 年 \number\month 月 \number\day 日}
\renewcommand{\today}{\number\year-\number\month-\number\day}
% 脚注数字带圈
\renewcommand{\thefootnote}{\ding{\numexpr171+\value{footnote}}}
%\renewcommand{\thefootnote}{\textcircled{\@arabic\c@footnote}}
\newcommand{\myfootnote}[1]{
\renewcommand{\thefootnote}{}
\footnotetext{\scriptsize#1}
% \renewcommand{\thefootnote}{\arabic{footnote}}
\renewcommand{\thefootnote}{\ding{\numexpr171+\value{footnote}}}
}
\newcommand\parallelogram
{\mathord{\text{
\tikz[baseline]
\draw (0em, .1ex) -- ++(0.8em, 0ex)
-- ++(0.2em, 1.2ex) -- ++(-0.8em, 0ex)
-- cycle;} } }
%%%%%%%%%%%
\renewcommand{\chaptermark}[1]{\markboth{第\,\thechapter\,章\quad #1}{}}
\renewcommand{\sectionmark}[1]{\markright{\thesection\ \ #1}{}}
%\pagestyle{fancy}
\pagestyle{empty}
\fancyhead{} % clear all fields
\fancyhead[LO]{\small \Bookname}
\fancyhead[RE]{\small \Bookname}
%\fancyhead[C]{\small \rightmark}
\fancyhead[CO]{\small \rightmark}
\fancyhead[CE]{\small \leftmark}
%\fancyhead[CE]{\Bookname}
%\fancyhead[CO]{\rightmark}
\fancyhead[RO]{\textbf{\thepage}}
\fancyhead[LE]{\textbf{\thepage}}
%\fancyfoot{}
\fancyfoot[L]{本PDF文件免费,下载地址https://github.com/FrogGuaGuaGua/HighSchoolMathematics}
\fancyfoot[C]{}
%\fancyfoot[C]{\rightmark}
%\lhead{}
%\lfoot{{\small }}
%\chead{}
%\rhead{工程师视角下的高中数学 \quad 作者:蒋力夫\quad 修订日期:\today}
%\rhead{\quad 作者:蒋力夫\quad 修订日期:\today}
%\rfoot{{\scriptsize \quad 作者:蒋力夫\quad 修订日期:\today}}
%\let\itemize\compactitem
%\let\enditemize\endcompactitem
%\let\enumerate\compactenum
%\let\endenumerate\endcompactenum
%\let\description\compactdesc
%\let\enddescription\endcompactdesc
\newcommand{\q}{\quad}
\renewcommand{\vec}{\overrightarrow}
\renewcommand{\Re}{\mathrm{Re}}
\renewcommand{\Im}{\mathrm{Im}}
\newcommand{\e}{\mathrm{e}}
\renewcommand{\d}{\mathrm{d}}
\renewcommand{\i}{\mathrm{i}}
\renewcommand{\mod}{\ \mathrm{mod}\ }
\newcommand{\disp}{\displaystyle}
\let\leqstore\leq
\let\geqstore\geq
\renewcommand\leq\leqslant
\renewcommand\geq\geqslant
\usepackage[center]{titlesec} %chapter1修改为第1章
\titleformat{\chapter}{\raggedright\Huge\bfseries}{第\,\thechapter\,章}{1em}{}
\usepackage[toc]{multitoc} %双栏
\setcounter{tocdepth}{1} % 设置目录深度
\AtBeginDocument{
\addtolength{\abovedisplayskip}{-1ex}
\addtolength{\abovedisplayshortskip}{-1ex}
\addtolength{\belowdisplayskip}{-1ex}
\addtolength{\belowdisplayshortskip}{-1ex}
}
\linespread{1.4}
\setlength{\floatsep}{5pt plus 2pt minus 2pt}
\setlength{\textfloatsep}{5pt plus 2pt minus 2pt}
\setlength{\intextsep}{5pt plus 2pt minus 2pt}
%\numberwithin{equation}{section}
\allowdisplaybreaks
%\maketitle
\columnseprule=0.5pt
\newcommand{\Bookname}{工程师视角下的高中数学}
\newcommand{\CopyrightStatementChap}{当前版本:\today.\quad 蒋力夫版权所有,销售电子版或复印版将被追究法律责任!}
\title{\Bookname}
\author{蒋力夫}
\lstset{
backgroundcolor = \color{gray!15}, % 背景色:灰色
basicstyle = \small\ttfamily, % 基本样式 + 小号字体
rulesepcolor= \color{black}, % 代码块边框颜色
breaklines = true, % 代码过长则换行
% numbers = left, % 行号在左侧显示
numberstyle = \small, % 行号字体
keywordstyle = \color{blue}, % 关键字颜色
commentstyle =\color{green!100}, % 注释颜色
stringstyle = \color{red!100}, % 字符串颜色
frame = single, % 用方框框住代码块
showspaces = false, % 不显示空格
columns = fixed, % 字间距固定
language=matlab
}
\renewcommand{\labelitemi}{$\bullet$}
\renewcommand{\labelitemii}{$\triangleright$}
\newcommand{\myenumleftmargin}{0}
\newcommand{\myenumitempsep}{6}
\newcommand{\myenumitemindent}{57}
\newcommand{\myitemleftmargin}{-2}
\newcommand{\myitemitempsep}{6}
\newcommand{\myitemtopsep}{3}
%\includeonly{教案-前言}
%\includeonly{教案-函数}
%\includeonly{教案-排列组合}
%\includeonly{教案-概率论}
%\includeonly{教案-复数与三角函数}
%\includeonly{教案-解三角形与向量}
%\includeonly{教案-导数与积分}
%\includeonly{教案-不等式}
%\includeonly{教案-复数与三角函数,教案-数列}
%\includeonly{教案-数列}
%\includeonly{教案-解析几何}
%\includeonly{教案-矩阵和行列式}
%\includeonly{教案-小考点}
%%\includeonly{教案-进一步探索}
%\includeonly{教案-Latex排版入门}
\begin{document}
\numberwithin{equation}{chapter}
\columnseprule=0.5pt
编译日期:\today
\tableofcontents
\thispagestyle{empty}
% \include{教案-前言}
\pagestyle{fancy}
\setcounter{page}{1}
\include{教案-函数}
\include{教案-排列组合}
\include{教案-概率论}
\include{教案-复数与三角函数}
\include{教案-解三角形与向量}
\include{教案-导数与积分}
\include{教案-不等式}
\include{教案-数列} % 包含\lstset
\include{教案-解析几何}
\include{教案-矩阵和行列式}
\include{教案-小考点}
\include{教案-进一步探索}
% \include{教案-Latex排版入门}
% \include{教案-杂谈}
% \include{教案-感谢名单}
\end{document}