summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/xelatex/xecjk/chs/zhcnbook.cfg
blob: afb5d2607ea29aac7d054ae960efbb6979d35b62 (plain)
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
%
%  2007/04/20
%
\makeatletter

\paperwidth 210mm
\paperheight 297mm

\textheight 220mm
\textwidth 146mm

\oddsidemargin 32mm
\advance\oddsidemargin -1in
\evensidemargin \oddsidemargin
\topmargin 38mm
\advance \topmargin -1in
\advance \topmargin -\headsep
\advance \topmargin -\headheight

\def\partformat{\centering\huge\bfseries}
\def\chapterformat{\centering\bfseries\heiti
      \fontsize{16}{16}\selectfont}
\def\sectionformat{\centering\bfseries\heiti\zihaosi}
\def\subsectionformat{\bfseries\heiti \zihaoxiaosi}
\def\subsubsectionformat{\bfseries\heiti \zihaowu}
\def\subsubsectionheaderheight{12pt}

\def\sectionheaderheight{14pt}
\def\subsectionheaderheight{12pt}

\def\oversectionspace{24pt}
\def\belowsectionspace{6pt}

\def\oversubsectionspace{12pt}
\def\belowsubsectionspace{6pt}

\def\oversubsubsectionspace{12pt}
\def\belowsubsubsectionspace{6pt}

\def\overchapterspace{24pt}
\def\belowchapterspace{18pt}

\def\chapternamesep{5mm}
\def\chpaterheaderheight{16pt}

\def\tocpartfonts{\rmfamily\songti \zihaosi}
\def\tocchapterfonts{\rmfamily\songti \zihaosi}
\def\tocsectionfonts{\rmfamily\songti \zihaoxiaosi}
\def\tocsubsectionfonts{\rmfamily\songti \zihaowu}
\def\tocleaders{$\cdot\!\cdot\!\cdot\ $}
\def\tocchapterindent{0pt}
\def\tocsectionindent{0pt}
\def\tocsubsectionindent{0pt}
\def\toctitlesep{12pt}
\newdimen\tocchptitlewidth
\newdimen\tocsectitlewidth
\newdimen\tocsubsectitlewidth
\def\zhcn@toc@over@part{12pt}
\def\zhcn@toc@below@part{6pt}
\def\zhcn@toc@over@chapter{6pt}
\def\zhcn@toc@below@chapter{0pt}
\def\zhcn@toc@over@section{6pt}
\def\zhcn@toc@below@section{0pt}
\def\zhcn@toc@over@subsection{6pt}
\def\zhcn@toc@below@subsection{0pt}

\def\zhcn@captionsep{12pt}

\tocchptitlewidth 36pt
\tocsectitlewidth 36pt
\tocsubsectitlewidth 60pt

\setlength\abovecaptionskip{6\p@}
\setlength\belowcaptionskip{\p@}

\def\belowcaptionskip@figure{0\p@}
\def\belowcaptionskip@table{-6\p@}

\AtBeginDocument{\CJKparindent}
\makeatother