summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/xelatex/xecjk/chs/zhcnbook.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/xelatex/xecjk/chs/zhcnbook.cfg')
-rw-r--r--Master/texmf-dist/tex/xelatex/xecjk/chs/zhcnbook.cfg80
1 files changed, 80 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/xelatex/xecjk/chs/zhcnbook.cfg b/Master/texmf-dist/tex/xelatex/xecjk/chs/zhcnbook.cfg
new file mode 100644
index 00000000000..afb5d2607ea
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/xecjk/chs/zhcnbook.cfg
@@ -0,0 +1,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