-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.tex
223 lines (172 loc) · 7.05 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
%%% Local Variables:
%%% mode: xelatex
%%% TeX-master: t
%%% End:
\documentclass[11pt,fleqn]{book} % Default font size and left-justified equations
% \documentclass[11pt,fleqn]{ctexbook} % Default font size and left-justified equations
%----------------------------------------------------------------------------------------
\makeatletter
\providecommand*{\input@path}{}
\g@addto@macro\input@path{{dir-sec-tex/}}% append
\makeatother
\input{structure} % Insert the commands.tex file which contains the majority of the structure behind the template
% \input@path{{dir-sec-tex/}} % path append
\begin{document}
%----------------------------------------------------------------------------------------
% TITLE PAGE
%----------------------------------------------------------------------------------------
\begingroup
\thispagestyle{empty}
\begin{tikzpicture}[remember picture,overlay]
% \node[inner sep=0pt] (background) at (current page.center) {\includegraphics[width=\paperwidth]{background}};
\node[inner sep=0pt] (background) at (current page.center) {\includegraphics[width=\paperwidth]{silk}};
% \draw (current page.center) node [fill=ocre!30!white,fill opacity=0.6,text opacity=1,inner sep=1cm]
\draw (current page.center) node
{
% \Huge\centering\bfseries\parbox[c][][t]{\paperwidth}
\fontsize{48}{12}\selectfont\centering\bfseries\parbox[c][][t]{\paperwidth}
% {\addvspace{12pt}\large\sffamily\bfseries} % Spacing and font options for chapters
{\centering
% 宇宙中不易被吹散的风\\[40pt] % Book title
% 我也曾多次表白\\[40pt] % Book title
集情文贴\\[40pt] % Book title
% 文心雕龍\\[20pt] % Subtitle
% {\small 采采流水}
{\fontsize{36}{12} 采采流水}
}
}; % Author name
\end{tikzpicture}
\vfill
\endgroup
%----------------------------------------------------------------------------------------
% COPYRIGHT PAGE
%----------------------------------------------------------------------------------------
\newpage
~\vfill
\thispagestyle{empty}
\noindent Copyright \copyright\ 2013 John Smith\\ % Copyright notice
\noindent \textsc{Published by Publisher}\\ % Publisher
\noindent \textsc{book-website.com}\\ % URL
\noindent Licensed under the Creative Commons Attribution-NonCommercial 3.0 Unported License (the ``License''). You may not use this file except in compliance with the License. You may obtain a copy of the License at \url{http://creativecommons.org/licenses/by-nc/3.0}. Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \textsc{``as is'' basis, without warranties or conditions of any kind}, either express or implied. See the License for the specific language governing permissions and limitations under the License.\\ % License information
\noindent \textit{First printing, March 2017} % Printing/edition date
%----------------------------------------------------------------------------------------
% TABLE OF CONTENTS
%----------------------------------------------------------------------------------------
%\usechapterimagefalse % If you don't want to include a chapter image, use this to toggle images off - it can be enabled later with \usechapterimagetrue
\chapterimage{chapter_head_1.pdf} % Table of contents heading image
\pagestyle{empty} % No headers
\tableofcontents % Print the table of contents itself
% \cleardoublepage % Forces the first chapter to start on an odd page so it's on the right
% \pagestyle{fancy} % Print headers again
%----------------------------------------------------------------------------------------
% PART
%----------------------------------------------------------------------------------------
\part{Part One}
%----------------------------------------------------------------------------------------
% CHAPTER 1
%----------------------------------------------------------------------------------------
\chapterimage{chapter_head_2.pdf} % Chapter heading image
%\chapter{Text Chapter}
\chapter{此情可待}
\include{section1.1}
\include{section1.2}
\include{section1.3}
\include{section1.4}
\include{section1.5}
\include{section1.6}
\include{section1.7}
\include{section1.8}
\include{section1.9}
\include{section1.10}
\include{section1.11}
\include{section1.12}
\part{Part Two}
%----------------------------------------------------------------------------------------
% CHAPTER 2
%----------------------------------------------------------------------------------------
\chapterimage{chapter_head_1.pdf} % Chapter heading image
\chapter{ 文采飞扬}
\include{section2.1}
\include{section2.2}
\include{section2.3}
\part{Part Three}
%----------------------------------------------------------------------------------------
% CHAPTER 3
%----------------------------------------------------------------------------------------
\chapter{ 興觀群怨}
\include{section3.1}
\include{section3.2}
\include{section3.3}
\include{section3.4}
\include{section3.5}
\include{section3.6}
\include{section3.7}
\include{section3.8}
\include{section3.9}
\include{section3.10}
\include{section3.11}
\include{section3.12}
\include{section3.13}
\part{Part Four}
\chapter{ 語言寺廟}
\include{section4.1}
\include{section4.2}
\include{section4.3}
\include{section4.4}
\include{section4.5}
\include{section4.6}
\include{section4.7}
\include{section4.8}
\include{section4.9}
\include{section4.10}
\include{section4.11}
\include{section4.12}
\include{section4.13}
\include{section4.14}
\include{section4.15}
\include{section4.16}
\include{section4.17}
\include{section4.18}
\include{section4.19}
\include{section4.20}
\include{section4.21}
\include{section4.22}
\include{section4.23}
\include{section4.24}
\include{section4.25}
\include{section4.26}
\part{Part Five}
\chapter{ 狼狗时光}
\include{section5.1}
\include{section5.2}
\include{section5.3}
\part{Part Six}
\chapter{ 金风玉露}
\include{section6.1}
%----------------------------------------------------------------------------------------
% BIBLIOGRAPHY
%----------------------------------------------------------------------------------------
\chapter*{Bibliography}
\addcontentsline{toc}{chapter}{\textcolor{ocre}{Bibliography}}
%------------------------------------------------
\section*{Articles}
\addcontentsline{toc}{section}{Articles}
% \printbibliography[heading=bibempty,type=article]
%------------------------------------------------
\section*{Books}
\addcontentsline{toc}{section}{Books}
% \printbibliography[heading=bibempty,type=book]
%----------------------------------------------------------------------------------------
% INDEX
%----------------------------------------------------------------------------------------
\cleardoublepage
\phantomsection
\setlength{\columnsep}{0.75cm}
\addcontentsline{toc}{chapter}{\textcolor{ocre}{Index}}
\printindex
%----------------------------------------------------------------------------------------
\end{document}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% End: