Skip to content

Commit b6c3465

Browse files
committed
feat: 上传原有的 lib 文件夹
1 parent 9576943 commit b6c3465

File tree

2 files changed

+53
-0
lines changed

2 files changed

+53
-0
lines changed

lib/begin.tex

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
% 这里最好放 \begin{document} 以前的内容。
2+
3+
\usepackage{amsmath,amssymb,amsthm}
4+
\usepackage{titlesec,booktabs,tikz}
5+
\usepackage[a4paper,margin=1in]{geometry}
6+
7+
\usepackage{chngcntr}
8+
\numberwithin{equation}{section}
9+
10+
\usepackage[acronym]{glossaries}
11+
12+
\usepackage[texindy]{imakeidx} % 索引表
13+
% myindex_style.ist 是用作给索引提供字母索引的。
14+
% 下面是一些例子。
15+
% 有个 bug:怀疑第一次使用字母索引需要一个纯 ASCII 单词(如 \index{PDE})来启动。
16+
17+
\iffalse
18+
% 汉字开头的内容要手动提供拼音来索引。
19+
% 尽管 texindy 理论上支持 -C chinese -L pinyin 来自动生成拼音索引,但是实际上无用。
20+
% 汉字索引统一使用拼音。和制汉字优先使用新华社提供的拼音。
21+
22+
\index{lishan@栗山} % @前面的是用作索引的字符
23+
\index{lishan@栗山!weilai@未来} % !是用作缩进。
24+
\index{lishan@栗山!meixing@美幸}
25+
\index{shenyuanqiuren@神原秋人}
26+
\index{woheni@我和你}
27+
28+
% 理论上应该写 Lagrangezhongzhidingli 之类的,但是开头的 Lagrange 已经足够索引了。
29+
\index{Lagrange 中值定理}
30+
% 行内公式几乎必须要用手动索引。
31+
\index{sigmadaishu@\(\sigma\)-代数}
32+
% 注音字母不需要索引的(不过场景很少)
33+
\index{\'Sniatycki 定理}
34+
\fi
35+
36+
\bibliographystyle{plain}
37+
38+
39+
% 不能放在前面,不然 Index 就没有链接了。
40+
\usepackage[hidelinks]{hyperref}
41+
42+
43+
% TODO: 符号表(可以用 glossary)
44+
45+
\input{}

lib/myindex_style.ist

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
headings_flag 1
2+
heading_prefix "\\par\\penalty-50\\textbf{"
3+
heading_suffix "}\\\\\*\~\\\\\*"
4+
symhead_positive "Symbols"
5+
symhead_negative "symbols"
6+
numhead_positive "Numbers"
7+
numhead_negative "numbers"
8+
delim_0 ",\~"

0 commit comments

Comments
 (0)