diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/pkuthss/readme-src/chap/chap2.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/pkuthss/readme-src/chap/chap2.tex | 124 |
1 files changed, 57 insertions, 67 deletions
diff --git a/Master/texmf-dist/doc/latex/pkuthss/readme-src/chap/chap2.tex b/Master/texmf-dist/doc/latex/pkuthss/readme-src/chap/chap2.tex index acc86ec0319..6206ae79be4 100644 --- a/Master/texmf-dist/doc/latex/pkuthss/readme-src/chap/chap2.tex +++ b/Master/texmf-dist/doc/latex/pkuthss/readme-src/chap/chap2.tex @@ -3,7 +3,7 @@ % Documentation for pkuthss. % % Copyright (c) 2008-2009 solvethis -% Copyright (c) 2010-2014 Casper Ti. Vector +% Copyright (c) 2010-2015 Casper Ti. Vector % % This work may be distributed and/or modified under the conditions of the % LaTeX Project Public License, either version 1.3 of this license or (at @@ -43,14 +43,13 @@ 是否在页眉中将章节名中的小写字母转换为大写字母。 就目前而言, 这样的转换存在着一些较为严重的缺陷\footnote{% - 准确地说是 \texttt{\string\MakeUppercase} 宏的问题, + 准确地说是 \texttt{\string\MakeUppercase} 宏的问题: 其在某些地方的转换不够健壮, 例如 \texttt{\string\cite\string{ctex\string}} 会被转换成 \texttt{\string\cite\string{CTEX\string}}。% }, 因此不建议使用。 - 基于上述考虑,% - \myemph{% + 基于上述考虑,\myemph{% pkuthss 文档类默认启用 \texttt{nouppermark} 选项, 即在不在页眉中使用大写的章节名% }。 @@ -78,12 +77,6 @@ \begin{Verbatim}[frame = single] \documentclass[openany, ...]{pkuthss} % 每章从任意页开始。 \end{Verbatim} - 但这样设置时左右(奇偶)页的页眉页脚设置仍然是不同的。 - 如果需要使左右页的页眉页脚设置一致,可以直接采用单面模式: -\begin{Verbatim}[frame = single] -% 使用 oneside 选项时不需要再指定 openany 选项。 -\documentclass[oneside, ...]{pkuthss} -\end{Verbatim} \subsection{pkuthss-extra 宏包提供的选项}\label{ssec:extra} @@ -91,36 +84,27 @@ 下面提到的选项中都是不带“\verb|no|”的版本被启用。 \begin{itemize} - \item \textbf{\texttt{[no]spacing}}: - 是否采用一些常用的对空白进行调整的版式设定。 - 具体地说,启用 \verb|space| 选项后会进行以下几项设置: + \item \textbf{\texttt{[no]footfmt}}: + 是否根据学校对论文格式的要求\mbox{\supercite{pku-thesisstyle}}% + 修改和脚注相关的一些格式。 + 具体地说,启用 \verb|footfmt| 选项后会进行以下几项设置: \begin{itemize} - \item 自动忽略 CJK 文字之间的空白而% - 保留(CJK 文字与英文之间等的)其它空白。 - \item 调用 setspace 宏包以使某些细节处的空间安排更美观。 - \item 设置页芯居中。 - \item 设定行距为 1.41\footnote{% - 为什么是 1.41?因为 $\sqrt{2}\approx1.41$。% - }。 - \item 使脚注编号和脚注文本之间默认间隔一个空格。 + \item 脚注参用带圈的编号。 + \item 页脚中脚注编号使用正文(而非上标)字体。 + \item 页脚中脚注编号和脚注文本之间默认间隔一个空格。 \end{itemize} - \item \textbf{\texttt{[no]tightlist}}: - 是否采用比 \hologo{LaTeX} 默认设定更加紧密的枚举环境。 - 在枚举环境(itemize、enumerate 和 description)中, - 每个条目的内容较少时,条目往往显得稀疏; - 在参考文献列表中也有类似的现象。 - 启用 \verb|tightlist| 选项后, - 将去掉这些环境中额外增加的(垂直)间隔。 - - \item \textbf{\texttt{[no]caption}}: - 是否使图表标题使用和正文不同的字体 - (此处设为中文楷书、英文斜体, - 如图 \ref{fig:example} 所示)。 - 根据排版中常见的审美原则, - 一般应使图表标题的字体、字号轻 - (例如楷书之于宋体、五号字之于小四号字)于正文, - 图表内容的字体、字号轻于图表标题。 + \item \textbf{\texttt{[no]pkuspace}}: + 是否根据学校对论文格式的要求\mbox{\supercite{pku-thesisstyle}}% + 修改排版中的一些间距及相关设置。 + 具体地说,启用 \verb|pkuspace| 选项后会按 + \parencite{pku-thesisstyle} 中的要求修改以下几项设置: + \begin{itemize} + \item 目录中条目的缩进方式。 + \item 图表标题的字号, + 以及标题中编号和标题文字之间的间隔方式 + (例如图 \ref{fig:example} 所示)。 + \end{itemize} \begin{figure}[htbp!] \centering @@ -128,6 +112,27 @@ \caption{示例插图}\label{fig:example} \end{figure} + \item \textbf{\texttt{[no]spacing}}\footnote{% + 因为代码重构的缘故, + 此选项同时提供 1.5.5 及以前版本 pkuthss-extra 宏包% + 中 \texttt{[no]tightlist} 选项所提供的功能。% + }: + 是否采用一些常用的调整间距的额外版式设定。 + 具体地说,启用 \verb|spacing| 选项后会进行以下几项设置: + \begin{itemize} + \item 自动忽略 CJK 文字之间的空白而% + 保留(CJK 文字与英文之间等的)其它空白。 + \item 调用 setspace 宏包以使某些细节处的空间安排更美观。 + \item 采用比 \hologo{LaTeX} 默认设定更加紧密的枚举环境% + \footnote{% + 在枚举环境(itemize、enumerate 和 description)中, + 每个条目的内容较少时,条目往往显得稀疏; + 在参考文献列表中也有类似的现象。 + 启用 \texttt{spacing} 选项后, + 将去掉这些环境中额外增加的(垂直)间隔。% + }。 + \end{itemize} + \item \textbf{\texttt{[no]pdftoc}}\footnote{% 此选项部分等价于 1.4 alpha2 及以前版本 pkuthss-extra 宏包% 的 \texttt{[no]tocbibind} 选项。 @@ -146,8 +151,7 @@ \item \textbf{\texttt{[no]pdfprop}}: 是否自动根据设定的论文文档信息(如作者、标题等) - 设置生成的 pdf 文档的相应属性。% - \myemph{% + 设置生成的 pdf 文档的相应属性。\myemph{% 注意: 该选项实际上是在 \texttt{\string\maketitle} 时生效的, 这是因为考虑到% @@ -249,9 +253,8 @@ 或自身存储文档信息的命令名(不带反斜杠)。 当文档信息的内容包含了逗号等有干扰的字符时, - 可以用大括号将这一项文档信息的全部内容括起来。% - \myemph{% - 我们推荐用户总用大括号将文档信息的内容括起来, + 可以用大括号将这一项文档信息的全部内容括起来。\myemph{% + 我们建议用户总用大括号将文档信息的内容括起来, 以避免很多不必要的麻烦。% } @@ -273,8 +276,7 @@ \texttt{\bfseries\string\specialchap} 命令% 用于开始不进行标号但计入目录的一章, - 并合理安排其页眉。% - \myemph{% + 并合理安排其页眉。\myemph{% 注意: 需要启用 pkuthss-extra 宏包的 \texttt{spechap} 选项% 才能使用此命令。 @@ -291,7 +293,7 @@ 因此通常不需要用户自己使用; 但用户有时可能不需要输出标题页, 从而不会调用 \verb|\maketitle| 命令, - 此时就需要在设定完文档信息之后调用 \verb|\setpdfproperties|。 + 此时就需要在设定完文档信息之后调用 \verb|\setpdfproperties|。% \myemph{% 注意: 需要启用 pkuthss-extra 宏包的 \texttt{pdfprop} 选项% @@ -300,10 +302,10 @@ \subsection{从其它文档类和宏包继承的功能}\label{ssec:thirdparty} - pkuthss 文档类建立在 ctexbook\supercite{ctex} 文档类的基础上, - 并调用了 CJKfntef、% - graphicx\supercite{graphicx}、geometry\supercite{geometry} 和 % - fancyhdr\supercite{fancyhdr} 等几个宏包; + pkuthss 文档类建立在 ctexbook\supercite{ctex} 文档类之上, + 并调用了 CJKfntef、hyperref\supercite{hyperref}、% + geometry\supercite{geometry}、fancyhdr\supercite{fancyhdr} % + 和 graphicx\supercite{graphicx} 等几个宏包; 使用 \hologo{pdfLaTeX} 方式编译 GBK 编码的源文件时还会调用 xCJK2uni\supercite{xCJK2uni} 宏包。 因此,ctexbook 文档类和这些宏包所提供的功能均可以使用。 @@ -333,28 +335,16 @@ pkuthss-extra 宏包可能调用以下这些宏包: \begin{itemize} - \item 启用 \verb|spacing| 选项时会调用 % - setspace 和 footmisc\supercite{footmisc} 宏包。 - \item 启用 \verb|tightlist| 选项时会调用 % - enumitem\supercite{enumitem} 宏包。 - \item 启用 \verb|caption| 选项时会调用 % + \item 启用 \verb|footfmt| 选项时会调用 % + tikz\supercite{tikz} 和 scrextend\supercite{scrextend} 宏包。 + \item 启用 \verb|pkuspace| 选项时会调用 % + tocloft\supercite{tocloft}、subfig\supercite{subfig} 和 % caption\supercite{caption} 宏包。 + \item 启用 \verb|spacing| 选项时会调用 setspace 和 % + enumitem\supercite{enumitem} 宏包。 \end{itemize} 因此在启用相应选项时,用户可以使用对应宏包所提供的功能。 - \subsection{不建议更改的设置} - \myemph{% - pkuthss 文档类中有一些一旦改动就有可能破坏预设排版规划的设置, - 因此不建议更改这些设置,它们是: - \begin{itemize} - \item 纸张类型:A4; - \item 页芯尺寸:% - $240\,\mathrm{mm}\times150\,\mathrm{mm}$, - 包含页眉、页脚; - \item 默认字号:小四号。 - \end{itemize}% - } - \section{高级设置}\label{sec:advanced} pkuthss 文档模版的实现是简洁、清晰、灵活的。 |