-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathx.tex
114 lines (102 loc) · 2.9 KB
/
x.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
\documentclass[ebook,10pt,oneside,openany,final]{memoir}
\usepackage[iso,american]
{isodate} % use iso format for dates
\usepackage[final]
{listings} % code listings
\usepackage{longtable} % auto-breaking tables
\usepackage{ltcaption} % fix captions for long tables
\usepackage{booktabs} % fancy tables
\usepackage{relsize} % provide relative font size changes
\usepackage{textcomp} % provide \text{l,r}angle
\usepackage{underscore} % remove special status of '_' in ordinary text
\usepackage{verbatim} % improved verbatim environment
\usepackage{parskip} % handle non-indented paragraphs "properly"
\usepackage{array} % new column definitions for tables
\usepackage[normalem]{ulem}
\usepackage{color} % define colors for strikeouts and underlines
\usepackage{amsmath} % additional math symbols
\usepackage{mathrsfs} % mathscr font
\usepackage{microtype}
\usepackage{multicol}
\usepackage{xspace}
\usepackage{fixme}
\usepackage{lmodern}
\usepackage[T1]{fontenc}
\usepackage[final]{graphicx}
\usepackage[pdftitle={X 文档},
pdfsubject={X 文档},
pdfcreator={Sunchy321},
bookmarks=true,
bookmarksnumbered=true,
pdfpagelabels=true,
pdfpagemode=UseOutlines,
pdfstartview=FitH,
linktocpage=true,
colorlinks=true,
linkcolor=blue,
plainpages=false
]{hyperref}
\usepackage{memhfixc} % fix interactions between hyperref and memoir
\usepackage{ctex}
\usepackage{mathtools}
\usepackage{amsfonts}
\usepackage{dsfont} % 空心的整数
\usepackage[cal=boondoxo]{mathalfa}
\usepackage{xparse}
\usepackage{enumitem}
\usepackage{hhline}
\usepackage{lstfiracode}
\usepackage{fontspec}
\setmonofont{JetBrains Mono}
\input{layout}
\input{styles}
\input{macros}
\input{tables}
\makeindex[generalindex]
\makeindex[libraryindex]
\makeindex[grammarindex]
%%--------------------------------------------------
%% turn off all ligatures inside \texttt
\begin{document}
\chapterstyle{xstd}
\pagestyle{xpage}
%%--------------------------------------------------
%% configuration
\input{config}
%%--------------------------------------------------
%% front matter
\frontmatter
\include{front}
%%--------------------------------------------------
%% main body of the document
\mainmatter
\setglobalstyles
\include{lex}
\include{basic}
\include{type}
\include{expression}
\include{statement}
\include{pattern}
\include{declaration}
\include{function}
\include{exception}
\include{class}
\include{enum}
\include{operator}
\include{trait}
\include{implementation}
\include{generic}
\include{deduction}
\include{module}
\include{attribute}
\include{macro}
\include{script}
\include{data}
\include{lib-intro}
\include{misc}
\include{sequence}
%%--------------------------------------------------
%% back matter
\backmatter
\include{back}
\end{document}