Adapt to ctex 2.x.
This commit is contained in:
parent
8f1f6b056d
commit
e8ad647dc6
@ -61,7 +61,7 @@
|
||||
|
||||
在最终打印和提交论文之前,
|
||||
请将 pkuthss 文档类选项中的 %
|
||||
\texttt{colorlinks} 改为 \texttt{nocolorlinks},
|
||||
\texttt{colorlinks} 替换为 \texttt{nocolorlinks},
|
||||
因为图书馆要求电子版论文的目录必须为黑色,
|
||||
且某些教务要求打印版论文的文字部分为纯黑色而非灰度打印。
|
||||
|
||||
|
||||
@ -174,7 +174,7 @@
|
||||
\end{itemize}
|
||||
|
||||
例如,图书馆要求电子版论文的目录必须为黑色,
|
||||
且某些教务要求打印版论文的文字部分为纯黑色而非灰度打印。
|
||||
且某些教务要求打印版论文的文字部分为纯黑而非灰度打印。
|
||||
此时用户\myemph{%
|
||||
可以启用 pkuthss-extra 宏包的 \texttt{nocolorlinks} 选项,
|
||||
使所有的链接变为黑色,以免影响提交%
|
||||
@ -306,7 +306,12 @@
|
||||
geometry\supercite{geometry}、fancyhdr\supercite{fancyhdr} %
|
||||
和 graphicx\supercite{graphicx} 等几个宏包;
|
||||
使用 \hologo{pdfLaTeX} 方式编译 GBK 编码的源文件时还会调用
|
||||
xCJK2uni\supercite{xCJK2uni} 宏包。
|
||||
xCJK2uni\supercite{xCJK2uni} 宏包\footnote{\ %
|
||||
ctex 2.x 会自行调用 xCJK2uni 宏包,
|
||||
不用在 pkuthss 文档类中重复调用;
|
||||
这里调用 xCJK2un 是为了兼容 ctex 1.x 而进行的设定,
|
||||
该设定将在 2017 年被去除。%
|
||||
}。
|
||||
因此,ctexbook 文档类和这些宏包所提供的功能均可以使用。
|
||||
|
||||
例如,用户如果想将目录的标题改为“目{\quad\quad}录”,
|
||||
|
||||
@ -38,6 +38,7 @@
|
||||
\usepackage{hologo}
|
||||
|
||||
\setlength{\hfuzz}{3pt}
|
||||
\ctexset{linestretch = 2\ccwd}
|
||||
\setlength{\bibitemsep}{3bp}
|
||||
\renewcommand*{\bibfont}{\zihao{5}\linespread{1.27}\selectfont}
|
||||
|
||||
|
||||
@ -86,8 +86,8 @@
|
||||
}
|
||||
\else\ifpdf
|
||||
% Fix garbled text in bookmarks for pdfLaTeX compilation in GBK.
|
||||
% Temporary fix until release of ctex 2.x, which will by itself
|
||||
% load xCJK2uni when necessary.
|
||||
% Compatibility settings for ctex 1.x, to be removed in 2017; ctex 2.x
|
||||
% loads xCJK2uni by itself when necessary.
|
||||
\RequirePackage{xCJK2uni}
|
||||
\fi\fi
|
||||
\fi
|
||||
@ -155,17 +155,17 @@
|
||||
]{chapter}
|
||||
\CTEXsetup[
|
||||
format = {\zihao{-3}\bfseries},
|
||||
beforeskip = {-20bp plus -1ex minus -0.2ex},
|
||||
beforeskip = {20bp plus 1ex minus 0.2ex},
|
||||
afterskip = {6bp plus 0.2ex}
|
||||
]{section}
|
||||
\CTEXsetup[
|
||||
format = {\zihao{4}\bfseries},
|
||||
beforeskip = {-12bp plus -1ex minus -0.2ex},
|
||||
beforeskip = {12bp plus 1ex minus 0.2ex},
|
||||
afterskip = {6bp plus 0.2ex}
|
||||
]{subsection}
|
||||
\CTEXsetup[
|
||||
format = {\bfseries},
|
||||
beforeskip = {-12bp plus -1ex minus -0.2ex},
|
||||
beforeskip = {12bp plus 1ex minus 0.2ex},
|
||||
afterskip = {6bp plus 0.2ex}
|
||||
]{subsubsection}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user