-
Notifications
You must be signed in to change notification settings - Fork 22
/
aboly.tex
95 lines (64 loc) · 1.73 KB
/
aboly.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
\documentclass[a4paper, openany, oneside, 12pt]{book}
\input{style.tex}
\usepackage{tikz}
\usepackage{standalone}
\usepackage[
unicode,
bookmarks=true,
bookmarksnumbered=true,
pdfpagemode=UseOutlines,
pdfstartview=FitH,
pdfpagelayout=OneColumn,
colorlinks=true,
allcolors=black,
]{hyperref}
\hypersetup{
pdftitle=一瓶论语,
pdfauthor=孔子 原著,[email protected] 译评制作,
pdfsubject=,
pdfkeywords={\versioninfoaboly},
pdfcreator=XeLaTeX with Python,
}
%============================================================
\begin{document}
\lyblobmark[0]{一瓶论语}
\include{cover}
\include{license}
\frontmatter
% Enlarge inter-paragraph distance.
\newlength{\oldparskip}
\setlength{\oldparskip}{\parskip}
\addtolength{\parskip}{0.12\baselineskip}
\renewcommand{\lyheaderimg}{preface}
\include{preface}
\renewcommand{\lyheaderimg}{usage}
\include{usage}
\renewcommand{\lyheaderimg}{guide}
%\include{guide}
% Restore inter-paragraph distance.
\setlength{\parskip}{\oldparskip}
\lyblobmark[0]{目录}
\tableofcontents % The TOC is expected to appear on a single page,
% otherwise a header image should be added for it.
\mainmatter
\renewcommand{\lyheaderimg}{chap\thechapter}
\include{autobody}
% Appendixes.
\makeatother
\titleformat{\chapter}[block]
{\fontsize{\lyszchaptertitle}{\lyszchaptertitle * \real{1.2}}\selectfont\CJKfamily{fttitle}\filcenter}
{}
{1em}{}
\titlecontents{chapter}
[0em]
{\bfseries}
{}
{}
{\dotfill\textrm{\contentspage[{\bfseries\thecontentspage}]}}
\renewcommand{\lyheaderimg}{characters}
\include{autocharacters}
\renewcommand{\lyheaderimg}{topics}
\include{autotopics}
\renewcommand{\lyheaderimg}{references}
\include{references}
\end{document}