diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/pkuthss/readme-src')
10 files changed, 247 insertions, 203 deletions
diff --git a/Master/texmf-dist/doc/latex/pkuthss/readme-src/ChangeLog.txt b/Master/texmf-dist/doc/latex/pkuthss/readme-src/ChangeLog.txt index 97b952c7ede..875952908b6 100644 --- a/Master/texmf-dist/doc/latex/pkuthss/readme-src/ChangeLog.txt +++ b/Master/texmf-dist/doc/latex/pkuthss/readme-src/ChangeLog.txt @@ -1,15 +1,37 @@ +2014-04-28, v1.6.0 + + * API Changes: + - New package option: `footfmt' and `pkuspace'. + - `tightlist' option merged into `spacing'; `caption' option removed. + + * Changes to example template: + - Some changes regarding updates in school regulation. + - thesis.tex: add color package for \pkuthssffaq with noncolorlinks. + - chap/: again try to make enca(1) happy. + + * Changes to package code: + - Major changes regarding updates in school regulation. + + * Changes to documentation: + - Reorganise section tree. + + * Misc: + - Update URL of project homepage. + - Minor fixes and aesthetic improvements. + - dist: remove version string from file name of TDS archive. + 2014-07-07, v1.5.5 * Changes to example template: - Use the most frequently asked questions as the sample text. - - revert the black TOC, considering the new sample text. + - Revert the black TOC, considering the new sample text. * Changes to package code: - pkuthss.cls: use `PassOptionsToPackage' for *packages*. - pkuthss-extra.sty: `hidelinks' does not hold a value. * Changes to documentation: - - update info on `colorlinks'. + - Update info on `colorlinks'. * Misc: - Minor improvements. @@ -17,7 +39,7 @@ 2014-07-04, v1.5.4 * Changes to example template: - - make TOC black, as stupidly required by PKU Library. + - Make TOC black, as stupidly required by PKU Library. * Changes to documentation: - re-sort and re-organise common problems. diff --git a/Master/texmf-dist/doc/latex/pkuthss/readme-src/chap/acknowledge.tex b/Master/texmf-dist/doc/latex/pkuthss/readme-src/chap/acknowledge.tex index 84e0304aee7..845b12952a7 100644 --- a/Master/texmf-dist/doc/latex/pkuthss/readme-src/chap/acknowledge.tex +++ b/Master/texmf-dist/doc/latex/pkuthss/readme-src/chap/acknowledge.tex @@ -3,7 +3,7 @@ % Documentation for pkuthss. % % Copyright (c) 2008-2009 solvethis -% Copyright (c) 2010-2012 Casper Ti. Vector +% Copyright (c) 2010-2012,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 @@ -34,3 +34,7 @@ 特别感谢 pkuthss 模版的最初创作者 solvethis 网友, 以及不断地对 Casper 提出的诸多问题予以解答的 cauchy 网友 :) +此外还要感谢 \parencite{pku-thesisstyle} 的作者, +让我校在学位论文格式要求的繁复程度上离隔壁更近了一步, +同时还达成了用 \hologo{TeX} 排版出和 M\$ Word 一样审美水平论文的伟大成就。 + diff --git a/Master/texmf-dist/doc/latex/pkuthss/readme-src/chap/chap1.tex b/Master/texmf-dist/doc/latex/pkuthss/readme-src/chap/chap1.tex index f5775747b1e..d7f1a28649b 100644 --- a/Master/texmf-dist/doc/latex/pkuthss/readme-src/chap/chap1.tex +++ b/Master/texmf-dist/doc/latex/pkuthss/readme-src/chap/chap1.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 @@ -41,7 +41,7 @@ 还需要 biblatex 宏包\supercite{biblatex}; \item 如果需要对中文文献进行按汉语拼音的排序的话, 还需要 biber 程序\supercite{biber}。 - \item 如果默认的文献列表和引用样式的话, + \item 如果使用默认的文献列表和引用样式的话, 还需要作者编写的 biblatex 样式 (biblatex-caspervector)\supercite{biblatex-caspervector}。 \item 如果需要使用 Makefile 来实现自动编译,还需要 Make 工具; @@ -52,7 +52,7 @@ 注: 某些 Linux 发行版软件仓库中的 \hologo{TeX} Live 有问题, 建议使用独立安装版的 \hologo{TeX} Live% - \footnote{\url{http://www.tug.org/texlive/}.}。% + \unemph{\footnote{\url{http://www.tug.org/texlive/}.}}。% })都已经包含除中文字体和 Make 之外所有要求的项目。% \myemph{% 为了获得最好的支持, @@ -192,11 +192,9 @@ make 注意:% Windows 批处理对于 LF(\texttt{\string\n})换行的批处理文件支持有问题。 在命令提示符(cmd)下执行这些批处理文件时没有问题, - 但双击文件图标执行时就会出错。 - 作者在 Google Code 和北大未名 BBS 上发布的压缩包中 \texttt{Make.bat} - 均是 CRLF(\texttt{\string\r\string\n})换行, - 但 \hologo{TeX} Live 中安装的 \texttt{Make.bat} 和 + 但双击文件图标执行时可能就会出错。 + \hologo{TeX} Live 中安装的 \texttt{Make.bat} 和 CTAN 上提供的压缩包里的 \texttt{Make.bat} - 可能是 LF(\texttt{\string\n})换行的。% + 有可能是 LF(\texttt{\string\n})换行的。% } 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 文档模版的实现是简洁、清晰、灵活的。 diff --git a/Master/texmf-dist/doc/latex/pkuthss/readme-src/chap/chap3.tex b/Master/texmf-dist/doc/latex/pkuthss/readme-src/chap/chap3.tex index a9dc2f809d2..34691632912 100644 --- a/Master/texmf-dist/doc/latex/pkuthss/readme-src/chap/chap3.tex +++ b/Master/texmf-dist/doc/latex/pkuthss/readme-src/chap/chap3.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 @@ -60,87 +60,90 @@ 因此建议用户使用支持 LF 换行的文本编辑器编辑文件, 详见第 \ref{sec:doc-dir} 节。 - \section{其它可能存在的问题} - \subsection{上游宏包可能引起的问题} + \section{上游宏包可能引起的问题} - biblatex 宏包\supercite{biblatex}会自行设定 \verb|\bibname|, - 故会覆盖通过 \verb|\CTEXoptions| 设定的参考文献列表标题。 - 使用 biblatex 的用户可以使用 \verb|\printbibliography| 的 - \verb|title| 选项来手动设定参考文献列表的标题,例如: + biblatex 宏包\supercite{biblatex}会自行设定 \verb|\bibname|, + 故会覆盖通过 \verb|\CTEXoptions| 设定的参考文献列表标题。 + 使用 biblatex 的用户可以使用 \verb|\printbibliography| 的 + \verb|title| 选项来手动设定参考文献列表的标题,例如: \begin{Verbatim}[frame = single] \printbibliography[title = {文献}, ...] % “...”为其它选项。 \end{Verbatim} - hyperref 宏包\supercite{hyperref}和一些宏包可能发生冲突。 - 关于如何避免这些冲突, - 可以参考 hyperref 宏包的 README 文件中的“Package Compatibility”一节。 - 此文件通常和执行 \verb|texdoc hyperref| % - 时打开的 pdf 文件位于同一目录中。 + hyperref 宏包\supercite{hyperref}和一些宏包可能发生冲突。 + 关于如何避免这些冲突, + 可以参考 hyperref 宏包的 README 文件中的“Package Compatibility”一节。 + 此文件通常和执行 \verb|texdoc hyperref| % + 时打开的 pdf 文件位于同一目录中。 - 使用 \hologo{XeLaTeX} 的用户可能在已经安装字体的情况下遇到形如(其中 - \verb|xxxxxxxx| 为具体字体名) + 使用 \hologo{XeLaTeX} 的用户可能在已经安装字体的情况下遇到形如(其中 + \verb|xxxxxxxx| 为具体字体名) \begin{Verbatim}[frame = single, fontsize = {\small}] ! fontspec error: "font-not-found" ! The font "xxxxxxxx" cannot be found. ! See the fontspec documentation for further information. ! For immediate help type H <return>. \end{Verbatim} - 的错误。 - 这种错误一般是(主要是非 Windows 平台的)用户采用了自定义的(包括大小写 - 不同于原文件的)字体文件名, - 并改动 ctex.cfg 等配置文件之后没有在调用 pkuthss 文档类时加入 - \verb|nofonts| 选项, - 又使用 \hologo{XeLaTeX} 编译造成的,使用 + 的错误。 + 这种错误一般是(主要是非 Windows 平台的)用户采用了自定义的(包括大小写 + 不同于原文件的)字体文件名, + 并改动 ctex.cfg 等配置文件之后没有在调用 pkuthss 文档类时加入 + \verb|nofonts| 选项, + 又使用 \hologo{XeLaTeX} 编译造成的,使用 \begin{Verbatim}[frame = single] \documentclass[nofonts, ...]{pkuthss} % “...”代表其它的选项。 \end{Verbatim} - 即可解决此问题。 + 即可解决此问题。 - biber 运行时有一定概率出现形如(目录名可能稍有不同) + biber 运行时有一定概率出现形如(目录名可能稍有不同) \begin{Verbatim}[frame = single, fontsize = {\small}] data source .../par-xxxxxxxx/cache-xxxxxxxx/ inc/lib/Biber/LaTeX/recode_data.xml not found in . \end{Verbatim} - 的错误。 - 这种错误一般是 biber 在自解压阶段被终止之后, - 未删除临时目录 \verb|.../par-xxxxxxxx/| 就重新运行 biber 时出现。 - 遇到这种情况时,删除掉上述临时目录及其所有内容, - 再重新运行 biber 通常便可解决问题。 + 的错误。 + 这种错误一般是 biber 在自解压阶段被终止之后, + 未删除 \verb|.../par-xxxxxxxx/| 这个临时目录就重新运行 biber 时出现。 + 遇到这种情况时,删除掉上述临时目录及其所有内容, + 再重新运行 biber 通常便可解决问题。 - caption 宏包\supercite{caption}对于其不认识的宏包均会提示 + caption 宏包\supercite{caption}对于其不认识的宏包均会提示 \begin{Verbatim}[frame = single, fontsize = {\small}] Package caption Warning: Unsupported document class (or package) detected, (caption) usage of the caption package is not recommended. See the caption package documentation for explanation. \end{Verbatim} - pkuthss 文档模版基于 ctexbook 文档类, - 而后者基于标准的 book 文档类。 - 因此,这个警告并不影响用户正常使用\footnote{% - \url{http://bbs.ctex.org/forum.php?mod=redirect&goto=findpost&ptid=63117&pid=402145}.% - }。 + pkuthss 文档模版基于 ctexbook 文档类, + 而后者基于标准的 book 文档类。 + 因此,这个警告并不影响用户正常使用\footnote{% + \url{http://bbs.ctex.org/forum.php?mod=redirect&goto=findpost&ptid=63117&pid=402145}.% + }。 - \subsection{文档格式可能存在的问题} + \section{文档格式可能存在的问题} - 研究生手册和其电子版\supercite{pku-thesisstyle}要求的论文封面可能并不一致, - 这里以电子版为准。 + 学校对学位论文格式的规定\mbox{\supercite{pku-thesisstyle}}% + 显然没有考虑到非 MS Word 类排版工具的工作方式, + 因此 pkuthss 文档模板只是对其要求的格式进行模仿, + 而在一些小的细节上可能有所出入。 + + biblatex-caspervector\supercite{biblatex-caspervector} 所实现的格式和 % + \parencite{pku-thesisstyle} 的规定并不一致, + 但其作者暂时没有精力去实现后者所规定的格式。 \section{反馈意见和建议} 关于 pkuthss 文档模版的意见和建议, 请在北大未名 BBS 的 MathTools 版或 % - Google Code 上 pkuthss 项目的 issue tracker% - \footnote{\url{https://code.google.com/p/caspervector/issues/list}.}% + pkuthss 项目主页的 issue tracker% + \footnote{\url{https://github.com/CasperVector/pkuthss/issues}.}% 上提出, 或通过电子邮件\footnote% {\href{mailto:CasperVector@gmail.com}{\texttt{CasperVector@gmail.com}}.}% - 告知 Casper Ti. Vector。 + 告知模版维护者。 上述三种反馈方法中,建议用户尽量采用靠前的方法。 在进行反馈时,请尽量确保已经仔细阅读本文档中的说明。 如果是通过 BBS 或电子邮件进行反馈, 请在标题中说明是关于 pkuthss 文档模版的反馈; - 如果是通过 Google Code 进行反馈, - 请给 issue 加上 \verb|Proj-Pkuthss| 标签。 如果是错误报告, 请说明所使用 pkuthss 模版的版本、 自己使用的操作系统和 \hologo{TeX} 系统的类型和版本; diff --git a/Master/texmf-dist/doc/latex/pkuthss/readme-src/chap/copyright.tex b/Master/texmf-dist/doc/latex/pkuthss/readme-src/chap/copyright.tex index 8df44c8ce76..49856cf6cb9 100644 --- a/Master/texmf-dist/doc/latex/pkuthss/readme-src/chap/copyright.tex +++ b/Master/texmf-dist/doc/latex/pkuthss/readme-src/chap/copyright.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 @@ -29,24 +29,21 @@ % chap/acknowledge.tex \chapter*{版权声明} -{ - \zihao{3}\linespread{1.5}\selectfont +\thispagestyle{empty} - 版权所有 \copyright\ 2008--2009 solvethis - \par - 版权所有 \copyright\ 2010--2014 Casper Ti. Vector - \vskip 1em +版权所有 \copyright\ 2008--2009 solvethis +\par +版权所有 \copyright\ 2010--2015 Casper Ti. Vector +\vskip 1em - pkuthss 文档类、pkuthss-extra 宏包及其说明文档均以 % - \hologo{LaTeX} Project Public License 发布。 - 随 pkuthss 提供的模版源代码中,除以下文件 - \begin{itemize} - \item \verb|chap/copyright.tex| - \item \verb|chap/originauth.tex| - \end{itemize} - 以 New BSD License 发布, - 以及参考文献和引用使用的样式文件版权声明见相应文件中说明以外, - 其余部分文件发布在公有领域(public domain)。 - \par -} +pkuthss 文档类、pkuthss-extra 宏包及其说明文档均以 % +\hologo{LaTeX} Project Public License 发布。 +随 pkuthss 提供的模版源代码中,除以下文件 +\begin{itemize} + \item \verb|chap/copyright.tex| + \item \verb|chap/originauth.tex| +\end{itemize} +以 New BSD License 发布, +以及参考文献和引用使用的样式文件版权声明见相应文件中说明以外, +其余部分文件发布在公有领域(public domain)。 diff --git a/Master/texmf-dist/doc/latex/pkuthss/readme-src/chap/introduction.tex b/Master/texmf-dist/doc/latex/pkuthss/readme-src/chap/introduction.tex index 172e311d561..36406bf08b6 100644 --- a/Master/texmf-dist/doc/latex/pkuthss/readme-src/chap/introduction.tex +++ b/Master/texmf-dist/doc/latex/pkuthss/readme-src/chap/introduction.tex @@ -3,7 +3,7 @@ % Documentation for pkuthss. % % Copyright (c) 2008-2009 solvethis -% Copyright (c) 2010-2012,2014 Casper Ti. Vector +% Copyright (c) 2010-2012,2014-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 @@ -35,17 +35,19 @@ pkuthss 文档模版由四部分构成: \begin{itemize} \item \textbf{pkuthss 文档类}: - 其中进行了学位论文所需要的一些基本的设定, + 其中进行了学位论文所需要的一些最基本的设定, 主要包括对基本排版格式的设定和提供设置论文信息的命令。 \item \textbf{pkuthss-extra 宏包}: - 其中实现了学位论文中用户可能较多用到的一些额外功能, + 其中实现了学校的学位论文格式规范\mbox{\supercite{pku-thesisstyle}}% + 中需要借助一些非最常见宏包来实现的需求; + 此外也实现了学位论文中用户可能较多用到的一些额外功能, 例如自动在目录中加入参考文献和索引的条目和% 自动根据用户设定的文档信息对所生成 pdf 的作者、标题等属性进行设置等。 \item \textbf{说明文档}: 说明文档即本文档, 在安装(见第 \ref{sec:req} 节)之后应该可以用 \hologo{TeX} 系统提供的 \verb|texdoc| 命令调出: -\begin{Verbatim}[frame=single] +\begin{Verbatim}[frame = single] texdoc pkuthss \end{Verbatim} \item \textbf{文档模版}: @@ -62,7 +64,7 @@ solvethis\supercite{solvethis} 等的数位网友均做过学位论文模版的 pkuthss 文档模版现在的维护者是 Casper Ti. Vector\footnote% {\href{mailto:CasperVector@gmail.com}{\texttt{CasperVector@gmail.com}}}。% -pkuthss 文档模版目前托管在 Google Code 上, +pkuthss 文档模版目前托管在 GitHub 上, 其项目主页是:\\ -\hspace*{\parindent}\url{http://code.google.com/p/caspervector/} +\hspace*{\parindent}\url{https://github.com/CasperVector/pkuthss} diff --git a/Master/texmf-dist/doc/latex/pkuthss/readme-src/chap/originauth.tex b/Master/texmf-dist/doc/latex/pkuthss/readme-src/chap/originauth.tex index 8bb2791600e..747728d7dde 100644 --- a/Master/texmf-dist/doc/latex/pkuthss/readme-src/chap/originauth.tex +++ b/Master/texmf-dist/doc/latex/pkuthss/readme-src/chap/originauth.tex @@ -1,7 +1,7 @@ % vim:ts=4:sw=4 % % Copyright (c) 2008-2009 solvethis -% Copyright (c) 2010-2014 Casper Ti. Vector +% Copyright (c) 2010-2015 Casper Ti. Vector % All rights reserved. % % Redistribution and use in source and binary forms, with or without @@ -31,13 +31,12 @@ % 原创性声明和使用授权说明页不需要装订到论文中,故不显示页码。 \cleardoublepage\thispagestyle{empty} -\newgeometry{height = 240mm, width = 150mm, ignoreheadfoot, vcentering} { \vspace*{\fill}\linespread{1.5}\selectfont - \centerline{\bfseries\Large 北京大学学位论文原创性声明和使用授权说明} + \centerline{\bfseries\zihao{-2}北京大学学位论文原创性声明和使用授权说明} \vskip 4em - \centerline{\bfseries\Large 原创性声明} + \centerline{\bfseries\zihao{-3}原创性声明} \vskip 1em 本人郑重声明: @@ -54,8 +53,8 @@ } \vskip 4em - \centerline{\bfseries\Large 学位论文使用授权说明} - \centerline{\zihao{-4}(必须装订在提交学校图书馆的印刷本)} + \centerline{\bfseries\zihao{-3}学位论文使用授权说明} + \centerline{\zihao{5}(必须装订在提交学校图书馆的印刷本)} \vskip 1em 本人完全了解北京大学关于收集、保存、使用学位论文的规定,即: @@ -69,7 +68,7 @@ $\square$\nobreakspace{}两年 / % $\square$\nobreakspace{}三年以后在校园网上全文发布。 \end{itemize} - \par(保密论文在解密后遵守此规定) + \centerline{(保密论文在解密后遵守此规定)} \vskip 1em \rightline {% @@ -84,5 +83,4 @@ \vspace*{\fill}\par } -\restoregeometry diff --git a/Master/texmf-dist/doc/latex/pkuthss/readme-src/pkuthss.bib b/Master/texmf-dist/doc/latex/pkuthss/readme-src/pkuthss.bib index 822bd9ae32c..067e853011a 100644 --- a/Master/texmf-dist/doc/latex/pkuthss/readme-src/pkuthss.bib +++ b/Master/texmf-dist/doc/latex/pkuthss/readme-src/pkuthss.bib @@ -12,7 +12,7 @@ @online{biblatex, author = {Lehman, Philipp}, - title = {The biblatex Package: Programmable Bibliographies and Citations (Version 2.8a)}, + title = {The biblatex Package: Programmable Bibliographies and Citations (Ver.\ 2.8a)}, type = {M/OL}, date = {2013-11-25}, url = {http://mirror.ctan.org/macros/latex/exptl/biblatex/}, @@ -22,11 +22,11 @@ @online{biblatex-caspervector, author = {Vector, Casper Ti.}, - title = {biblatex 参考文献和引用样式:caspervector v0.2.0}, + title = {biblatex 参考文献和引用样式:caspervector v0.2.1}, type = {M/OL}, - date = {2014-05-24}, - url = {https://caspervector-dist.googlecode.com/git/biblatex-caspervector/biblatex-caspervector-0.2.0.zip}, - urldate = {2014-05-24}, + date = {2015-04-28}, + url = {https://github.com/CasperVector/biblatex-caspervector/releases/tag/v0.2.1}, + urldate = {2015-04-28}, language = {chinese}, } @@ -80,16 +80,6 @@ language = {english}, } -@online{footmisc, - author = {Fairbairns, Robin}, - title = {footmisc --- a portmanteau package for customising footnotes in \hologo{LaTeX}}, - type = {M/OL}, - date = {2011-07-06}, - url = {http://mirror.ctan.org/macros/latex/contrib/footmisc/}, - urldate = {2012-08-01}, - language = {english}, -} - @online{geometry, author = {Umeki, Hideo}, title = {The geometry package (v5.6)}, @@ -120,6 +110,46 @@ language = {english}, } +@online{scrextend, + author = {Kohm, Markus and Morawski, Jens-Uwe}, + title = {KOMA-Script: a versatile \LaTeX2e{} bundle}, + type = {M/OL}, + date = {2015-02-07}, + url = {http://mirror.ctan.org/macros/latex/contrib/koma-script/}, + urldate = {2015-04-26}, + language = {english}, +} + +@online{subfig, + author = {Cochran, Steven Douglas}, + title = {The Subfig Package (v1.3)}, + type = {M/OL}, + date = {2005-07-05}, + url = {http://mirror.ctan.org/macros/latex/contrib/subfig}, + urldate = {2015-04-26}, + language = {english}, +} + +@online{tikz, + author = {Till Tantau}, + title = {The TikZ and PGF Packages: Manual for version 3.0.0}, + type = {M/OL}, + date = {2013-12-20}, + url = {http://mirror.ctan.org/graphics/pgf/}, + urldate = {2015-04-26}, + language = {english}, +} + +@online{tocloft, + author = {Robertson, Will}, + title = {The tocloft package}, + type = {M/OL}, + date = {2013-12-20}, + url = {http://mirror.ctan.org/macros/latex/contrib/tocloft/}, + urldate = {2013-05-02}, + language = {english}, +} + @online{xCJK2uni, author = {李清}, title = {xCJK2uni 宏包(v0.1)}, @@ -152,7 +182,7 @@ @online{lwolf, author = {lwolf}, - title = {学士(硕/博)毕业论文模板 [基于 dypang 的模板]}, + title = {学士(硕/博)毕业论文模板 [基于 dypang 的模板]}, type = {EB/OL}, date = {2007-05-15}, url = {http://bdwm.net/a.php?b/MathTools/M.1179239165.A/5A2D5A2.rar}, @@ -180,37 +210,23 @@ language = {chinese}, } -@online{pku-copyright, - author = {北京大学研究生院}, - title = {北京大学学位论文版权声明(首页)}, - type = {M/OL}, - year = {2014}, - url = {http://grs.pku.edu.cn/document/20140416145103446514.doc}, - urldate = {2014-05-24}, - language = {chinese}, -} - @online{pku-originauth, author = {北京大学研究生院}, - title = {北京大学学位论文原创性声明和使用授权说明}, + title = {北京大学学位论文原创性声明和使用授权说明(末页限重新申请学位使用)}, type = {M/OL}, - year = {2014}, - url = {http://grs.pku.edu.cn/document/20140416145000135438.doc}, - urldate = {2014-05-24}, + date = {2014-04-16}, + url = {http://grs.pku.edu.cn/document/20140416144734027222.doc}, + urldate = {2015-04-26}, language = {chinese}, } -@incollection{pku-thesisstyle, - author = {北京大学研究生院}, - title = {北京大学研究生学位论文的基本要求与书写格式(2007 年 6 月修订)}, - type = {M/OL}, - bookauthor = {北京大学研究生院}, - booktitle = {北京大学研究生手册}, - publisher = {北京大学}, - year = {2013}, - pages = {30-35}, - url = {http://grs.pku.edu.cn/document/20131031200524521428.pdf}, - urldate = {2014-05-24}, +@online{pku-thesisstyle, + author = {北京大学学位办公室}, + title = {北京大学研究生学位论文写作指南}, + type = {M/OL}, + date = {2014-05}, + url = {http://grs.pku.edu.cn/document/20140918140526208797.pdf}, + urldate = {2015-04-26}, language = {chinese}, } diff --git a/Master/texmf-dist/doc/latex/pkuthss/readme-src/pkuthss.tex b/Master/texmf-dist/doc/latex/pkuthss/readme-src/pkuthss.tex index 71e8cfdbe30..eb7d71a5281 100644 --- a/Master/texmf-dist/doc/latex/pkuthss/readme-src/pkuthss.tex +++ b/Master/texmf-dist/doc/latex/pkuthss/readme-src/pkuthss.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 @@ -31,44 +31,56 @@ \documentclass[UTF8, colorlinks]{pkuthss} \usepackage[backend = biber, style = caspervector, utf8, sorting = none]{biblatex} -\usepackage{lmodern} +\usepackage[defaultsups]{newtxtext} +\usepackage{newtxmath} \usepackage{amssymb} \usepackage{fancyvrb} \usepackage{hologo} +\setlength{\hfuzz}{3pt} +\setlength{\bibitemsep}{3bp} +\renewcommand*{\bibfont}{\zihao{5}\linespread{1.27}\selectfont} + \newcommand{\myemph}[1]{\emph{\textcolor{red}{#1}}} -\newcommand{\docversion}{v1.5.5} +\newcommand{\unemph}[1]{\textup{\textcolor{black}{#1}}} +\newcommand{\docversion}{v1.6.0} \pkuthssinfo{ cthesisname = {本科生毕业论文}, ethesisname = {Undergraduate Thesis}, ctitle = {北京大学论文文档模版\\pkuthss \docversion}, etitle = {% - The PKU dissertation document class\texorpdfstring{\\}{: }% + PKU dissertation document class\texorpdfstring{\\}{: }% pkuthss \docversion% }, cauthor = {盖茨波·钛·维克托}, eauthor = {Casper Ti.\ Vector}, studentid = {00910???}, - date = {二〇一四年七月}, + date = {二〇一五年四月}, school = {化学与分子工程学院}, cmajor = {化学(?)}, emajor = {Chemistry ... ?}, direction = {据说 Casper 自己也不知道}, cmentor = {XX 教授}, ementor = {Prof.\ XX}, ckeywords = {\LaTeX2e{},排版,文档类,\CTeX{}}, - ekeywords = {\LaTeX2e{}, typesetting, document class, \CTeX{}} + ekeywords = {\LaTeX2e{}, Typesetting, Document class, \CTeX{}} } \addbibresource{pkuthss.bib} \begin{document} \frontmatter + \pagestyle{empty} \maketitle \include{chap/copyright} + + \cleardoublepage + \pagestyle{plain} + \setcounter{page}{0} + \pagenumbering{Roman} + \include{chap/abstract} \tableofcontents \mainmatter - \include{chap/introduction} \include{chap/chap1} \include{chap/chap2} @@ -76,13 +88,15 @@ \include{chap/conclusion} \appendix - \printbibliography[heading = bibintoc, sorting = ecnty] \include{chap/encl1} \backmatter - \include{chap/acknowledge} + + \cleardoublepage + \pagestyle{empty} + \include{chap/originauth} \end{document} |