diff options
Diffstat (limited to 'Master')
51 files changed, 4458 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/pkuthss/README b/Master/texmf-dist/doc/latex/pkuthss/README new file mode 100644 index 00000000000..e63d97ca442 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pkuthss/README @@ -0,0 +1,17 @@ +pkuthss: LaTeX template for dissertations in Peking University. +--------------------------------------------------------------- + +Maintainer: Casper Ti. Vector <CasperVector@gmail.com> +Homepage: <http://code.google.com/p/caspervector/> + +License: +* LaTeX Project Public License 1.3 or later for files in `tex/'. +* New BSD License for `doc/img/pkulogo.eps', `doc/img/pkuword.eps', + `doc/chap/copyright.tex', `doc/chap/originauth.tex'. +* Public domain for all other files. + +This package provides a simple, clear and flexible LaTeX template for +dissertations in Peking University. + +See the file `pkuthss.pdf' for details. + diff --git a/Master/texmf-dist/doc/latex/pkuthss/gbkcrlf/ChangeLog-upto-1.3.txt b/Master/texmf-dist/doc/latex/pkuthss/gbkcrlf/ChangeLog-upto-1.3.txt new file mode 100644 index 00000000000..20075ad0a94 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pkuthss/gbkcrlf/ChangeLog-upto-1.3.txt @@ -0,0 +1,63 @@ +2011/12/21,ver 1.3(包括前面所有 alpha、beta 和 rc 版本): +--- 进一步重构, + 将核心设置集中于 pkuthss 文档类中, + 常见的额外设置集中于 pkuthss-extra 宏包中。 +--- 统一宏的命名规则。 +--- 支持使用 key=val 语法进行文档信息的设置,使文档结构更加清晰。 +--- 设定 pdf 元数据时使用英文的文档信息,绕过字符编码的问题。 +--- 在文档中加入一份代码的 listing, + 以尽量避免不断有人抱怨的文档类代码“乱码”的问题。 +--- 去掉了 FAQ 部分, + 因为其中内容或是比较陈旧,或是已经在前面提到。 +--- 重新选择 license,尽量减少对用户不必要的约束。 + +2010/11/30,ver 1.2(包括前面所有 beta 版本): +--- 支持 UTF-8 和 GBK 编码。 + 支持 XeLaTeX(但不可和 GBK 同用)。 +--- 较大规模重构: + 定义了一些新命令以实现一些重复的代码的功能, + 删除了冗余代码和一些用处不大的旧命令,调整了目录结构。 +--- 将部分重复代码统一, + 并把一些将来可能引起不兼容的命令以标准 LaTeX 命令代替。 +--- 考虑到现在的 ctex 宏包已经对中文排版的格式做出了较好的设定, + 并且已经较好地支持了 hyperref, + 删除了类文件中规定排版格式的部分代码, + 且去除了对 ifpdf 宏包的直接依赖。 +--- 统一各处的长度单位,均使用 pt 或 em,以免引起困惑。 +--- 从美的角度调整了部分排版格式, + 特别是去掉了所有用 poor man's bold 实现的“粗宋体”。 + +2008/03/13,ver 1.1: +--- 更正了“geometry”,将纸张大小设为“a4paper”。 +--- 更新了 chaps/mydefs.tex,将“colorlinks”设为“false”, + 因为带颜色的链接在黑白打印机上打出来往往颜色很浅。 +--- 更正了 chaps/sample.bib,将“SOURCE”改为“URL”。 + 这样 BibTeX 虽然又会 Warning,不过这样概念上更正确, + 而且结果还不错。 +--- 删除了 pkuthss.cls 和 pkuthss.def 的部分内容, + 因为最后的两个声明都不必装订到论文中。 + +2007/12/12,ver 1.0 rc4: +--- 将“\bibstyle”设为“chinesebst”。 + +2007/09/05,ver 1.0 rc3: +--- 封面页作了小的调整,当标题只有一行时也不会产生 Warning。 + 现在的实现方法使用的是标准的 LaTeX box。 +--- 加入了“graphicx”的版本要求。 + +2007/09/04,ver 1.0 rc2: +--- 在 preamble 部分现在可使用中文。 +--- 更正了版心尺寸,即在“geometry”的选项中加入“includeheadfoot”。 +--- 改进了 pkulogo.ps ,并提供了 img/Makefile。 + +2007/09/02,ver 1.0 rc1: +--- 由于“\ifx\pdfoutput\undefined”在 teTeX-3.0 中不起作用, + 改为使用“ifpdf”宏包。 +--- sample.tex and chaps/1.tex changed accordingly。 +--- Linux/Unix 的默认编译方式改为使用 pdflatex,见 Makefile。 +--- 消除了运行 BibTeX 时出现的一个 Warning。 + +2007/09/01,ver 1.0 beta: +--- 最初的尝试。 + +# vim:ts=4:sw=4 diff --git a/Master/texmf-dist/doc/latex/pkuthss/gbkcrlf/ChangeLog.txt b/Master/texmf-dist/doc/latex/pkuthss/gbkcrlf/ChangeLog.txt new file mode 100644 index 00000000000..280b4d086cd --- /dev/null +++ b/Master/texmf-dist/doc/latex/pkuthss/gbkcrlf/ChangeLog.txt @@ -0,0 +1,92 @@ +2012-10-11, v1.4 beta2 + * Changes to package code: + - Adjust pkulogo/pkuword typesetting according to + <http://web5.pku.edu.cn/bs/images/cgzs/images1/13.png> + + * Changes to documentation: + - Add (more) useful notices and hints. + - Bibliography sanitation. + + * Misc: + - Add CTAN support. + - utils/bump: Improve date conversion code. + +2012-05-31, v1.4 beta1 + + * Changes to documentation: + - Use `biber -l zh__pinyin'. + - Add notice for biber in the "compilation" section. + - Recommend users to use standalone TeXLive. + - Minor adjustment to documentation order. + + * Misc: + - Minor fixes and improvements. + - Add QA test for biblatex-caspervector version. + - Remove spaces and tabs on blank lines, add related QA check. + +2012-05-30, v1.4 alpha3 + + * API Changes: + - `[no]tocbibind' -> `[no]pdftoc', functionality reduced (see below). + - `[no]upcite' removed since biblatex supports it quite flexibly. + + * Changes to package code: + - Remove uses of tocbibind because it crashes with biblatex. + + * Changes to documentation: + - Use biblatex for bibliography formatting. + - Add instructions for natbib, remove instructions for natbib. + - (Re)add the FAQ section. + - Use more printer-friendly colours. + - Enhance `doc/Make.bat' with bat's `call'. + - Use the hologo package for TeX logos. + - Use tabs in `pkuthss.bib'. + - Update bib file for Casper's biblatex style. + - `thanks.tex' -> `acknowledge.tex' + - Use better determined format for .bib files. + + * Misc: + - Split Makefile functionalities to executable in `utils/'. + - `maintcheck' -> `qa', `revbump' -> `bump'. + - Split encoding and line terminator stuffs to `enclt'. + - `dist' now automatically joins biblatex-caspervector files. + - Update find(1) usage. + - QA script updated. + - Use sed(1)'s `y' instead of python's `str.translate()' in `bump'. + - Add appropriate copyright notices. + - Add indentation modelines. + +2012-05-12, v1.4 alpha2 + + * Changes to package code: + - Fix positioning of boxes on title page. + - Unify code that fill in blanks on the title page. + - Merge ctex-kit updates with minor modifications. + + * Changes to documentation: + - Add indication for customising title page by modifying `pkuthss.cls'. + + * Misc: + - Add `maintcheck' and `revbump' to root Makefile to ease automation. + +2012-04-13, v1.4 alpha1 + + * API Changes: + - `[no]linkcolor' -> `[no]colorlinks'. + - `[no]pdfmeta' -> `[no]pdfprop'. + - `\setpdfmetadata' -> `\setpdfproperties'. + + * Changes to package code: + - Simplify package code with `\@nameuse' and `\@namedef'. + - Use `导\hspace{2em}师:' for title page and `导师:' for abstract. + + * Changes to documentation: + - Fix typos: "模板" -> "模版". + - Indicate that `texdoc' requires pkuthss be installed "regular"ly. + - Improve spacing details. + + * Misc: + - Update copyright notices. + - Revise Makefiles. + +# vim:ts=4:sw=4 diff --git a/Master/texmf-dist/doc/latex/pkuthss/gbkcrlf/Make.bat b/Master/texmf-dist/doc/latex/pkuthss/gbkcrlf/Make.bat new file mode 100644 index 00000000000..4fc74078fc9 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pkuthss/gbkcrlf/Make.bat @@ -0,0 +1,48 @@ +@echo off + +@rem vim:ts=4:sw=4 +@rem +@rem Copyright (c) 2008-2009 solvethis +@rem Copyright (c) 2010-2012 Casper Ti. Vector +@rem Public domain. + +set JOBNAME=pkuthss +@rem 这个变量的值可以为 latex 或 pdflatex。 +set LATEX=latex +@rem 如果无法使用 biber,可以改为“bibtex”。 +set BIBTEX=biber -l zh__pinyin +set GBK2UNI=gbk2uni +set DVIPDF=dvipdfmx + +if "%LATEX%"=="latex" (set DODVIPDF=%DVIPDF% %JOBNAME% +) else (set DODVIPDF=echo No need to run %DVIPDF%.) +@rem 用 pdflatex 时可能需要使用 gbk2uni 转换 .out 文件编码以防书签乱码。 +if "%LATEX%"=="pdflatex" (@rem set DOGBK2UNI=%GBK2UNI% %JOBNAME% +) else (set DOGBK2UNI=echo No need to run %GBK2UNI%.) +if "%1"=="" goto doc +if "%1"=="doc" goto doc +if "%1"=="clear" (goto clear) else (goto usage) + +:doc +cd img +call Make.bat +cd .. +%LATEX% %JOBNAME% +%BIBTEX% %JOBNAME% +%DOGBK2UNI% +%LATEX% %JOBNAME% +%LATEX% %JOBNAME% +%DODVIPDF% +goto end + +:clear +del *.aux *.bbl *.bcf *.blg *.dvi *.lof *.log *.lot *.run.xml *.toc *.out +del missfont.log chap\*.aux +goto end + +:usage +echo %0 [doc] [clear] +goto end + +:end + diff --git a/Master/texmf-dist/doc/latex/pkuthss/gbkcrlf/Makefile b/Master/texmf-dist/doc/latex/pkuthss/gbkcrlf/Makefile new file mode 100644 index 00000000000..67f0a126e64 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pkuthss/gbkcrlf/Makefile @@ -0,0 +1,62 @@ +# vim:ts=4:sw=4 +# +# Copyright (c) 2008-2009 solvethis +# Copyright (c) 2010-2012 Casper Ti. Vector +# Public domain. + +# 被编译的主文件的文件名,不包括扩展名。 +JOBNAME = pkuthss +# 这个变量的值可以为 latex、pdflatex 或 xelatex。 +LATEX = latex +# 如果无法使用 biber,可以改为“bibtex”。 +BIBTEX = biber -l zh__pinyin +GBK2UNI = gbk2uni +DVIPDF = dvipdfmx + +# 如果用 LaTeX 编译,则使用 dvipdfmx 将 dvi 转成 pdf。 +ifeq ($(LATEX), latex) + DODVIPDF = $(DVIPDF) $(JOBNAME) +endif + +# 使用 GBK 编码和 pdflatex 编译方式时,可能需要使用 gbk2uni 转换 .out +# 文件编码,以防书签乱码。 +ifeq ($(LATEX), pdflatex) + # 考虑到可能有用户未安装 gbk2uni,且有用户使用 UTF-8 编码, + # 默认用“#”注释掉了 DOGBK2UNI 的定义。 + # 用户可以手动取消其注释(去掉下一行中的“#”)。 + #DOGBK2UNI = $(GBK2UNI) $(JOBNAME) +endif + +# 区分是 Windows 环境还是类 UNIX 环境。 +# 如果是后者,则 GNU make 将可以检测到已经定义 PATH 环境变量。 +ifdef PATH + MAKE = make + RM = rm -f +else + MAKE = mingw32-make + RM = del +endif + +all: img_ doc + +img_: + cd img && $(MAKE) + +img-clean: + cd img && $(MAKE) clean + +doc: + $(LATEX) $(JOBNAME) + $(BIBTEX) $(JOBNAME) + $(DOGBK2UNI) + $(LATEX) $(JOBNAME) + $(LATEX) $(JOBNAME) + $(DODVIPDF) + +clean: + $(RM) $(JOBNAME).{aux,bbl,bcf,blg,dvi,lof,log,lot,run.xml,toc,out{,.bak}} \ + {missfont,texput}.log chap/*.aux + +distclean: clean img-clean + $(RM) $(JOBNAME).pdf + diff --git a/Master/texmf-dist/doc/latex/pkuthss/gbkcrlf/chap/abstract.tex b/Master/texmf-dist/doc/latex/pkuthss/gbkcrlf/chap/abstract.tex new file mode 100644 index 00000000000..6d12b07ef7f --- /dev/null +++ b/Master/texmf-dist/doc/latex/pkuthss/gbkcrlf/chap/abstract.tex @@ -0,0 +1,22 @@ +% vim:ts=4:sw=4 +% +% Copyright (c) 2008-2009 solvethis +% Copyright (c) 2010-2012 Casper Ti. Vector +% Public domain. + +\begin{cabstract} + + 本文介绍了 pkuthss 文档模版所提供的功能, + 并以自身为例演示了该模版的使用。 + +\end{cabstract} + +\begin{eabstract} + + This paper describes the the functions provided by + the pkuthss document template, + and provides itself as an example to illustrate + the usage of the document class. + +\end{eabstract} + diff --git a/Master/texmf-dist/doc/latex/pkuthss/gbkcrlf/chap/acknowledge.tex b/Master/texmf-dist/doc/latex/pkuthss/gbkcrlf/chap/acknowledge.tex new file mode 100644 index 00000000000..5c02fb1a8d4 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pkuthss/gbkcrlf/chap/acknowledge.tex @@ -0,0 +1,12 @@ +% vim:ts=4:sw=4 +% +% Copyright (c) 2008-2009 solvethis +% Copyright (c) 2010-2012 Casper Ti. Vector +% Public domain. + +\chapter{致谢} + +感谢北大未名 BBS 的 MathTools 版和 Thesis 版诸位同学的支持。 +特别感谢 pkuthss 模版的最初创作者 solvethis 网友, +以及不断地对 Casper 提出的诸多问题予以解答的 cauchy 网友 :) + diff --git a/Master/texmf-dist/doc/latex/pkuthss/gbkcrlf/chap/chap1.tex b/Master/texmf-dist/doc/latex/pkuthss/gbkcrlf/chap/chap1.tex new file mode 100644 index 00000000000..9b5982f91f4 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pkuthss/gbkcrlf/chap/chap1.tex @@ -0,0 +1,166 @@ +% vim:ts=4:sw=4 +% +% Copyright (c) 2008-2009 solvethis +% Copyright (c) 2010-2012 Casper Ti. Vector +% Public domain. + +\chapter{使用介绍} + \section{系统要求}\label{sec:req} + + 正确编译需要以下几部分: + \begin{itemize} + \item 一个基本的 \TeX{} 发行版。 + \item CJK 或 XeCJK(供 \hologo{XeLaTeX} 使用)宏包。 + \item ctex 宏包\supercite{ctex,ctex-faq}(提供了 ctexbook 文档类)。 + \item 中文字体。 + \item 如果要使用 biblatex 进行文献列表和引用的排版的话, + 还需要 biblatex 宏包\supercite{biblatex}; + \item 如果需要对中文文献进行按汉语拼音的排序的话, + 还需要 biber 程序\supercite{biber}。 + \item 如果默认的文献列表和引用样式的话, + 还需要作者编写的 biblatex 样式 + (biblatex-caspervector)\supercite{biblatex-caspervector}。 + \item 如果需要使用 Makefile 来实现自动编译,还需要 Make 工具; + 但如果使用由批处理实现的伪“Makefile”就不用了。 + \end{itemize} + + \myemph{最新}的\myemph{完全版} \TeX{}Live 系统(\myemph{% + 注: + 某些 Linux 发行版软件仓库中的 \TeX{}Live 有问题, + 建议使用独立安装版的 \TeX{}Live% + \footnote{\url{http://www.tug.org/texlive/}.}。% + })和 \CTeX{} 套装都已经包含除中文字体和 Make 之外所有要求的项目。% + \myemph{% + 为了获得最好的支持, + 我们建议用户使用最新完全版的 \TeX{} 系统和各宏包。% + }根据目前已有的测试结果, + 使用 \TeX{}Live 2009 及其以上稳定版本% + 或 \CTeX{} 套装 v2.8 系列及其以上版本 + 的用户可以正常使用本模版。 + + 中文字体需要用户自行获得。\myemph{% + 注: + 一些中文字体的字库不全, + 只有 GB2312 字符集内字符的字体信息。 + 这种情况通常会造成编译生成的 pdf 文件中缺少部分字符, + 其中一种典型症状是封面的“〇”字显示不出来。 + 如果要使用中易公司的字体, + 则建议使用 Windows Vista 及其以后版本提供的% + 宋体、黑体、楷体和仿宋体, + 以及 Microsoft Office 2003 及其以后版本提供的隶书和幼圆体, + 这些字体是 GB18030 字符集的,不存在上述问题。% + } + + Linux 用户可以从软件源获得 GNU 的 make; + 其它类 UNIX 系统应该也会提供 make 工具,请参阅相应的文档以获得帮助。% + Windows 用户可以从以下地址下载 Windows 下的 GNU make 工具:\\ + \hspace*{\parindent}% + \url{http://gnuwin32.sourceforge.net/packages/make.htm} + + \section{安装方法}\label{sec:inst} + + 使用 \TeX{}Live 的用户可以通过在终端中以管理员权限执行 +\begin{Verbatim}[frame = single] +tlmgr install pkuthss +\end{Verbatim} + 来安装 pkuthss 文档模版。 + + 使用 \CTeX{} 套装的用户可以通过在命令提示符中执行 +\begin{Verbatim}[frame = single] +mpm --install=pkuthss +\end{Verbatim} + 来安装 pkuthss 文档模版。 + + \section{模版文件}\label{sec:doc-dir} + + 在正确安装 pkuthss 文档模版之后,在终端/命令提示符中执行 +\begin{Verbatim}[frame = single] +texdoc pkuthss +\end{Verbatim} + 所打开的 pdf 所在的同一目录中包含本文档(\verb|pkuthss.pdf|)的源代码% + (\verb|utf8lf/| 和 \verb|gbkcrlf/| 两个子目录, + 两目录中代码除使用的编码和换行符外基本上完全相同)。 + + 其中,% + \verb|utf8lf/| 目录下的源代码使用的是 UTF-8 编码、\verb|\n|(LF)换行, + 适合类 UNIX 系统用户使用;% + \verb|gbkcrlf/| 目录下的源代码使用的是 GBK 编码、\verb|\r\n|(CRLF)换行, + 适合 Windows 用户使用。% + 用户可以试情况将 \verb|utf8lf/| 或 \verb|gbkcrlf/| 中 + 的所有内容复制到合适的目录, + 并在此目录中根据模版修改出自己的论文。 + + \verb|utf8lf/| 和 \verb|gbkcrlf/| 目录中的重要文件有: + \begin{itemize} + \item \verb|Makefile|: + 被 Make 工具调用的 Makefile,用于使编译工作自动化。 + \item \verb|Make.bat|:% + Windows 下的伪“Makefile”,用 Windows 批处理实现。 + \item \verb|chap/|:目录,包含各章节内容: + \begin{itemize} + \item \verb|copyright.tex|: + 版权声明部分\footnote{% + 本文档中的版权声明并不是% + 学校默认要求的形式\supercite{pku-copyright}。 + 符合学校要求的一个版权声明已经放在此文件中, + 但用 \texttt{\string\iffalse{} ...\ \string\fi} % + 注释掉了, + 用户可以考虑使用那个版本。 + }。 + \item \verb|originauth.tex|: + 原创性声明和使用授权说明部分\supercite{pku-originauth}。 + \end{itemize} + \item \verb|img/|:目录,包含论文中所有图片: + \begin{itemize} + \item \verb|Makefile|:图片部分的 Makefile。 + \item \verb|Make.bat|:% + Windows 下的伪“Makefile”,用 Windows 批处理实现。 + \item \verb|pkulogo.eps|:北京大学校徽。 + \item \verb|pkuword.eps|:“北京大学”字样。 + \end{itemize} + \myemph{% + 注:% + \hologo{pdfLaTeX} 方式编译(见第 \ref{sec:compile} 节) + 可能需要将 eps 图片转换为 pdf 格式, + 而使用 Makefile 或伪“Makefile”时这些图片可以自动生成; + 不使用 Makefile 的用户可以手动运行 % + \texttt{img/} 目录中的 Makefile 或伪“Makefile” + 来生成这些图片。% + } + \end{itemize} + + \section{编译方式}\label{sec:compile} + + pkuthss 文档模版支持三种编译方式,即 + \begin{itemize} + \item \LaTeX{} -- dvipdfmx 方式:\\ + 依次执行 \verb|latex|,\verb|biber|(或 \verb|bibtex|),% + \verb|latex|,\verb|latex| 和 \verb|dvipdfmx|。 + \item \hologo{pdfLaTeX} 方式:\\ + 依次执行 \verb|pdflatex|,\verb|biber|(或 \verb|bibtex|),% + \verb|pdflatex| 和 \verb|pdflatex|。 + \item \hologo{XeLaTeX} 方式:\\ + 依次执行 \verb|xelatex|,\verb|biber|(或 \verb|bibtex|),% + \verb|xelatex| 和 \verb|xelatex|。\\ + \myemph{% + 注意:\hologo{XeLaTeX} 对非 UTF-8 的编码支持不好, + 因此 \hologo{XeLaTeX} 方式的编译不支持 GBK 编码。 + } + \end{itemize} + + pkuthss 文档模版附带的 Makefile 中已经对这三种编译方式进行了完整的配置。 + 用户只需要在 Makefile 中通过设定变量 \verb|JOBNAME| 的值% + 指定被编译的主文件名, + 并通过设定变量 \verb|LATEX| 的值指定采用哪种编译方式, + 即可通过在主文件所在目录调用 Make 工具来实现自动编译: + 如果是在类 UNIX 环境下,则用户应该调用的命令名为 \verb|make|; + 而如果是在 Windows 环境下, + 则用户应该调用的命令名可能为 \verb|mingw32-make|。 + + 用户如果不想配置 Windows 下的 GNU Make, + 则也可以使用由 Windows 批处理实现的伪“Makefile”, + 通过在主文件所在目录调用 \verb|make|\footnote{% + Windows 将批处理文件作为可执行文件, + 调用时可以不显式地指出扩展名。% + } 或直接双击 \verb|Make.bat| 的图标运行之。 + diff --git a/Master/texmf-dist/doc/latex/pkuthss/gbkcrlf/chap/chap2.tex b/Master/texmf-dist/doc/latex/pkuthss/gbkcrlf/chap/chap2.tex new file mode 100644 index 00000000000..7abadafadd8 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pkuthss/gbkcrlf/chap/chap2.tex @@ -0,0 +1,340 @@ +% vim:ts=4:sw=4 +% +% Copyright (c) 2008-2009 solvethis +% Copyright (c) 2010-2012 Casper Ti. Vector +% Public domain. + +\chapter{pkuthss 文档模版提供的功能} + \section{pkuthss 文档模版提供的文档类和宏包选项} + \subsection{pkuthss 文档类提供的选项}\label{ssec:options} + + \begin{itemize} + \item \textbf{\texttt{[no]extra}}: + 用于确定是否自动载入 pkuthss-extra 宏包。 + 在默认情况下,pkuthss 文档类将使用 \verb|extra| 选项。 + 用户如果不需要自动载入 pkuthss-extra 宏包, + 则需要在载入 pkuthss 时加上 \verb|noextra| 选项。 + + \item \textbf{pkuthss-extra 宏包提供的选项}: + 这些选项将被传递给 pkuthss-extra 宏包 + (用户需要启用 \verb|extra| 选项)。 + 具体说明参见第 \ref{ssec:extra} 小节。 + + \item \textbf{其余文档类选项}:% + pkuthss 文档类以 ctexbook 文档类为基础, + 其接受的其余所有文档类选项均被传递给 ctexbook。 + 其中可能最常用的选项是 \verb|GBK| 和 \verb|UTF8|: + 它们选择源代码使用的字符编码,默认使用 \verb|GBK|。 + \end{itemize} + + 例如,如果需要使用 UTF-8 编码撰写论文, + 则需要在导入 pkuthss 文档类时加上 \verb|UTF8| 选项: +\begin{Verbatim}[frame = single] +\documentclass[UTF8, ...]{pkuthss} % “...”代表其它的选项。 +\end{Verbatim} + + 又例如,文档默认情况下是双面模式,每章都从右页(奇数页)开始。 + 如果希望改成一章可以从任意页开始,可以这样设置: +\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} + + 除非特别说明, + 下面提到的选项中都是不带“\verb|no|”的版本被启用。 + + \begin{itemize} + \item \textbf{\texttt{[no]spacing}}: + 是否采用一些常用的对空白进行调整的版式设定。 + 具体地说,启用 \verb|space| 选项后会进行以下几项设置: + \begin{itemize} + \item 自动忽略 CJK 文字之间的空白而% + 保留(CJK 文字与英文之间等的)其它空白。 + \item 调用 setspace 宏包以使某些细节处的空间安排更美观。 + \item 设置页芯居中。 + \item 设定行距为 1.41\footnote{% + 为什么是 1.41?因为 $\sqrt{2}\approx1.41$。% + }。 + \item 使脚注编号和脚注文本之间默认间隔一个空格。 + \end{itemize} + + \item \textbf{\texttt{[no]tightlist}}: + 是否采用比 \LaTeX{} 默认设定更加紧密的枚举环境。 + 在枚举环境(itemize、enumerate 和 description)中, + 每个条目的内容较少时,条目往往显得稀疏; + 在参考文献列表中也有类似的现象。 + 启用 \verb|tightlist| 选项后, + 将去掉这些环境中额外增加的(垂直)间隔。 + + \item \textbf{\texttt{[no]pdftoc}}\footnote{% + 此选项部分等价于 1.4 alpha2 及以前版本 pkuthss-extra 宏包% + 的 \texttt{[no]tocbibind} 选项。 + 因为 tocbibind 宏包和 biblatex 宏包冲突, + pkuthss-extra 宏包不再调用 tocbibind 宏包。% + }: + 启用 \verb|pdftoc| 选项后, + 用 \verb|\tableofcontents| 命令生成目录时% + 会自动添加“目录”的 pdf 书签。 + + \item \textbf{\texttt{[no]uppermark}}: + 是否在页眉中将章节名中的小写字母转换为大写字母。 + 就目前而言, + 这样的转换存在着一些较为严重的缺陷\footnote{% + 准确地说是 \texttt{\string\MakeUppercase} 宏的问题, + 其在某些地方的转换不够健壮, + 例如 \texttt{\string\cite\string{ctex\string}} + 会被转换成 \texttt{\string\cite\string{CTEX\string}}。% + }, + 因此不建议使用。 + 基于上述考虑,% + \myemph{% + pkuthss-extra 宏包默认启用 \texttt{nouppermark} 选项, + 即在不在页眉中使用大写的章节名% + }。 + + \item \textbf{\texttt{[no]spechap}}\footnote{% + “spechap”是“\textbf{spec}ial \textbf{chap}ter”的缩写。% + }: + 是否启用第 \ref{ssec:misc} 小节中介绍的 % + \verb|\specialchap| 命令。 + + \item \textbf{\texttt{[no]pdfprop}}: + 是否自动根据设定的论文文档信息(如作者、标题等) + 设置生成的 pdf 文档的相应属性。% + \myemph{% + 注意: + 该选项实际上是在 \texttt{\string\maketitle} 时生效的, + 这是因为考虑到% + 通常用户在调用 \texttt{\string\maketitle} 前% + 已经设置好所有的文档信息。 + 若用户不调用 \texttt{\string\maketitle}, + 则需在设定完文档信息之后自行调用% + 第 \ref{ssec:misc} 小节中介绍的 % + \texttt{\string\setpdfproperties} 命令以完成% + pdf 文档属性的设定。% + } + + \item \textbf{\texttt{[no]colorlinks}}\footnote{% + 此选项等价于 1.3 及以前版本 pkuthss-extra 宏包% + 的 \texttt{[no]linkcolor} 选项, + 但后来发现这会和 hyperref 宏包的一个同名选项冲突, + 故改为 \texttt{[no]colorlinks}。% + }: + 是否在生成的 pdf 文档中使用彩色的链接。 + \end{itemize} + + 例如,在提交打印版的论文时, + 彩色的链接文字在黑白打印出来之后可能颜色会很浅。 + 此时用户\myemph{% + 可以启用 pkuthss-extra 宏包的 nocolorlinks 选项, + 使所有的链接变为黑色,以免影响打印% + }: +\begin{Verbatim}[frame = single] +\documentclass[..., nocolorlinks]{pkuthss} % “...”代表其它的选项。 +\end{Verbatim} + 用户还可以进一步修改 \verb|img/| 目录中 % + \verb|pkulogo.eps| 和 \verb|pkuword.eps| 两个图片文件, + 以使封面上的北京大学图样也变为黑色(详见相应文件中的注释)。 + + \section{pkuthss 文档模版提供的命令和环境} + \subsection{设定文档信息的命令} + + 这一类命令的语法为 +\begin{Verbatim}[frame = single] +\commandname{具体信息} % commandname 为具体命令的名称。 +\end{Verbatim} + + 这些命令总结如下: + \begin{itemize} + \item \texttt{\bfseries\string\ctitle}:设定论文中文标题; + \item \texttt{\bfseries\string\etitle}:设定论文英文标题; + \item \texttt{\bfseries\string\cauthor}:设定作者的中文名; + \item \texttt{\bfseries\string\eauthor}:设定作者的英文名; + \item \texttt{\bfseries\string\studentid}:设定作者的学号; + \item \texttt{\bfseries\string\date}:设定日期; + \item \texttt{\bfseries\string\school}:设定作者的学院名; + \item \texttt{\bfseries\string\cmajor}:设定作者专业的中文名; + \item \texttt{\bfseries\string\emajor}:设定作者专业的英文名; + \item \texttt{\bfseries\string\direction}:设定作者的研究方向; + \item \texttt{\bfseries\string\cmentor}:设定导师的中文名; + \item \texttt{\bfseries\string\ementor}:设定导师的英文名; + \item \texttt{\bfseries\string\ckeywords}:设定中文关键词; + \item \texttt{\bfseries\string\ekeywords}:设定英文关键词。 + \end{itemize} + + 例如,如果要设定专业为“化学”(“Chemistry”),则可以使用以下命令: +\begin{Verbatim}[frame = single] +\cmajor{化学} +\emajor{Chemistry} +\end{Verbatim} + + \subsection{自身存储文档信息的命令} + + 这一类命令的语法为 +\begin{Verbatim}[frame = single] +% commandname 为具体的命令名。 +\renewcommand{\commandname}{具体信息} +\end{Verbatim} + + 这些命令总结如下: + \begin{itemize} + \item \texttt{\bfseries\string\cuniversity}:大学的中文名。 + \item \texttt{\bfseries\string\euniversity}:大学的英文名。 + \item \texttt{\bfseries\string\cthesisname}:论文类别的中文名。 + \item \texttt{\bfseries\string\ethesisname}:论文类别的英文名。 + \item \texttt{\bfseries\string\cabstractname}:摘要的中文标题。 + \item \texttt{\bfseries\string\eabstractname}:摘要的英文标题。 + \end{itemize} + + 例如, + 如果要设定论文的类别为“本科生毕业论文”(“Undergraduate Thesis”), + 则可以使用以下命令: +\begin{Verbatim}[frame = single] +\renewcommand{\cthesisname}{本科生毕业论文} +\renewcommand{\ethesisname}{Undergraduate Thesis} +\end{Verbatim} + + \subsection{以“key = value”格式设置文档信息} + + 用户可以通过 \verb|\pkuthssinfo| 命令集中设定文档信息, + 其语法为: +\begin{Verbatim}[frame = single] +% key1、key2、value1、value2 等为具体文档信息的项目名和内容。 +\pkuthssinfo{key1 = value1, key2 = value2, ...} +\end{Verbatim} + 其中文档信息的项目名为前面提到的设定文档信息的命令名% + 或自身存储文档信息的命令名(不带反斜杠)。 + + 当文档信息的内容包含了逗号等有干扰的字符时, + 可以用大括号将这一项文档信息的全部内容括起来。% + \myemph{% + 我们推荐用户总用大括号将文档信息的内容括起来, + 以避免很多不必要的麻烦。% + } + + 例如,前面提到的文档信息的设置可以集中地写成: +\begin{Verbatim}[frame = single, tabsize = 4] +\pkuthssinfo{ + ..., % “...”代表其它的设定。 + cthesisname = {本科生毕业论文}, + ethesisname = {Undergraduate Thesis}, + cmajor = {化学}, emajor = {Chemistry} +} +\end{Verbatim} + + \subsection{pkuthss 文档模版提供的其它命令和环境\label{ssec:misc}} + + \texttt{\bfseries cabstract} 和 \texttt{\bfseries eabstract} % + 环境用于编写中英文摘要。 + 用户只需要写摘要的正文;标题、作者、导师、专业等部分会自动生成。 + + \texttt{\bfseries\string\specialchap} 命令% + 用于开始不进行标号但计入目录的一章, + 并合理安排其页眉。% + \myemph{% + 注意: + 需要启用 pkuthss-extra 宏包的 \texttt{spechap} 选项% + 才能使用此命令。 + 另外,在此章内的节或小节等命令应使用带星号的版本, + 例如 \texttt{\string\section\string*} 等, + 以免造成章节编号混乱。% + }% + 例如,本文档中的“绪言”一章就是用 \verb|\specialchap{绪言}| % + 这条命令开始的。% + + \texttt{\bfseries\string\setpdfproperties} 命令% + 用于根据用户设定的文档信息自动设定生成的 pdf 文档的属性。 + 此命令会在用户调用 \verb|\maketitle| 命令时被自动调用, + 因此通常不需要用户自己使用; + 但用户有时可能不需要输出标题页, + 从而不会调用 \verb|\maketitle| 命令, + 此时就需要在设定完文档信息之后调用 \verb|\setpdfproperties|。 + \myemph{% + 注意: + 需要启用 pkuthss-extra 宏包的 \texttt{pdfprop} 选项% + 才能使用此命令。% + } + + \subsection{从其它文档类和宏包继承的功能} + + pkuthss 文档类建立在 ctexbook\supercite{ctex} 文档类的基础上, + 并调用了 CJKfntef、% + graphicx\supercite{graphicx}、geometry\supercite{geometry}、% + fancyhdr\supercite{fancyhdr} 和 % + etoolbox\supercite{etoolbox} 等几个宏包。 + 因此,ctexbook 文档类和这些宏包所提供的功能均可以使用。 + + 例如,用户如果想将目录的标题改为“目{\quad\quad}录”, + 则可以使用 ctexbook 文档类提供的 \verb|\CTEXoptions| 命令: +\begin{Verbatim}[frame = single] +\CTEXoptions{contentsname = {目{\quad\quad}录}} +\end{Verbatim} + + 在默认的配置下,% + pkuthss 文档模版使用作者编写的 % + biblatex\supercite{biblatex} 样式\supercite{biblatex-caspervector}% + 进行参考文献和引用的排版, + 用户可以使用其提供的功能。 + 例如, + 用户可以分别使用 \verb|\cite|、\verb|\parencite| 和 \verb|\supercite| % + 生成未格式化的、带方括号的和上标且带方括号的引用标记: +\begin{Verbatim}[frame = single] +\cite{ctex},\parencite{ctex},\supercite{ctex} +\end{Verbatim} + 在本文中将产生“\cite{ctex},\parencite{ctex},\supercite{ctex}”。 + + pkuthss-extra 宏包可能调用以下这些宏包: + \begin{itemize} + \item 启用 \verb|spacing| 选项时会调用 % + setspace 和 footmisc\supercite{footmisc} 宏包。 + \item 启用 \verb|tightlist| 选项时会调用 % + 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 文档模版的实现是简洁、清晰、灵活的。 + 当一些细节的自定义无法通过模版提供的外部接口实现时, + 我们鼓励用户(在适当理解相关部分代码的前提下)通过修改模版进行自定义。 + + 一个常见的需求是封面中部分内容(特别是论文的标题、专业和研究方向)太长, + 超出了在预设的空间。 + 此时, + 用户可以修改 \verb|pkuthss.cls| 里 \verb|\maketitle| 定义中 + \verb|\pkuthss@int@fillinblank| 宏的参数来改变 + 带下划线的空白的行数和行宽,其语法为: +\begin{Verbatim}[frame = single] +\pkuthss@int@fillinblank{行数}{行宽}{内容} +\end{Verbatim} + 例如,如果“研究方向”一栏需要两行的空白, + 可以将 \verb|pkuthss.cls| 里的 +\begin{Verbatim}[frame = single] +\pkuthss@int@fillinblank{1}{\pkuthss@tmp@len}{\kaishu\@direction} +\end{Verbatim} + 改为 +\begin{Verbatim}[frame = single] +\pkuthss@int@fillinblank{2}{\pkuthss@tmp@len}{\kaishu\@direction} +\end{Verbatim} + 当然,为了美观,可以将多于一行的部分移到封面中作者信息部分的最下方。 + diff --git a/Master/texmf-dist/doc/latex/pkuthss/gbkcrlf/chap/chap3.tex b/Master/texmf-dist/doc/latex/pkuthss/gbkcrlf/chap/chap3.tex new file mode 100644 index 00000000000..5a85109c458 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pkuthss/gbkcrlf/chap/chap3.tex @@ -0,0 +1,82 @@ +% vim:ts=4:sw=4 +% +% Copyright (c) 2008-2009 solvethis +% Copyright (c) 2010-2012 Casper Ti. Vector +% Public domain. + +\chapter{问题及其解决} + \section{文档中已经提到的常见问题(按重要性排序)} + + 在默认设置(启用 \verb|colorlinks| 选项)下, + 黑白打印时文档中的部分彩色链接可能会变成浅灰色, + 解决方式见第 \ref{ssec:extra} 小节。 + + 中文字体字库不全(只包含 GB2312 字符集内字符)时, + 生成的 pdf 文档中可能缺少部分字符, + 解决方式见第 \ref{sec:req} 节。 + + \verb|img/| 目录中 eps 图片未转换为 pdf 格式时,% + pdf\LaTeX{} 方式编译可能出错, + 解决方式见第 \ref{sec:doc-dir} 节。 + + 使用过旧的 \TeX{} 系统和各宏包, + 或使用某些 Linux 发行版软件仓库所提供的 \TeX{}Live 时, + 可能引起一些问题, + 详见第 \ref{sec:req} 节。 + + 文档默认情况下是双面模式,章末可能产生空白页,详见第 \ref{ssec:options} 小节。 + + 一些高级设置, + 如封面中部分内容长度超过预设空间容量时的设置, + 见第 \ref{sec:advanced} 节。 + + \section{其它可能存在的问题} + \subsection{上游宏包可能引起的问题} + + hyperref 宏包\supercite{hyperref}和一些宏包可能发生冲突。 + 关于如何避免这些冲突,可以参考 hyperref 宏包的文档。 + 此文件通常和执行 \verb|texdoc hyperref| % + 时打开的 pdf 文件位于同一目录中。 + 低于 1.02c 版本的 ctex 宏包中对 hyperref 的设置有些不周, + 因此文档类中对其进行了一些手动的处理。 + 考虑到新版本 ctex 宏包将逐渐被更多人采用, + 进行这些处理的代码将在以后被删除, + 而改成直接调用 ctex 宏包的 \verb|hyperref| 选项。 + + \subsection{文档格式可能存在的问题} + + 研究生手册和其电子版\supercite{pku-thesisstyle}要求的论文封面并不一致。 + 这里以电子版为准。 + + \subsection{其它一些问题} + + 使用 GBK 编码和 \hologo{pdfLaTeX} 编译方式时需要用户% + 运行 \verb|gbk2uni| 程序来转换 \verb|.out| 文件, + 否则生成的 pdf 书签可能乱码。 + 考虑到用户可能没有 \verb|gbk2uni| 程序,且有用户使用 UTF-8 编码, + 默认的 \verb|Makefile| 和 \verb|Make.bat| 中将相关代码注释掉了, + 用户可以自行去掉相应的注释。 + + \section{反馈意见和建议} + + 关于 pkuthss 文档模版的意见和建议, + 请在北大未名 BBS 的 MathTools 版或 % + Google Code 上 pkuthss 项目的 issue tracker% + \footnote{\url{http://code.google.com/p/caspervector/issues/list}.}% + 上提出, + 或通过电子邮件\footnote% + {\href{mailto:CasperVector@gmail.com}{\texttt{CasperVector@gmail.com}}.}% + 告知 Casper Ti. Vector。 + 上述三种反馈方法中,建议用户尽量采用靠前的方法。 + + 在进行反馈时,请尽量确保已经仔细阅读本文档中的说明。 + 如果是通过 BBS 或电子邮件进行反馈, + 请在标题中说明是关于 pkuthss 文档模版的反馈; + 如果是通过 Google Code 进行反馈, + 请给 issue 加上 \verb|Proj-Pkuthss| 标签。 + 如果是错误报告, + 请说明所使用 pkuthss 模版的版本、 + 自己使用的操作系统和 \TeX{} 系统的类型和版本; + 同时强烈建议附上一个出错的最小例子及其相应的编译日志(\verb|.log| 文件), + 在文件较长时请使用附件。 + diff --git a/Master/texmf-dist/doc/latex/pkuthss/gbkcrlf/chap/conclusion.tex b/Master/texmf-dist/doc/latex/pkuthss/gbkcrlf/chap/conclusion.tex new file mode 100644 index 00000000000..87491bf558f --- /dev/null +++ b/Master/texmf-dist/doc/latex/pkuthss/gbkcrlf/chap/conclusion.tex @@ -0,0 +1,11 @@ +% vim:ts=4:sw=4 +% +% Copyright (c) 2008-2009 solvethis +% Copyright (c) 2010-2012 Casper Ti. Vector +% Public domain. + +\specialchap{结论} + +pkuthss 文档模版结构较为简洁、清晰、灵活,较为易于学习和使用。 +希望它能为各位需要使用 \LaTeX{} 撰写学位论文的同学提供一些帮助。 + diff --git a/Master/texmf-dist/doc/latex/pkuthss/gbkcrlf/chap/copyright.tex b/Master/texmf-dist/doc/latex/pkuthss/gbkcrlf/chap/copyright.tex new file mode 100644 index 00000000000..0169a2c4171 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pkuthss/gbkcrlf/chap/copyright.tex @@ -0,0 +1,62 @@ +% vim:ts=4:sw=4 +% +% Copyright (c) 2008-2009 solvethis +% Copyright (c) 2010-2012 Casper Ti. Vector +% All rights reserved. +% +% Redistribution and use in source and binary forms, with or without +% modification, are permitted provided that the following conditions are +% met: +% +% * Redistributions of source code must retain the above copyright notice, +% this list of conditions and the following disclaimer. +% * Redistributions in binary form must reproduce the above copyright +% notice, this list of conditions and the following disclaimer in the +% documentation and/or other materials provided with the distribution. +% * Neither the name of Peking University nor the names of its contributors +% may be used to endorse or promote products derived from this software +% without specific prior written permission. +% +% THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS +% IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +% THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +% PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR +% CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +% EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +% PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +% PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +% LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +% NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +% SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +\chapter*{版权声明} +{ + \zihao{3}\linespread{1.5}\selectfont + +\iffalse + 任何收存和保管本论文各种版本的单位和个人, + 未经本论文作者同意,不得将本论文转借他人, + 亦不得随意复制、抄录、拍照或以任何方式传播。 + 否则一旦引起有碍作者著作权之问题,将可能承担法律责任。 + \par +\fi + 版权所有 \copyright\ 2008--2009 solvethis + \par + 版权所有 \copyright\ 2010--2012 Casper Ti. Vector + \vskip 1em + + pkuthss 文档类和 pkuthss-extra 宏包以 % + \LaTeX{} Project Public License 发布。 + 本说明(示例)文档的源代码中,除以下文件 + \begin{itemize} + \item \verb|img/pkulogo.eps| + \item \verb|img/pkuword.eps| + \item \verb|chap/copyright.tex| + \item \verb|chap/originauth.tex| + \end{itemize} + 以 New BSD License 发布, + 以及参考文献和引用使用的样式文件版权声明见相应文件中说明以外, + 其余部分文件发布在公有领域(public domain)。 + \par +} + diff --git a/Master/texmf-dist/doc/latex/pkuthss/gbkcrlf/chap/encl1.tex b/Master/texmf-dist/doc/latex/pkuthss/gbkcrlf/chap/encl1.tex new file mode 100644 index 00000000000..7eea433999d --- /dev/null +++ b/Master/texmf-dist/doc/latex/pkuthss/gbkcrlf/chap/encl1.tex @@ -0,0 +1,48 @@ +% vim:ts=4:sw=4 +% +% Copyright (c) 2008-2009 solvethis +% Copyright (c) 2010-2012 Casper Ti. Vector +% Public domain. + +\chapter{pkuthss 文档模版的实现} +\raggedbottom % 避免某些奇怪的“Underfull \vbox”警告。 + + \section{pkuthss 文档类和 pkuthss-extra 宏包的实现} + \subsection{共用文件头部} + \VerbatimInput[ + frame = lines, fontsize = {\footnotesize}, tabsize = 2, + baselinestretch = 1, lastline = 23, numbers = left + ]{pkuthss.cls} + + \subsection{\texttt{pkuthss.cls}} + \VerbatimInput[ + frame = lines, fontsize = {\footnotesize}, tabsize = 2, + baselinestretch = 1, firstline = 25, numbers = left + ]{pkuthss.cls} + + \subsection{\texttt{pkuthss-utf8.def} 和 \texttt{pkuthss-gbk.def}} + \VerbatimInput[ + frame = lines, fontsize = {\footnotesize}, tabsize = 2, + baselinestretch = 1, firstline = 25, numbers = left + ]{pkuthss-gbk.def} + + \subsection{\texttt{pkuthss-extra.sty}} + \VerbatimInput[ + frame = lines, fontsize = {\footnotesize}, tabsize = 2, + baselinestretch = 1, firstline = 25, numbers = left + ]{pkuthss-extra.sty} + + \section{pkuthss 说明(示例)文档的源代码} + + 本文档的源代码中大部分已经有了较为详细的注释, + 故请直接参照相应文件中的注释。 + + \myemph{% + 注:% + \texttt{img/} 目录中的 \texttt{Makefile} 和% + 两个 PostScript(\texttt{.eps})文件(都是文本文件)中% + 也有详细的注释哦 :)% + } + +\flushbottom % 取消 \raggedbottom 的作用。 + diff --git a/Master/texmf-dist/doc/latex/pkuthss/gbkcrlf/chap/encl2.tex b/Master/texmf-dist/doc/latex/pkuthss/gbkcrlf/chap/encl2.tex new file mode 100644 index 00000000000..c6d4f44762f --- /dev/null +++ b/Master/texmf-dist/doc/latex/pkuthss/gbkcrlf/chap/encl2.tex @@ -0,0 +1,21 @@ +% vim:ts=4:sw=4 +% +% Copyright (c) 2008-2009 solvethis +% Copyright (c) 2010-2012 Casper Ti. Vector +% Public domain. + +\chapter{更新记录} +\raggedbottom % 避免某些奇怪的“Underfull \vbox”警告。 + +\section{1.3 版以后的更新记录} +\VerbatimInput[ + tabsize = 4, fontsize = {\small}, baselinestretch = 1 +]{ChangeLog.txt} + +\section{1.3 及其以前版本的更新记录} +\VerbatimInput[ + tabsize = 4, fontsize = {\small}, baselinestretch = 1.1 +]{ChangeLog-upto-1.3.txt} + +\flushbottom % 取消 \raggedbottom 的作用。 + diff --git a/Master/texmf-dist/doc/latex/pkuthss/gbkcrlf/chap/introduction.tex b/Master/texmf-dist/doc/latex/pkuthss/gbkcrlf/chap/introduction.tex new file mode 100644 index 00000000000..e2485963cfe --- /dev/null +++ b/Master/texmf-dist/doc/latex/pkuthss/gbkcrlf/chap/introduction.tex @@ -0,0 +1,46 @@ +% vim:ts=4:sw=4 +% +% Copyright (c) 2008-2009 solvethis +% Copyright (c) 2010-2012 Casper Ti. Vector +% Public domain. + +\specialchap{绪言} + +本文档是“北京大学论文文档模版”的说明文档, +同时也是使用模版的一个示例。 + +pkuthss 文档模版由三部分构成: +\begin{itemize} + \item \textbf{pkuthss 文档类}: + 其中进行了学位论文所需要的一些基本的设定, + 主要包括对基本排版格式的设定和提供设置论文信息的命令。 + \item \textbf{pkuthss-extra 宏包}: + 其中实现了学位论文中用户可能较多用到的一些额外功能, + 例如自动在目录中加入参考文献和索引的条目和% + 自动根据用户设定的文档信息对所生成 pdf 的作者、标题等属性进行设置等。 + \item \textbf{说明(示例)文档}: + 说明文档即本文档, + 在安装(见第 \ref{sec:inst} 节)之后应该可以用 \TeX{} 系统提供的 + \verb|texdoc| 命令调出: +\begin{Verbatim}[frame=single] +texdoc pkuthss +\end{Verbatim} + 同时, + 本文档的源代码(位于 \verb|doc/| 目录下)% + 也正是用户撰写自己的学位论文时的一个模版: + 用户只需按照模版中的框架修改代码, + 即可写出自己的论文。 +\end{itemize} + +在此之前,包括 dypang\supercite{dypang}、FerretL\supercite{FerretL}、% +lwolf\supercite{lwolf}、Langpku\supercite{Langpku}、% +solvethis\supercite{solvethis} 等的数位网友均做过学位论文模版的工作。 +本论文模版是 solvethis 的 pkuthss 模版的更新版本, +更新的重点是重构和对新文档类、宏包的支持。 + +pkuthss 文档模版现在的维护者是 Casper Ti. Vector\footnote% +{\href{mailto:CasperVector@gmail.com}{\texttt{CasperVector@gmail.com}}}。% +pkuthss 文档模版目前托管在 Google Code 上, +其项目主页是:\\ +\hspace*{\parindent}\url{http://code.google.com/p/caspervector/} + diff --git a/Master/texmf-dist/doc/latex/pkuthss/gbkcrlf/chap/originauth.tex b/Master/texmf-dist/doc/latex/pkuthss/gbkcrlf/chap/originauth.tex new file mode 100644 index 00000000000..ef69a5ce10c --- /dev/null +++ b/Master/texmf-dist/doc/latex/pkuthss/gbkcrlf/chap/originauth.tex @@ -0,0 +1,80 @@ +% vim:ts=4:sw=4 +% +% Copyright (c) 2008-2009 solvethis +% Copyright (c) 2010-2012 Casper Ti. Vector +% All rights reserved. +% +% Redistribution and use in source and binary forms, with or without +% modification, are permitted provided that the following conditions are +% met: +% +% * Redistributions of source code must retain the above copyright notice, +% this list of conditions and the following disclaimer. +% * Redistributions in binary form must reproduce the above copyright +% notice, this list of conditions and the following disclaimer in the +% documentation and/or other materials provided with the distribution. +% * Neither the name of Peking University nor the names of its contributors +% may be used to endorse or promote products derived from this software +% without specific prior written permission. +% +% THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS +% IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +% THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +% PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR +% CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +% EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +% PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +% PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +% LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +% NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +% SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +% 原创性声明和使用授权说明页不需要装订到论文中,故不显示页码。 +\cleardoublepage\thispagestyle{empty} +{ + \linespread{1.5}\selectfont + \section*{北京大学学位论文原创性声明和使用授权说明} + + \vfill + \section*{原创性声明} + + 本人郑重声明: + 所呈交的学位论文,是本人在导师的指导下,独立进行研究工作所取得的成果。 + 除文中已经注明引用的内容外, + 本论文不含任何其他个人或集体已经发表或撰写过的作品或成果。 + 对本文的研究做出重要贡献的个人和集体,均已在文中以明确方式标明。 + 本声明的法律结果由本人承担。 + \vspace{2.5em}\par + \rightline + {% + 论文作者签名:\hspace{5em}% + 日期:\hspace{2em}年\hspace{2em}月\hspace{2em}日% + } + + \vfill + \section*{学位论文使用授权说明} + \vspace{-1em}\par + \centerline{\zihao{-4}(必须装订在提交学校图书馆的印刷本)} + \vspace{1em}\par + + 本人完全了解北京大学关于收集、保存、使用学位论文的规定,即: + \begin{itemize} + \item 按照学校要求提交学位论文的印刷本和电子版本; + \item 学校有权保存学位论文的印刷本和电子版, + 并提供目录检索与阅览服务,在校园网上提供服务; + \item 学校可以采用影印、缩印、数字化或其它复制手段保存论文; + \item 因某种特殊原因需要延迟发布学位论文电子版, + 授权学校在 $\square$\nobreakspace{}一年 / % + $\square$\nobreakspace{}两年 / % + $\square$\nobreakspace{}三年以后在校园网上全文发布。 + \end{itemize} + \par(保密论文在解密后遵守此规定) + \vspace{2.5em}\par + \rightline + {% + 论文作者签名:\hspace{5em}导师签名:\hspace{5em}% + 日期:\hspace{2em}年\hspace{2em}月\hspace{2em}日% + } + \par +} + diff --git a/Master/texmf-dist/doc/latex/pkuthss/gbkcrlf/img/Make.bat b/Master/texmf-dist/doc/latex/pkuthss/gbkcrlf/img/Make.bat new file mode 100644 index 00000000000..dd14e3db220 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pkuthss/gbkcrlf/img/Make.bat @@ -0,0 +1,31 @@ +@echo off + +@rem vim:ts=4:sw=4 +@rem +@rem Copyright (c) 2008-2009 solvethis +@rem Copyright (c) 2010-2012 Casper Ti. Vector +@rem Public domain. + +set GS=gswin32c +set GSOPTS=-q -dSAFER -dNOPAUSE -dBATCH -sDEVICE=pdfwrite +set WIDTHOPT=-dDEVICEWIDTHPOINTS= +set HEIGHTOPT=-dDEVICEHEIGHTPOINTS= +set OUTPUTOPT=-sOutputFile= + +if "%1"=="" goto pdf +if "%1"=="clean" (goto clean) else (goto usage) + +:pdf +%GS% %GSOPTS% %WIDTHOPT%400 %HEIGHTOPT%400 %OUTPUTOPT%pkulogo.pdf -f pkulogo.eps +%GS% %GSOPTS% %WIDTHOPT%525 %HEIGHTOPT%150 %OUTPUTOPT%pkuword.pdf -f pkuword.eps +goto end + +:clean +del pkulogo.pdf pkuword.pdf +goto end + +:usage +echo %0 [pdf] [clean] + +:end + diff --git a/Master/texmf-dist/doc/latex/pkuthss/gbkcrlf/img/Makefile b/Master/texmf-dist/doc/latex/pkuthss/gbkcrlf/img/Makefile new file mode 100644 index 00000000000..f3b2752d4f3 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pkuthss/gbkcrlf/img/Makefile @@ -0,0 +1,37 @@ +# vim:ts=4:sw=4 +# +# Copyright (c) 2008-2009 solvethis +# Copyright (c) 2010-2012 Casper Ti. Vector +# Public domain. + +# 直接使用 pkulogo.eps 作为论文封面图片也是可行的, +# 因为它使用的 Times-Bold 字体一般操作系统都有。 +# 这样用 LaTeX + dvipdfm 或 XeLaTeX 方式是可以编译成功的。 +# 可以使用 ghostscript 将 eps 文件转换为 和 pdf 格式, +# 则 pdfLaTeX 方式也可以编译成功。 + +OPTS = -q -dSAFER -dNOPAUSE -dBATCH -sDEVICE=pdfwrite +WIDTHOPT = -dDEVICEWIDTHPOINTS= +HEIGHTOPT = -dDEVICEHEIGHTPOINTS= +OUTPUTOPT = -sOutputFile= + +# 区分是 Windows 环境还是类 UNIX 环境。 +ifdef PATH + GS = gs + RM = rm -f +else + GS = gswin32c + RM = del +endif + +all: pkulogo.pdf pkuword.pdf + +pkulogo.pdf: pkulogo.eps + $(GS) $(OPTS) $(WIDTHOPT)400 $(HEIGHTOPT)400 $(OUTPUTOPT)$@ -f $< + +pkuword.pdf: pkuword.eps + $(GS) $(OPTS) $(WIDTHOPT)525 $(HEIGHTOPT)150 $(OUTPUTOPT)$@ -f $< + +clean: + $(RM) pkulogo.pdf pkuword.pdf + diff --git a/Master/texmf-dist/doc/latex/pkuthss/gbkcrlf/img/pkulogo.eps b/Master/texmf-dist/doc/latex/pkuthss/gbkcrlf/img/pkulogo.eps new file mode 100644 index 00000000000..855e3a17f3b --- /dev/null +++ b/Master/texmf-dist/doc/latex/pkuthss/gbkcrlf/img/pkulogo.eps @@ -0,0 +1,146 @@ +%!PS +%%BoundingBox: 0 0 400 400 +%%Pages: 1 +%%Page: 1 1 + +% Copyright (c) 2008-2009 solvethis +% Copyright (c) 2010-2012 Casper Ti. Vector +% All rights reserved. +% +% Redistribution and use in source and binary forms, with or without +% modification, are permitted provided that the following conditions are +% met: +% +% * Redistributions of source code must retain the above copyright notice, +% this list of conditions and the following disclaimer. +% * Redistributions in binary form must reproduce the above copyright +% notice, this list of conditions and the following disclaimer in the +% documentation and/or other materials provided with the distribution. +% * Neither the name of Peking University nor the names of its contributors +% may be used to endorse or promote products derived from this software +% without specific prior written permission. +% +% THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS +% IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +% THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +% PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR +% CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +% EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +% PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +% PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +% LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +% NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +% SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +% 设置北大红的色值(http://web5.pku.edu.cn/bs/cjwt/,问题 5)。 +% 要想将颜色改为黑色,只需将下面一行改为“0 setgray”即可。 +0.0 1.0 1.0 0.45 setcmykcolor +% 设置线的属性。 +1 setlinecap +1 setlinejoin + +% 将坐标原点移到图片的中心。 +200 200 translate +% 作出外圆。 +newpath +6 setlinewidth +0 0 195 0 360 arc +stroke +% 作出内圆。 +newpath +5 setlinewidth +0 0 143 0 360 arc +stroke + +% 描出“北大”字样。 +newpath +0 setlinewidth +-10 101 moveto +-10 101 -10 38 lineto +-10 35 -14 29 -19 28 curveto +-30 28 -60 15 -89 -26 curveto +-104 -39 -108 -24 -105 -16 curveto +-76 27 -36 45 -32 45 curveto +-30 46 -29 47 -29 49 curveto +-29 49 -29 68 lineto +-29 69 -30 69 -31 69 curveto +-38 67 -58 63 -83 42 curveto +-95 35 -103 49 -94 57 curveto +-72 74 -53 83 -31 88 curveto +-30 88 -29 89 -29 90 curveto +-29 90 -29 102 lineto +-29 111 -10 111 -10 101 curveto +10 101 moveto +10 101 10 38 lineto +10 35 14 29 19 28 curveto +30 28 60 15 89 -26 curveto +104 -39 108 -24 105 -16 curveto +76 27 36 45 32 45 curveto +30 46 29 47 29 49 curveto +29 49 29 68 lineto +29 69 30 69 31 69 curveto +38 67 58 63 83 42 curveto +95 35 103 49 94 57 curveto +72 74 53 83 31 88 curveto +30 88 29 89 29 90 curveto +29 90 29 102 lineto +29 111 10 111 10 101 curveto +-11 5 moveto +-11 4 -11 4 -12 4 curveto +-33 2 -65 -25 -80 -58 curveto +-82 -71 -70 -74 -63 -64 curveto +-45 -32 -27 -17 -12 -15 curveto +-11 -15 -11 -15 -11 -16 curveto +-11 -16 -11 -35 lineto +-11 -38 -11 -38 -13 -40 curveto +-28 -48 -34 -57 -45 -85 curveto +-48 -97 -32 -103 -28 -94 curveto +-15 -44 15 -44 28 -94 curveto +32 -103 48 -97 45 -85 curveto +34 -57 28 -48 13 -40 curveto +11 -38 11 -38 11 -35 curveto +11 -35 11 -16 lineto +11 -15 11 -15 12 -15 curveto +27 -17 45 -32 63 -64 curveto +70 -74 82 -71 80 -58 curveto +65 -25 33 2 12 4 curveto +11 4 11 4 11 5 curveto +11 5 11 12 lineto +11 25 -11 25 -11 12 curveto +-11 12 -11 5 lineto +133 0 moveto +0 0 133 0 360 arc +% 对刚作出的线条执行奇偶相间的填充,使中间空出的“北大”字样就是透明的。 +% 从而,即使页面带背景色,插入这个图片时也会很正常。 +eofill + +% 添加文字“PEKING UNIVERSITY 1898”。 +/Times-Bold findfont 40 scalefont setfont +/offset { dup stringwidth pop 2 div neg 155 moveto show } def + +gsave 112 rotate (P) offset grestore +gsave 98 rotate (E) offset grestore +gsave 84 rotate (K) offset grestore +gsave 70 rotate (I) offset grestore +gsave 56 rotate (N) offset grestore +gsave 41 rotate (G) offset grestore +gsave 15 rotate (U) offset grestore +gsave (N) offset grestore +gsave -14 rotate (I) offset grestore +gsave -28 rotate (V) offset grestore +gsave -42 rotate (E) offset grestore +gsave -56 rotate (R) offset grestore +gsave -70 rotate (S) offset grestore +gsave -84 rotate (I) offset grestore +gsave -98 rotate (T) offset grestore +gsave -112 rotate (Y) offset grestore + +/onset { dup stringwidth pop 2 div neg -182 moveto show } def + +gsave -24 rotate (1) onset grestore +gsave -8 rotate (8) onset grestore +gsave 8 rotate (9) onset grestore +gsave 24 rotate (8) onset grestore + +showpage +%%EOF diff --git a/Master/texmf-dist/doc/latex/pkuthss/gbkcrlf/img/pkuword.eps b/Master/texmf-dist/doc/latex/pkuthss/gbkcrlf/img/pkuword.eps new file mode 100644 index 00000000000..3ff831cae93 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pkuthss/gbkcrlf/img/pkuword.eps @@ -0,0 +1,273 @@ +%!PS +%%BoundingBox: 0 0 525 150 +%%Pages: 1 +%%Page: 1 1 + +% Copyright (c) 2008-2009 solvethis +% Copyright (c) 2010-2012 Casper Ti. Vector +% All rights reserved. +% +% Redistribution and use in source and binary forms, with or without +% modification, are permitted provided that the following conditions are +% met: +% +% * Redistributions of source code must retain the above copyright notice, +% this list of conditions and the following disclaimer. +% * Redistributions in binary form must reproduce the above copyright +% notice, this list of conditions and the following disclaimer in the +% documentation and/or other materials provided with the distribution. +% * Neither the name of Peking University nor the names of its contributors +% may be used to endorse or promote products derived from this software +% without specific prior written permission. +% +% THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS +% IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +% THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +% PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR +% CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +% EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +% PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +% PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +% LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +% NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +% SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +% 设置北大红的色值(http://web5.pku.edu.cn/bs/cjwt/,问题 5)。 +% 要想将颜色改为黑色,只需将下面一行改为“0 setgray”即可。 +0.0 1.0 1.0 0.45 setcmykcolor +% 缩放和平移。 +0.702957 0.602957 scale +-30 -9 translate + +% “北”。 +newpath +74 224 moveto +85.9 214.1 110.4 207.3 105 187 curveto +106 176.3 111.5 166.3 108 155 curveto +112.3 125.8 104.7 99 103 71 curveto +100.3 59.5 96.9 47.3 91 38 curveto +81.8 36 87.7 47.3 86 52 curveto +88.3 56.7 86.2 62 84 66 curveto +83 66 82 66 81 66 curveto +70.7 51.3 53.5 42.7 41 31 curveto +37.6 31.1 33.9 30.3 32 34 curveto +32.6 40.3 30.8 46.8 32 52 curveto +30.2 54 31.3 57.3 31 60 curveto +43.6 65.3 42.7 79.6 47 90 curveto +59 103.5 50 123.3 47 138 curveto +54.7 135.5 63.5 135.7 69 128 curveto +74.1 126.1 81.7 125.9 83 119 curveto +84.9 118.4 85.8 119.9 87 121 curveto +87 133.3 87 145.7 87 158 curveto +86.2 176.4 91.3 203.1 71 215 curveto +67.6 220.4 61.6 223.4 64 230 curveto +68.7 231.2 70.2 224.9 74 224 curveto +85 102 moveto +87.3 94.7 85.2 86.7 83 80 curveto +73.4 67.6 58.4 63.9 46 56 curveto +42.7 55.1 40.4 57.1 40 60 curveto +46 74 57.7 85.7 63 100 curveto +65.7 103 69.7 102.6 73 104 curveto +78.5 106.2 80.1 113.5 85 115 curveto +88 110.7 83.5 107 85 102 curveto +eofill +newpath +176 176 moveto +184.2 165.9 175.8 148 187 140 curveto +192.6 149.1 209.4 149.9 205 164 curveto +206 165.1 202.5 172.3 208 171 curveto +206.9 159.6 220 161 226 156 curveto +231.2 157.2 228.8 148.7 228 146 curveto +223.7 140 223 131.6 215 128 curveto +205 124.2 195.7 127.8 187 121 curveto +187 115 187 109 187 103 curveto +181.5 99.2 175.8 93.7 175 87 curveto +188.7 76.3 201.5 91.8 216 91 curveto +221.9 93 226.5 97.9 234 96 curveto +235.1 91.6 232.3 91.4 231 88 curveto +230 76.1 218.3 77.6 211 72 curveto +200.8 70.8 188.8 71.6 183 62 curveto +175.5 63.2 167.5 63 162 69 curveto +150.9 87.6 151.2 111 146 132 curveto +141.1 158 154 179.1 157 203 curveto +161.7 194.2 176.5 188.7 176 176 curveto +closepath +fill + +% “京”。 +newpath +351 221 moveto +349.4 215.9 349.3 209.3 343 207 curveto +332.9 217.2 312.8 180.1 322 206 curveto +322.3 218.3 314.3 227.2 311 238 curveto +309.3 244.7 315.9 244.8 320 243 curveto +329.3 239.7 338.7 234.2 346 228 curveto +346.6 225.2 350.4 223.8 351 221 curveto +closepath +fill +newpath +361 183 moveto +352.3 176.8 341.6 170.9 333 162 curveto +329.4 152.3 319 150.7 312 145 curveto +300.2 142.3 291.2 148.7 284 155 curveto +282.8 159.1 287.7 161.1 290 163 curveto +303.2 171.4 320.3 170.3 333 180 curveto +341.8 183.3 351 185.6 361 186 curveto +361 185 361 184 361 183 curveto +closepath +fill +newpath +357 135 moveto +361.8 126.8 349.9 127.4 347 122 curveto +341.4 114.9 332.9 110.9 329 104 curveto +327.3 101.3 322.5 100 324 96 curveto +326.1 92.8 330.4 96.3 333 98 curveto +337.3 100.7 341.7 97.3 346 97 curveto +343.8 86.8 332.7 85.7 326 80 curveto +322.5 79.3 318.3 77.9 317 74 curveto +312.2 64.9 322.3 60.7 321 52 curveto +323.8 41 328.2 28 325 17 curveto +317.4 16.8 319.5 25.8 314 29 curveto +311.8 32.7 304.6 30.9 306 37 curveto +309.5 37.7 313.7 39.1 315 43 curveto +314.3 48.7 316.7 55.6 313 60 curveto +311.1 60.3 309.6 59.5 308 59 curveto +293.5 46.9 284.8 31.5 271 20 curveto +264.2 18.7 260.4 24.7 259 30 curveto +257.8 32.6 258 35.9 258 39 curveto +276.8 39.2 288.7 56.3 304 65 curveto +307.5 64.9 309.3 69 312 71 curveto +313.3 74.6 309.9 76.3 309 79 curveto +308.3 85.9 319.3 93.8 311 98 curveto +306.6 97.1 300.6 97.6 299 92 curveto +304.1 80.4 294.9 72.3 289 64 curveto +287.6 63.3 287.4 65.7 286 65 curveto +277.5 80.5 281 99.7 283 117 curveto +287.1 115.7 290.3 112.3 294 110 curveto +309.9 114.8 321.3 130.8 337 136 curveto +343 134.2 351.6 135.3 357 135 curveto +closepath +fill +newpath +374 62 moveto +374 57.7 374 53.3 374 49 curveto +368.6 46.4 362.1 40.9 357 48 curveto +351.7 57.8 341.8 69.4 350 81 curveto +359.3 77.8 371.6 73.3 374 62 curveto +closepath +fill + +% “大”。 +newpath +501 224 moveto +507.6 216 519.8 213 519 202 curveto +510.5 194.5 518.5 184 516 174 curveto +513.8 166.3 516.2 156.7 514 149 curveto +514.3 146.1 517.5 145.7 520 146 curveto +537.1 151 538.8 182.5 560 171 curveto +557.7 161.3 549.5 155.7 542 149 curveto +533.4 140.8 521.6 133.8 514 123 curveto +512.2 101.2 508.4 78.4 488 66 curveto +476 57.9 463 52.2 449 49 curveto +447.3 51.2 438.3 44.3 442 51 curveto +450.7 56.3 458.9 62.7 468 67 curveto +482.2 77.4 486.1 93.8 491 109 curveto +484.7 113.3 478.3 105.7 472 104 curveto +456.1 97.9 445.1 86.2 430 78 curveto +424.8 75.9 419.1 72.1 413 75 curveto +406.8 81.8 408.2 93 408 101 curveto +411.9 101.9 410.9 97.2 414 96 curveto +436.6 97.6 452.7 115.2 474 120 curveto +480.7 125.8 491.4 124.2 496 133 curveto +500.2 163 498.3 195.4 486 221 curveto +487.2 223.7 488.1 229.2 493 227 curveto +495 224.5 497.7 223.5 501 224 curveto +closepath +fill +newpath +557 86 moveto +564 76.3 578.2 71.9 574 58 curveto +568.3 51.9 560.3 51.5 552 52 curveto +550.3 54.4 550.8 58.5 552 61 curveto +548.5 71.2 540.4 81.9 545 93 curveto +548.4 91.3 552.1 86.2 557 86 curveto +closepath +fill + +% 学。 +newpath +640 130 moveto +639.8 124 641.2 115.7 635 114 curveto +628.1 111.5 630.1 119.8 626 122 curveto +625.8 131.8 626.8 139.7 624 148 curveto +634.8 146.6 632.8 135.8 640 130 curveto +closepath +fill +newpath +733 248 moveto +738 233.7 720.5 224.5 721 210 curveto +728.7 202 735.5 214.1 744 213 curveto +753.3 220.2 762.3 213.3 773 214 curveto +768.4 191.6 756.7 169.5 737 156 curveto +736.5 154.6 736.3 153.1 735 152 curveto +740.1 145.1 758.1 154.4 754 140 curveto +746.5 116.3 724.8 109.9 705 101 curveto +715.3 113.3 728.2 123.7 736 138 curveto +733 143.2 726.9 137.7 723 136 curveto +703.9 117.4 683.8 101.3 660 94 curveto +652.2 91.7 644 90.4 635 91 curveto +635.9 98.4 645.4 97.9 650 103 curveto +673.8 121.1 701.1 130.5 726 146 curveto +726.6 147.9 725.1 148.8 724 150 curveto +716.7 151.2 712 146 706 144 curveto +705.5 149.3 711 153.3 709 158 curveto +704 160 699.6 166.5 694 164 curveto +686.8 160.8 686.1 147.6 677 150 curveto +677.2 159.5 697.7 166.9 684 176 curveto +694.5 171.8 700.6 182.7 705 189 curveto +705.8 191.9 705.5 193 703 195 curveto +699.4 194.7 696.9 191.6 693 192 curveto +693.6 196.3 699.8 198.2 699 203 curveto +694.9 208.7 686.3 203.7 684 212 curveto +684.1 216.3 689.1 212.2 692 213 curveto +695.3 212 699.5 214.5 703 216 curveto +718.6 222.2 724.8 240.5 726 255 curveto +729.2 254.8 729.6 249.9 733 248 curveto +748 193 moveto +743.7 180.6 733.5 168.9 725 160 curveto +724.5 167.3 722.5 174 719 180 curveto +710.8 180.5 719.2 163.3 708 168 curveto +696.3 179.3 716.2 187.4 718 198 curveto +728 202.3 738 194.7 748 193 curveto +eofill +newpath +640 195 moveto +643.7 193 646.5 188.9 651 189 curveto +661.3 177.5 670.8 165.7 671 150 curveto +667.8 144.8 662.5 140.5 657 139 curveto +653.4 161.3 643.8 182 627 198 curveto +625.5 199.7 625.5 203.3 627 205 curveto +632.2 203.8 635.2 197.3 640 195 curveto +closepath +fill +newpath +732 82 moveto +727.7 76.8 729.2 66.5 720 66 curveto +713.6 65.1 703.7 68.2 702 60 curveto +702.4 47.8 712 38.2 707 25 curveto +704 12.5 688.9 12 678 10 curveto +675.5 16.8 666.3 14.1 663 19 curveto +675.2 21.9 691.3 19.6 697 34 curveto +692.9 41.6 697.4 53.6 690 59 curveto +670.3 53.8 653.1 42.5 636 31 curveto +631.1 29.7 626.4 25.1 621 28 curveto +620.2 35.6 610.3 39.5 614 49 curveto +617.7 54.2 624 53 629 55 curveto +654.8 67.1 680.6 79.3 709 85 curveto +711.4 88.3 717 87.2 720 86 curveto +723.4 86.2 729.3 86.3 732 82 curveto +closepath +fill + +showpage +%%EOF diff --git a/Master/texmf-dist/doc/latex/pkuthss/gbkcrlf/pkuthss.bib b/Master/texmf-dist/doc/latex/pkuthss/gbkcrlf/pkuthss.bib new file mode 100644 index 00000000000..3a3d501cd8b --- /dev/null +++ b/Master/texmf-dist/doc/latex/pkuthss/gbkcrlf/pkuthss.bib @@ -0,0 +1,196 @@ +vim:ts=4:sw=4 + +@online{biber, + author = {Kime, Philip and Charette, Fran\c{c}ois}, + title = {Biber: A backend bibliography processor for biblatex (Version 0.9.9)}, + type = {M/OL}, + date = {2012-03-29}, + url = {http://mirror.ctan.org/biblio/biber/}, + urldate = {2012-08-01}, +} + +@online{biblatex, + author = {Lehman, Philipp}, + title = {The biblatex Package: Programmable Bibliographies and Citations (Version 1.7)}, + type = {M/OL}, + date = {2011-11-13}, + url = {http://mirror.ctan.org/macros/latex/exptl/biblatex/}, + urldate = {2012-08-01}, +} + +@online{biblatex-caspervector, + author = {Vector, Casper Ti.}, + title = {biblatex 参考文献和引用样式:caspervector v0.1.4}, + type = {M/OL}, + date = {2012-10-11}, + url = {http://caspervector.googlecode.com/files/biblatex-caspervector-0.1.4.zip}, + urldate = {2012-10-11}, + userf = {zh}, +} + +@online{ctex, + author = {{ctex.org}}, + title = {ctex 宏包说明(v1.02c)}, + type = {M/OL}, + date = {2011-03-11}, + url = {http://mirror.ctan.org/language/chinese/ctex/}, + urldate = {2012-08-01}, + userf = {zh}, +} + +@online{ctex-faq, + author = {吴凌云}, + title = {\CTeX{} FAQ(常见问题集),0.4 beta (89) 版}, + type = {M/OL}, + date = {2007-01-30}, + url = {http://mirror.ctan.org/info/ctex-faq/}, + urldate = {2012-08-01}, + userf = {zh}, +} + +@online{enumitem, + author = {Bezos, Javier}, + title = {Customizing lists with the enumitem package (Version 3.5.2)}, + type = {M/OL}, + date = {2011-09-28}, + url = {http://mirror.ctan.org/macros/latex/contrib/enumitem/}, + urldate = {2012-08-01}, +} + +@online{etoolbox, + author = {Lehman, Philipp}, + title = {The etoolbox package: An e-TeX Toolbox for Class and Package Authors (Version 2.1)}, + type = {M/OL}, + date = {2011-01-03}, + url = {http://mirror.ctan.org/macros/latex/contrib/etoolbox/}, + urldate = {2012-08-01}, +} + +@online{fancyhdr, + author = {van Oostrum, Piet}, + title = {Page layout in \LaTeX{}}, + type = {M/OL}, + date = {2004-03-02}, + url = {http://mirror.ctan.org/macros/latex/contrib/fancyhdr/}, + urldate = {2012-08-01}, +} + +@online{footmisc, + author = {Fairbairns, Robin}, + title = {footmisc --- a portmanteau package for customising footnotes in \LaTeX{}}, + type = {M/OL}, + date = {2011-07-06}, + url = {http://mirror.ctan.org/macros/latex/contrib/footmisc/}, + urldate = {2012-08-01}, +} + +@online{geometry, + author = {Umeki, Hideo}, + title = {The geometry package (v5.6)}, + type = {M/OL}, + date = {2010-09-12}, + url = {http://mirror.ctan.org/macros/latex/contrib/geometry/}, + urldate = {2012-08-01}, +} + +@online{graphicx, + author = {Carlisle, D. P.}, + title = {Packages in the `graphics' bundle}, + type = {M/OL}, + date = {2005-11-14}, + url = {http://mirror.ctan.org/macros/latex/required/graphics/}, + urldate = {2012-08-01}, +} + +@online{hyperref, + author = {Rahtz, Sebastian and Oberdiek, Heiko}, + title = {Hypertext marks in \LaTeX{}: a manual for hyperref (v6.82q)}, + type = {M/OL}, + date = {2012-05-13}, + url = {http://mirror.ctan.org/macros/latex/contrib/hyperref/}, + urldate = {2012-08-01}, +} + +@online{dypang, + author = {dypang}, + title = {北京大学硕博论文模版(测试版)}, + type = {EB/OL}, + date = {2005-04-05}, + url = {http://bdwm.net/a.php?b/Thesis/M.1112645491.A/D10F612.rar}, + urldate = {2012-08-01}, + userf = {zh}, +} + +@online{FerretL, + author = {FerretL}, + title = {新的 pku 博士论文模板}, + type = {EB/OL}, + date = {2007-03-27}, + url = {http://bdwm.net/a.php?b/Thesis/M.1174982168.A/4270722.rar}, + urldate = {2012-08-01}, + userf = {zh}, +} + +@online{lwolf, + author = {lwolf}, + title = {学士(硕/博)毕业论文模板 [基于 dypang 的模板]}, + type = {EB/OL}, + date = {2007-05-15}, + url = {http://bdwm.net/a.php?b/MathTools/M.1179239165.A/5A2D5A2.rar}, + urldate = {2012-08-01}, + userf = {zh}, +} + +@online{Langpku, + author = {Langpku}, + title = {Re: 关于置底模版的问题和一些修改}, + type = {EB/OL}, + date = {2007-06-01}, + url = {http://bdwm.net/a.php?b/MathTools/M.1180676700.A/DBB7810.zip}, + urldate = {2012-08-01}, + userf = {zh}, +} + +@online{solvethis, + author = {solvethis}, + title = {Re: 学位论文模板更新}, + type = {EB/OL}, + date = {2008-03-13}, + url = {http://bdwm.net/a.php?b/Thesis/M.1205377509.A/9413ED2.rar}, + urldate = {2012-08-01}, + userf = {zh}, +} + +@online{pku-copyright, + author = {北京大学研究生院}, + title = {北京大学学位论文版权声明(首页)}, + type = {M/OL}, + year = {2010}, + url = {http://grs.pku.edu.cn/document/20101110143928832634.doc}, + urldate = {2012-08-01}, + userf = {zh}, +} + +@online{pku-originauth, + author = {北京大学研究生院}, + title = {北京大学学位论文原创性声明和使用授权说明(末页)}, + type = {M/OL}, + year = {2010}, + url = {http://grs.pku.edu.cn/document/20101110143844053593.doc}, + urldate = {2012-08-01}, + userf = {zh}, +} + +@incollection{pku-thesisstyle, + author = {北京大学研究生院}, + title = {北京大学研究生学位论文的基本要求与书写格式}, + type = {M/OL}, + booktitle = {北京大学研究生手册}, + publisher = {北京大学}, + year = {2011}, + pages = {27-31}, + url = {http://grs.pku.edu.cn/document/20110829160841775796.doc}, + urldate = {2012-08-01}, + userf = {zh}, +} + diff --git a/Master/texmf-dist/doc/latex/pkuthss/gbkcrlf/pkuthss.tex b/Master/texmf-dist/doc/latex/pkuthss/gbkcrlf/pkuthss.tex new file mode 100644 index 00000000000..3dfb34496d4 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pkuthss/gbkcrlf/pkuthss.tex @@ -0,0 +1,101 @@ +% vim:ts=4:sw=4 +% +% Copyright (c) 2008-2009 solvethis +% Copyright (c) 2010-2012 Casper Ti. Vector +% Public domain. +% +% 使用前请先仔细阅读 pkuthss 和 biblatex-caspervector 的文档, +% 特别是其中的 FAQ 部分和用红色强调的部分。 +% 两者可在终端/命令提示符中用 +% texdoc pkuthss +% texdoc biblatex-caspervector +% 调出。 + +% 在黑白打印时彩色链接可能变成浅灰色,此时可将“colorlinks”改为“nocolorlinks”。 +\documentclass[GBK, colorlinks, notocbibind]{pkuthss} + +% 使用 biblatex 排版参考文献,并规定其格式。 +\usepackage[backend = biber, style = caspervector, gbk]{biblatex} +% 使得打字机粗体可以被使用。 +\usepackage{lmodern} +% 产生 originauth.tex 里的 \square。 +\usepackage{amssymb} +% 提供 Verbatim 环境和 \VerbatimInput 命令。 +\usepackage{fancyvrb} +% 提供各种 TeX logo,特别是 XeTeX 系的诡异 logo。 +\usepackage{hologo} + +% 使被强调的内容为红色。 +\newcommand{\myemph}[1]{\emph{\textcolor{red}{#1}}} + +% pkuthss 文档模版的版本。 +\newcommand{\docversion}{v1.4 beta2} +% 设定文档的基本信息。 +\pkuthssinfo{ + cthesisname = {本科生毕业论文}, ethesisname = {Undergraduate Thesis}, + ctitle = {北京大学论文文档模版\\pkuthss \docversion}, + % “\\”在设定 pdf 属性时会被自动过滤掉,于是得到的 pdf 属性中标题为 + % The PKU dissertation document classpkuthss [版本号] + % 此处指定其被替换为“: ”,以使之为 + % The PKU dissertation document class: pkuthss [版本号] + etitle = {% + The PKU dissertation document class\texorpdfstring{\\}{: }% + pkuthss \docversion% + }, + cauthor = {盖茨波 $\cdot$ 钛 $\cdot$ 维克托}, + eauthor = {Casper Ti.\ Vector}, + studentid = {00910???}, + date = {二〇一二年十月}, + school = {化学与分子工程学院}, + cmajor = {化学(?)}, emajor = {Chemistry}, + direction = {据说 Casper 自己也不知道}, + cmentor = {XX 教授}, ementor = {Prof.\ XX}, + ckeywords = {\LaTeX2e{},排版,文档类,\CTeX{}}, + ekeywords = {\LaTeX2e{}, typesetting, document class, \CTeX{}} +} +% 导入参考文献数据库(注意不要省略“.bib”)。 +\addbibresource{pkuthss.bib} + +\begin{document} + % 以下为正文之前的部分。 + \frontmatter + + % 自动生成标题页。 + \maketitle + % 版权声明。 + \include{chap/copyright} + % 中英文摘要。 + \include{chap/abstract} + % 自动生成目录。 + \tableofcontents + + % 以下为正文。 + \mainmatter + + % 绪言。 + \include{chap/introduction} + % 各章节。 + \include{chap/chap1} + \include{chap/chap2} + \include{chap/chap3} + % 结论。 + \include{chap/conclusion} + + % 正文中的附录部分。 + \appendix + % 排版参考文献列表,并使其出现在目录中。 + % 如果同时要使参考文献列表参与章节编号,可将“bibintoc”改为“bibnumbered”。 + \printbibliography[heading = bibintoc] + % 各附录。 + \include{chap/encl1} + \include{chap/encl2} + + % 以下为正文之后的部分。 + \backmatter + + % 致谢。 + \include{chap/acknowledge} + % 原创性声明和使用授权说明。 + \include{chap/originauth} +\end{document} + diff --git a/Master/texmf-dist/doc/latex/pkuthss/pkuthss.pdf b/Master/texmf-dist/doc/latex/pkuthss/pkuthss.pdf Binary files differnew file mode 100644 index 00000000000..c0487a77913 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pkuthss/pkuthss.pdf diff --git a/Master/texmf-dist/doc/latex/pkuthss/utf8lf/ChangeLog-upto-1.3.txt b/Master/texmf-dist/doc/latex/pkuthss/utf8lf/ChangeLog-upto-1.3.txt new file mode 100644 index 00000000000..7f3d30b4d58 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pkuthss/utf8lf/ChangeLog-upto-1.3.txt @@ -0,0 +1,63 @@ +2011/12/21锛寁er 1.3锛堝寘鎷墠闈㈡墍鏈 alpha銆乥eta 鍜 rc 鐗堟湰锛夛細 +--- 杩涗竴姝ラ噸鏋勶紝 + 灏嗘牳蹇冭缃泦涓簬 pkuthss 鏂囨。绫讳腑锛 + 甯歌鐨勯澶栬缃泦涓簬 pkuthss-extra 瀹忓寘涓 +--- 缁熶竴瀹忕殑鍛藉悕瑙勫垯銆 +--- 鏀寔浣跨敤 key=val 璇硶杩涜鏂囨。淇℃伅鐨勮缃紝浣挎枃妗g粨鏋勬洿鍔犳竻鏅般 +--- 璁惧畾 pdf 鍏冩暟鎹椂浣跨敤鑻辨枃鐨勬枃妗d俊鎭紝缁曡繃瀛楃缂栫爜鐨勯棶棰樸 +--- 鍦ㄦ枃妗d腑鍔犲叆涓浠戒唬鐮佺殑 listing锛 + 浠ュ敖閲忛伩鍏嶄笉鏂湁浜烘姳鎬ㄧ殑鏂囨。绫讳唬鐮佲滀贡鐮佲濈殑闂銆 +--- 鍘绘帀浜 FAQ 閮ㄥ垎锛 + 鍥犱负鍏朵腑鍐呭鎴栨槸姣旇緝闄堟棫锛屾垨鏄凡缁忓湪鍓嶉潰鎻愬埌銆 +--- 閲嶆柊閫夋嫨 license锛屽敖閲忓噺灏戝鐢ㄦ埛涓嶅繀瑕佺殑绾︽潫銆 + +2010/11/30锛寁er 1.2锛堝寘鎷墠闈㈡墍鏈 beta 鐗堟湰锛夛細 +--- 鏀寔 UTF-8 鍜 GBK 缂栫爜銆 + 鏀寔 XeLaTeX锛堜絾涓嶅彲鍜 GBK 鍚岀敤锛夈 +--- 杈冨ぇ瑙勬ā閲嶆瀯锛 + 瀹氫箟浜嗕竴浜涙柊鍛戒护浠ュ疄鐜颁竴浜涢噸澶嶇殑浠g爜鐨勫姛鑳斤紝 + 鍒犻櫎浜嗗啑浣欎唬鐮佸拰涓浜涚敤澶勪笉澶х殑鏃у懡浠わ紝璋冩暣浜嗙洰褰曠粨鏋勩 +--- 灏嗛儴鍒嗛噸澶嶄唬鐮佺粺涓锛 + 骞舵妸涓浜涘皢鏉ュ彲鑳藉紩璧蜂笉鍏煎鐨勫懡浠や互鏍囧噯 LaTeX 鍛戒护浠f浛銆 +--- 鑰冭檻鍒扮幇鍦ㄧ殑 ctex 瀹忓寘宸茬粡瀵逛腑鏂囨帓鐗堢殑鏍煎紡鍋氬嚭浜嗚緝濂界殑璁惧畾锛 + 骞朵笖宸茬粡杈冨ソ鍦版敮鎸佷簡 hyperref锛 + 鍒犻櫎浜嗙被鏂囦欢涓瀹氭帓鐗堟牸寮忕殑閮ㄥ垎浠g爜锛 + 涓斿幓闄や簡瀵 ifpdf 瀹忓寘鐨勭洿鎺ヤ緷璧栥 +--- 缁熶竴鍚勫鐨勯暱搴﹀崟浣嶏紝鍧囦娇鐢 pt 鎴 em锛屼互鍏嶅紩璧峰洶鎯戙 +--- 浠庣編鐨勮搴﹁皟鏁翠簡閮ㄥ垎鎺掔増鏍煎紡锛 + 鐗瑰埆鏄幓鎺変簡鎵鏈夌敤 poor man's bold 瀹炵幇鐨勨滅矖瀹嬩綋鈥濄 + +2008/03/13锛寁er 1.1锛 +--- 鏇存浜嗏済eometry鈥濓紝灏嗙焊寮犲ぇ灏忚涓衡渁4paper鈥濄 +--- 鏇存柊浜 chaps/mydefs.tex锛屽皢鈥渃olorlinks鈥濊涓衡渇alse鈥濓紝 + 鍥犱负甯﹂鑹茬殑閾炬帴鍦ㄩ粦鐧芥墦鍗版満涓婃墦鍑烘潵寰寰棰滆壊寰堟祬銆 +--- 鏇存浜 chaps/sample.bib锛屽皢鈥淪OURCE鈥濇敼涓衡淯RL鈥濄 + 杩欐牱 BibTeX 铏界劧鍙堜細 Warning锛屼笉杩囪繖鏍锋蹇典笂鏇存纭紝 + 鑰屼笖缁撴灉杩樹笉閿欍 +--- 鍒犻櫎浜 pkuthss.cls 鍜 pkuthss.def 鐨勯儴鍒嗗唴瀹癸紝 + 鍥犱负鏈鍚庣殑涓や釜澹版槑閮戒笉蹇呰璁㈠埌璁烘枃涓 + +2007/12/12锛寁er 1.0 rc4锛 +--- 灏嗏淺bibstyle鈥濊涓衡渃hinesebst鈥濄 + +2007/09/05锛寁er 1.0 rc3锛 +--- 灏侀潰椤典綔浜嗗皬鐨勮皟鏁达紝褰撴爣棰樺彧鏈変竴琛屾椂涔熶笉浼氫骇鐢 Warning銆 + 鐜板湪鐨勫疄鐜版柟娉曚娇鐢ㄧ殑鏄爣鍑嗙殑 LaTeX box銆 +--- 鍔犲叆浜嗏済raphicx鈥濈殑鐗堟湰瑕佹眰銆 + +2007/09/04锛寁er 1.0 rc2锛 +--- 鍦 preamble 閮ㄥ垎鐜板湪鍙娇鐢ㄤ腑鏂囥 +--- 鏇存浜嗙増蹇冨昂瀵革紝鍗冲湪鈥済eometry鈥濈殑閫夐」涓姞鍏モ渋ncludeheadfoot鈥濄 +--- 鏀硅繘浜 pkulogo.ps 锛屽苟鎻愪緵浜 img/Makefile銆 + +2007/09/02锛寁er 1.0 rc1锛 +--- 鐢变簬鈥淺ifx\pdfoutput\undefined鈥濆湪 teTeX-3.0 涓笉璧蜂綔鐢紝 + 鏀逛负浣跨敤鈥渋fpdf鈥濆畯鍖呫 +--- sample.tex and chaps/1.tex changed accordingly銆 +--- Linux/Unix 鐨勯粯璁ょ紪璇戞柟寮忔敼涓轰娇鐢 pdflatex锛岃 Makefile銆 +--- 娑堥櫎浜嗚繍琛 BibTeX 鏃跺嚭鐜扮殑涓涓 Warning銆 + +2007/09/01锛寁er 1.0 beta锛 +--- 鏈鍒濈殑灏濊瘯銆 + +# vim:ts=4:sw=4 diff --git a/Master/texmf-dist/doc/latex/pkuthss/utf8lf/ChangeLog.txt b/Master/texmf-dist/doc/latex/pkuthss/utf8lf/ChangeLog.txt new file mode 100644 index 00000000000..0b90cfa061b --- /dev/null +++ b/Master/texmf-dist/doc/latex/pkuthss/utf8lf/ChangeLog.txt @@ -0,0 +1,92 @@ +2012-10-11, v1.4 beta2 + * Changes to package code: + - Adjust pkulogo/pkuword typesetting according to + <http://web5.pku.edu.cn/bs/images/cgzs/images1/13.png> + + * Changes to documentation: + - Add (more) useful notices and hints. + - Bibliography sanitation. + + * Misc: + - Add CTAN support. + - utils/bump: Improve date conversion code. + +2012-05-31, v1.4 beta1 + + * Changes to documentation: + - Use `biber -l zh__pinyin'. + - Add notice for biber in the "compilation" section. + - Recommend users to use standalone TeXLive. + - Minor adjustment to documentation order. + + * Misc: + - Minor fixes and improvements. + - Add QA test for biblatex-caspervector version. + - Remove spaces and tabs on blank lines, add related QA check. + +2012-05-30, v1.4 alpha3 + + * API Changes: + - `[no]tocbibind' -> `[no]pdftoc', functionality reduced (see below). + - `[no]upcite' removed since biblatex supports it quite flexibly. + + * Changes to package code: + - Remove uses of tocbibind because it crashes with biblatex. + + * Changes to documentation: + - Use biblatex for bibliography formatting. + - Add instructions for natbib, remove instructions for natbib. + - (Re)add the FAQ section. + - Use more printer-friendly colours. + - Enhance `doc/Make.bat' with bat's `call'. + - Use the hologo package for TeX logos. + - Use tabs in `pkuthss.bib'. + - Update bib file for Casper's biblatex style. + - `thanks.tex' -> `acknowledge.tex' + - Use better determined format for .bib files. + + * Misc: + - Split Makefile functionalities to executable in `utils/'. + - `maintcheck' -> `qa', `revbump' -> `bump'. + - Split encoding and line terminator stuffs to `enclt'. + - `dist' now automatically joins biblatex-caspervector files. + - Update find(1) usage. + - QA script updated. + - Use sed(1)'s `y' instead of python's `str.translate()' in `bump'. + - Add appropriate copyright notices. + - Add indentation modelines. + +2012-05-12, v1.4 alpha2 + + * Changes to package code: + - Fix positioning of boxes on title page. + - Unify code that fill in blanks on the title page. + - Merge ctex-kit updates with minor modifications. + + * Changes to documentation: + - Add indication for customising title page by modifying `pkuthss.cls'. + + * Misc: + - Add `maintcheck' and `revbump' to root Makefile to ease automation. + +2012-04-13, v1.4 alpha1 + + * API Changes: + - `[no]linkcolor' -> `[no]colorlinks'. + - `[no]pdfmeta' -> `[no]pdfprop'. + - `\setpdfmetadata' -> `\setpdfproperties'. + + * Changes to package code: + - Simplify package code with `\@nameuse' and `\@namedef'. + - Use `瀵糪hspace{2em}甯堬細' for title page and `瀵煎笀锛' for abstract. + + * Changes to documentation: + - Fix typos: "妯℃澘" -> "妯$増". + - Indicate that `texdoc' requires pkuthss be installed "regular"ly. + - Improve spacing details. + + * Misc: + - Update copyright notices. + - Revise Makefiles. + +# vim:ts=4:sw=4 diff --git a/Master/texmf-dist/doc/latex/pkuthss/utf8lf/Make.bat b/Master/texmf-dist/doc/latex/pkuthss/utf8lf/Make.bat new file mode 100644 index 00000000000..4fc74078fc9 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pkuthss/utf8lf/Make.bat @@ -0,0 +1,48 @@ +@echo off + +@rem vim:ts=4:sw=4 +@rem +@rem Copyright (c) 2008-2009 solvethis +@rem Copyright (c) 2010-2012 Casper Ti. Vector +@rem Public domain. + +set JOBNAME=pkuthss +@rem 这个变量的值可以为 latex 或 pdflatex。 +set LATEX=latex +@rem 如果无法使用 biber,可以改为“bibtex”。 +set BIBTEX=biber -l zh__pinyin +set GBK2UNI=gbk2uni +set DVIPDF=dvipdfmx + +if "%LATEX%"=="latex" (set DODVIPDF=%DVIPDF% %JOBNAME% +) else (set DODVIPDF=echo No need to run %DVIPDF%.) +@rem 用 pdflatex 时可能需要使用 gbk2uni 转换 .out 文件编码以防书签乱码。 +if "%LATEX%"=="pdflatex" (@rem set DOGBK2UNI=%GBK2UNI% %JOBNAME% +) else (set DOGBK2UNI=echo No need to run %GBK2UNI%.) +if "%1"=="" goto doc +if "%1"=="doc" goto doc +if "%1"=="clear" (goto clear) else (goto usage) + +:doc +cd img +call Make.bat +cd .. +%LATEX% %JOBNAME% +%BIBTEX% %JOBNAME% +%DOGBK2UNI% +%LATEX% %JOBNAME% +%LATEX% %JOBNAME% +%DODVIPDF% +goto end + +:clear +del *.aux *.bbl *.bcf *.blg *.dvi *.lof *.log *.lot *.run.xml *.toc *.out +del missfont.log chap\*.aux +goto end + +:usage +echo %0 [doc] [clear] +goto end + +:end + diff --git a/Master/texmf-dist/doc/latex/pkuthss/utf8lf/Makefile b/Master/texmf-dist/doc/latex/pkuthss/utf8lf/Makefile new file mode 100644 index 00000000000..38dffe319dd --- /dev/null +++ b/Master/texmf-dist/doc/latex/pkuthss/utf8lf/Makefile @@ -0,0 +1,62 @@ +# vim:ts=4:sw=4 +# +# Copyright (c) 2008-2009 solvethis +# Copyright (c) 2010-2012 Casper Ti. Vector +# Public domain. + +# 琚紪璇戠殑涓绘枃浠剁殑鏂囦欢鍚嶏紝涓嶅寘鎷墿灞曞悕銆 +JOBNAME = pkuthss +# 杩欎釜鍙橀噺鐨勫煎彲浠ヤ负 latex銆乸dflatex 鎴 xelatex銆 +LATEX = latex +# 濡傛灉鏃犳硶浣跨敤 biber锛屽彲浠ユ敼涓衡渂ibtex鈥濄 +BIBTEX = biber -l zh__pinyin +GBK2UNI = gbk2uni +DVIPDF = dvipdfmx + +# 濡傛灉鐢 LaTeX 缂栬瘧锛屽垯浣跨敤 dvipdfmx 灏 dvi 杞垚 pdf銆 +ifeq ($(LATEX), latex) + DODVIPDF = $(DVIPDF) $(JOBNAME) +endif + +# 浣跨敤 GBK 缂栫爜鍜 pdflatex 缂栬瘧鏂瑰紡鏃讹紝鍙兘闇瑕佷娇鐢 gbk2uni 杞崲 .out +# 鏂囦欢缂栫爜锛屼互闃蹭功绛句贡鐮併 +ifeq ($(LATEX), pdflatex) + # 鑰冭檻鍒板彲鑳芥湁鐢ㄦ埛鏈畨瑁 gbk2uni锛屼笖鏈夌敤鎴蜂娇鐢 UTF-8 缂栫爜锛 + # 榛樿鐢ㄢ#鈥濇敞閲婃帀浜 DOGBK2UNI 鐨勫畾涔夈 + # 鐢ㄦ埛鍙互鎵嬪姩鍙栨秷鍏舵敞閲婏紙鍘绘帀涓嬩竴琛屼腑鐨勨#鈥濓級銆 + #DOGBK2UNI = $(GBK2UNI) $(JOBNAME) +endif + +# 鍖哄垎鏄 Windows 鐜杩樻槸绫 UNIX 鐜銆 +# 濡傛灉鏄悗鑰咃紝鍒 GNU make 灏嗗彲浠ユ娴嬪埌宸茬粡瀹氫箟 PATH 鐜鍙橀噺銆 +ifdef PATH + MAKE = make + RM = rm -f +else + MAKE = mingw32-make + RM = del +endif + +all: img_ doc + +img_: + cd img && $(MAKE) + +img-clean: + cd img && $(MAKE) clean + +doc: + $(LATEX) $(JOBNAME) + $(BIBTEX) $(JOBNAME) + $(DOGBK2UNI) + $(LATEX) $(JOBNAME) + $(LATEX) $(JOBNAME) + $(DODVIPDF) + +clean: + $(RM) $(JOBNAME).{aux,bbl,bcf,blg,dvi,lof,log,lot,run.xml,toc,out{,.bak}} \ + {missfont,texput}.log chap/*.aux + +distclean: clean img-clean + $(RM) $(JOBNAME).pdf + diff --git a/Master/texmf-dist/doc/latex/pkuthss/utf8lf/chap/abstract.tex b/Master/texmf-dist/doc/latex/pkuthss/utf8lf/chap/abstract.tex new file mode 100644 index 00000000000..02e7a87712d --- /dev/null +++ b/Master/texmf-dist/doc/latex/pkuthss/utf8lf/chap/abstract.tex @@ -0,0 +1,22 @@ +% vim:ts=4:sw=4 +% +% Copyright (c) 2008-2009 solvethis +% Copyright (c) 2010-2012 Casper Ti. Vector +% Public domain. + +\begin{cabstract} + + 鏈枃浠嬬粛浜 pkuthss 鏂囨。妯$増鎵鎻愪緵鐨勫姛鑳斤紝 + 骞朵互鑷韩涓轰緥婕旂ず浜嗚妯$増鐨勪娇鐢ㄣ + +\end{cabstract} + +\begin{eabstract} + + This paper describes the the functions provided by + the pkuthss document template, + and provides itself as an example to illustrate + the usage of the document class. + +\end{eabstract} + diff --git a/Master/texmf-dist/doc/latex/pkuthss/utf8lf/chap/acknowledge.tex b/Master/texmf-dist/doc/latex/pkuthss/utf8lf/chap/acknowledge.tex new file mode 100644 index 00000000000..0ba3d562219 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pkuthss/utf8lf/chap/acknowledge.tex @@ -0,0 +1,12 @@ +% vim:ts=4:sw=4 +% +% Copyright (c) 2008-2009 solvethis +% Copyright (c) 2010-2012 Casper Ti. Vector +% Public domain. + +\chapter{鑷磋阿} + +鎰熻阿鍖楀ぇ鏈悕 BBS 鐨 MathTools 鐗堝拰 Thesis 鐗堣浣嶅悓瀛︾殑鏀寔銆 +鐗瑰埆鎰熻阿 pkuthss 妯$増鐨勬渶鍒濆垱浣滆 solvethis 缃戝弸锛 +浠ュ強涓嶆柇鍦板 Casper 鎻愬嚭鐨勮澶氶棶棰樹簣浠ヨВ绛旂殑 cauchy 缃戝弸 :) + diff --git a/Master/texmf-dist/doc/latex/pkuthss/utf8lf/chap/chap1.tex b/Master/texmf-dist/doc/latex/pkuthss/utf8lf/chap/chap1.tex new file mode 100644 index 00000000000..28e17061046 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pkuthss/utf8lf/chap/chap1.tex @@ -0,0 +1,166 @@ +% vim:ts=4:sw=4 +% +% Copyright (c) 2008-2009 solvethis +% Copyright (c) 2010-2012 Casper Ti. Vector +% Public domain. + +\chapter{浣跨敤浠嬬粛} + \section{绯荤粺瑕佹眰}\label{sec:req} + + 姝g‘缂栬瘧闇瑕佷互涓嬪嚑閮ㄥ垎锛 + \begin{itemize} + \item 涓涓熀鏈殑 \TeX{} 鍙戣鐗堛 + \item CJK 鎴 XeCJK锛堜緵 \hologo{XeLaTeX} 浣跨敤锛夊畯鍖呫 + \item ctex 瀹忓寘\supercite{ctex,ctex-faq}锛堟彁渚涗簡 ctexbook 鏂囨。绫伙級銆 + \item 涓枃瀛椾綋銆 + \item 濡傛灉瑕佷娇鐢 biblatex 杩涜鏂囩尞鍒楄〃鍜屽紩鐢ㄧ殑鎺掔増鐨勮瘽锛 + 杩橀渶瑕 biblatex 瀹忓寘\supercite{biblatex}锛 + \item 濡傛灉闇瑕佸涓枃鏂囩尞杩涜鎸夋眽璇嫾闊崇殑鎺掑簭鐨勮瘽锛 + 杩橀渶瑕 biber 绋嬪簭\supercite{biber}銆 + \item 濡傛灉榛樿鐨勬枃鐚垪琛ㄥ拰寮曠敤鏍峰紡鐨勮瘽锛 + 杩橀渶瑕佷綔鑰呯紪鍐欑殑 biblatex 鏍峰紡 + 锛坆iblatex-caspervector锛塡supercite{biblatex-caspervector}銆 + \item 濡傛灉闇瑕佷娇鐢 Makefile 鏉ュ疄鐜拌嚜鍔ㄧ紪璇戯紝杩橀渶瑕 Make 宸ュ叿锛 + 浣嗗鏋滀娇鐢ㄧ敱鎵瑰鐞嗗疄鐜扮殑浼淢akefile鈥濆氨涓嶇敤浜嗐 + \end{itemize} + + \myemph{鏈鏂皚鐨刓myemph{瀹屽叏鐗坿 \TeX{}Live 绯荤粺锛圽myemph{% + 娉細 + 鏌愪簺 Linux 鍙戣鐗堣蒋浠朵粨搴撲腑鐨 \TeX{}Live 鏈夐棶棰橈紝 + 寤鸿浣跨敤鐙珛瀹夎鐗堢殑 \TeX{}Live% + \footnote{\url{http://www.tug.org/texlive/}.}銆% + }锛夊拰 \CTeX{} 濂楄閮藉凡缁忓寘鍚櫎涓枃瀛椾綋鍜 Make 涔嬪鎵鏈夎姹傜殑椤圭洰銆% + \myemph{% + 涓轰簡鑾峰緱鏈濂界殑鏀寔锛 + 鎴戜滑寤鸿鐢ㄦ埛浣跨敤鏈鏂板畬鍏ㄧ増鐨 \TeX{} 绯荤粺鍜屽悇瀹忓寘銆% + }鏍规嵁鐩墠宸叉湁鐨勬祴璇曠粨鏋滐紝 + 浣跨敤 \TeX{}Live 2009 鍙婂叾浠ヤ笂绋冲畾鐗堟湰% + 鎴 \CTeX{} 濂楄 v2.8 绯诲垪鍙婂叾浠ヤ笂鐗堟湰 + 鐨勭敤鎴峰彲浠ユ甯镐娇鐢ㄦ湰妯$増銆 + + 涓枃瀛椾綋闇瑕佺敤鎴疯嚜琛岃幏寰椼俓myemph{% + 娉細 + 涓浜涗腑鏂囧瓧浣撶殑瀛楀簱涓嶅叏锛 + 鍙湁 GB2312 瀛楃闆嗗唴瀛楃鐨勫瓧浣撲俊鎭 + 杩欑鎯呭喌閫氬父浼氶犳垚缂栬瘧鐢熸垚鐨 pdf 鏂囦欢涓己灏戦儴鍒嗗瓧绗︼紝 + 鍏朵腑涓绉嶅吀鍨嬬棁鐘舵槸灏侀潰鐨勨溿団濆瓧鏄剧ず涓嶅嚭鏉ャ + 濡傛灉瑕佷娇鐢ㄤ腑鏄撳叕鍙哥殑瀛椾綋锛 + 鍒欏缓璁娇鐢 Windows Vista 鍙婂叾浠ュ悗鐗堟湰鎻愪緵鐨% + 瀹嬩綋銆侀粦浣撱佹シ浣撳拰浠垮畫浣擄紝 + 浠ュ強 Microsoft Office 2003 鍙婂叾浠ュ悗鐗堟湰鎻愪緵鐨勯毝涔﹀拰骞煎渾浣擄紝 + 杩欎簺瀛椾綋鏄 GB18030 瀛楃闆嗙殑锛屼笉瀛樺湪涓婅堪闂銆% + } + + Linux 鐢ㄦ埛鍙互浠庤蒋浠舵簮鑾峰緱 GNU 鐨 make锛 + 鍏跺畠绫 UNIX 绯荤粺搴旇涔熶細鎻愪緵 make 宸ュ叿锛岃鍙傞槄鐩稿簲鐨勬枃妗d互鑾峰緱甯姪銆% + Windows 鐢ㄦ埛鍙互浠庝互涓嬪湴鍧涓嬭浇 Windows 涓嬬殑 GNU make 宸ュ叿锛歕\ + \hspace*{\parindent}% + \url{http://gnuwin32.sourceforge.net/packages/make.htm} + + \section{瀹夎鏂规硶}\label{sec:inst} + + 浣跨敤 \TeX{}Live 鐨勭敤鎴峰彲浠ラ氳繃鍦ㄧ粓绔腑浠ョ鐞嗗憳鏉冮檺鎵ц +\begin{Verbatim}[frame = single] +tlmgr install pkuthss +\end{Verbatim} + 鏉ュ畨瑁 pkuthss 鏂囨。妯$増銆 + + 浣跨敤 \CTeX{} 濂楄鐨勭敤鎴峰彲浠ラ氳繃鍦ㄥ懡浠ゆ彁绀虹涓墽琛 +\begin{Verbatim}[frame = single] +mpm --install=pkuthss +\end{Verbatim} + 鏉ュ畨瑁 pkuthss 鏂囨。妯$増銆 + + \section{妯$増鏂囦欢}\label{sec:doc-dir} + + 鍦ㄦ纭畨瑁 pkuthss 鏂囨。妯$増涔嬪悗锛屽湪缁堢/鍛戒护鎻愮ず绗︿腑鎵ц +\begin{Verbatim}[frame = single] +texdoc pkuthss +\end{Verbatim} + 鎵鎵撳紑鐨 pdf 鎵鍦ㄧ殑鍚屼竴鐩綍涓寘鍚湰鏂囨。锛圽verb|pkuthss.pdf|锛夌殑婧愪唬鐮% + 锛圽verb|utf8lf/| 鍜 \verb|gbkcrlf/| 涓や釜瀛愮洰褰曪紝 + 涓ょ洰褰曚腑浠g爜闄や娇鐢ㄧ殑缂栫爜鍜屾崲琛岀澶栧熀鏈笂瀹屽叏鐩稿悓锛夈 + + 鍏朵腑锛% + \verb|utf8lf/| 鐩綍涓嬬殑婧愪唬鐮佷娇鐢ㄧ殑鏄 UTF-8 缂栫爜銆乗verb|\n|锛圠F锛夋崲琛岋紝 + 閫傚悎绫 UNIX 绯荤粺鐢ㄦ埛浣跨敤锛% + \verb|gbkcrlf/| 鐩綍涓嬬殑婧愪唬鐮佷娇鐢ㄧ殑鏄 GBK 缂栫爜銆乗verb|\r\n|锛圕RLF锛夋崲琛岋紝 + 閫傚悎 Windows 鐢ㄦ埛浣跨敤銆% + 鐢ㄦ埛鍙互璇曟儏鍐靛皢 \verb|utf8lf/| 鎴 \verb|gbkcrlf/| 涓 + 鐨勬墍鏈夊唴瀹瑰鍒跺埌鍚堥傜殑鐩綍锛 + 骞跺湪姝ょ洰褰曚腑鏍规嵁妯$増淇敼鍑鸿嚜宸辩殑璁烘枃銆 + + \verb|utf8lf/| 鍜 \verb|gbkcrlf/| 鐩綍涓殑閲嶈鏂囦欢鏈夛細 + \begin{itemize} + \item \verb|Makefile|锛 + 琚 Make 宸ュ叿璋冪敤鐨 Makefile锛岀敤浜庝娇缂栬瘧宸ヤ綔鑷姩鍖栥 + \item \verb|Make.bat|锛% + Windows 涓嬬殑浼淢akefile鈥濓紝鐢 Windows 鎵瑰鐞嗗疄鐜般 + \item \verb|chap/|锛氱洰褰曪紝鍖呭惈鍚勭珷鑺傚唴瀹癸細 + \begin{itemize} + \item \verb|copyright.tex|锛 + 鐗堟潈澹版槑閮ㄥ垎\footnote{% + 鏈枃妗d腑鐨勭増鏉冨0鏄庡苟涓嶆槸% + 瀛︽牎榛樿瑕佹眰鐨勫舰寮廫supercite{pku-copyright}銆 + 绗﹀悎瀛︽牎瑕佹眰鐨勪竴涓増鏉冨0鏄庡凡缁忔斁鍦ㄦ鏂囦欢涓紝 + 浣嗙敤 \texttt{\string\iffalse{} ...\ \string\fi} % + 娉ㄩ噴鎺変簡锛 + 鐢ㄦ埛鍙互鑰冭檻浣跨敤閭d釜鐗堟湰銆 + }銆 + \item \verb|originauth.tex|锛 + 鍘熷垱鎬у0鏄庡拰浣跨敤鎺堟潈璇存槑閮ㄥ垎\supercite{pku-originauth}銆 + \end{itemize} + \item \verb|img/|锛氱洰褰曪紝鍖呭惈璁烘枃涓墍鏈夊浘鐗囷細 + \begin{itemize} + \item \verb|Makefile|锛氬浘鐗囬儴鍒嗙殑 Makefile銆 + \item \verb|Make.bat|锛% + Windows 涓嬬殑浼淢akefile鈥濓紝鐢 Windows 鎵瑰鐞嗗疄鐜般 + \item \verb|pkulogo.eps|锛氬寳浜ぇ瀛︽牎寰姐 + \item \verb|pkuword.eps|锛氣滃寳浜ぇ瀛︹濆瓧鏍枫 + \end{itemize} + \myemph{% + 娉細% + \hologo{pdfLaTeX} 鏂瑰紡缂栬瘧锛堣绗 \ref{sec:compile} 鑺傦級 + 鍙兘闇瑕佸皢 eps 鍥剧墖杞崲涓 pdf 鏍煎紡锛 + 鑰屼娇鐢 Makefile 鎴栦吉鈥淢akefile鈥濇椂杩欎簺鍥剧墖鍙互鑷姩鐢熸垚锛 + 涓嶄娇鐢 Makefile 鐨勭敤鎴峰彲浠ユ墜鍔ㄨ繍琛 % + \texttt{img/} 鐩綍涓殑 Makefile 鎴栦吉鈥淢akefile鈥 + 鏉ョ敓鎴愯繖浜涘浘鐗囥% + } + \end{itemize} + + \section{缂栬瘧鏂瑰紡}\label{sec:compile} + + pkuthss 鏂囨。妯$増鏀寔涓夌缂栬瘧鏂瑰紡锛屽嵆 + \begin{itemize} + \item \LaTeX{} -- dvipdfmx 鏂瑰紡锛歕\ + 渚濇鎵ц \verb|latex|锛孿verb|biber|锛堟垨 \verb|bibtex|锛夛紝% + \verb|latex|锛孿verb|latex| 鍜 \verb|dvipdfmx|銆 + \item \hologo{pdfLaTeX} 鏂瑰紡锛歕\ + 渚濇鎵ц \verb|pdflatex|锛孿verb|biber|锛堟垨 \verb|bibtex|锛夛紝% + \verb|pdflatex| 鍜 \verb|pdflatex|銆 + \item \hologo{XeLaTeX} 鏂瑰紡锛歕\ + 渚濇鎵ц \verb|xelatex|锛孿verb|biber|锛堟垨 \verb|bibtex|锛夛紝% + \verb|xelatex| 鍜 \verb|xelatex|銆俓\ + \myemph{% + 娉ㄦ剰锛歕hologo{XeLaTeX} 瀵归潪 UTF-8 鐨勭紪鐮佹敮鎸佷笉濂斤紝 + 鍥犳 \hologo{XeLaTeX} 鏂瑰紡鐨勭紪璇戜笉鏀寔 GBK 缂栫爜銆 + } + \end{itemize} + + pkuthss 鏂囨。妯$増闄勫甫鐨 Makefile 涓凡缁忓杩欎笁绉嶇紪璇戞柟寮忚繘琛屼簡瀹屾暣鐨勯厤缃 + 鐢ㄦ埛鍙渶瑕佸湪 Makefile 涓氳繃璁惧畾鍙橀噺 \verb|JOBNAME| 鐨勫% + 鎸囧畾琚紪璇戠殑涓绘枃浠跺悕锛 + 骞堕氳繃璁惧畾鍙橀噺 \verb|LATEX| 鐨勫兼寚瀹氶噰鐢ㄥ摢绉嶇紪璇戞柟寮忥紝 + 鍗冲彲閫氳繃鍦ㄤ富鏂囦欢鎵鍦ㄧ洰褰曡皟鐢 Make 宸ュ叿鏉ュ疄鐜拌嚜鍔ㄧ紪璇戯細 + 濡傛灉鏄湪绫 UNIX 鐜涓嬶紝鍒欑敤鎴峰簲璇ヨ皟鐢ㄧ殑鍛戒护鍚嶄负 \verb|make|锛 + 鑰屽鏋滄槸鍦 Windows 鐜涓嬶紝 + 鍒欑敤鎴峰簲璇ヨ皟鐢ㄧ殑鍛戒护鍚嶅彲鑳戒负 \verb|mingw32-make|銆 + + 鐢ㄦ埛濡傛灉涓嶆兂閰嶇疆 Windows 涓嬬殑 GNU Make锛 + 鍒欎篃鍙互浣跨敤鐢 Windows 鎵瑰鐞嗗疄鐜扮殑浼淢akefile鈥濓紝 + 閫氳繃鍦ㄤ富鏂囦欢鎵鍦ㄧ洰褰曡皟鐢 \verb|make|\footnote{% + Windows 灏嗘壒澶勭悊鏂囦欢浣滀负鍙墽琛屾枃浠讹紝 + 璋冪敤鏃跺彲浠ヤ笉鏄惧紡鍦版寚鍑烘墿灞曞悕銆% + } 鎴栫洿鎺ュ弻鍑 \verb|Make.bat| 鐨勫浘鏍囪繍琛屼箣銆 + diff --git a/Master/texmf-dist/doc/latex/pkuthss/utf8lf/chap/chap2.tex b/Master/texmf-dist/doc/latex/pkuthss/utf8lf/chap/chap2.tex new file mode 100644 index 00000000000..6f9bfedd5f8 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pkuthss/utf8lf/chap/chap2.tex @@ -0,0 +1,340 @@ +% vim:ts=4:sw=4 +% +% Copyright (c) 2008-2009 solvethis +% Copyright (c) 2010-2012 Casper Ti. Vector +% Public domain. + +\chapter{pkuthss 鏂囨。妯$増鎻愪緵鐨勫姛鑳絵 + \section{pkuthss 鏂囨。妯$増鎻愪緵鐨勬枃妗g被鍜屽畯鍖呴夐」} + \subsection{pkuthss 鏂囨。绫绘彁渚涚殑閫夐」}\label{ssec:options} + + \begin{itemize} + \item \textbf{\texttt{[no]extra}}锛 + 鐢ㄤ簬纭畾鏄惁鑷姩杞藉叆 pkuthss-extra 瀹忓寘銆 + 鍦ㄩ粯璁ゆ儏鍐典笅锛宲kuthss 鏂囨。绫诲皢浣跨敤 \verb|extra| 閫夐」銆 + 鐢ㄦ埛濡傛灉涓嶉渶瑕佽嚜鍔ㄨ浇鍏 pkuthss-extra 瀹忓寘锛 + 鍒欓渶瑕佸湪杞藉叆 pkuthss 鏃跺姞涓 \verb|noextra| 閫夐」銆 + + \item \textbf{pkuthss-extra 瀹忓寘鎻愪緵鐨勯夐」}锛 + 杩欎簺閫夐」灏嗚浼犻掔粰 pkuthss-extra 瀹忓寘 + 锛堢敤鎴烽渶瑕佸惎鐢 \verb|extra| 閫夐」锛夈 + 鍏蜂綋璇存槑鍙傝绗 \ref{ssec:extra} 灏忚妭銆 + + \item \textbf{鍏朵綑鏂囨。绫婚夐」}锛% + pkuthss 鏂囨。绫讳互 ctexbook 鏂囨。绫讳负鍩虹锛 + 鍏舵帴鍙楃殑鍏朵綑鎵鏈夋枃妗g被閫夐」鍧囪浼犻掔粰 ctexbook銆 + 鍏朵腑鍙兘鏈甯哥敤鐨勯夐」鏄 \verb|GBK| 鍜 \verb|UTF8|锛 + 瀹冧滑閫夋嫨婧愪唬鐮佷娇鐢ㄧ殑瀛楃缂栫爜锛岄粯璁や娇鐢 \verb|GBK|銆 + \end{itemize} + + 渚嬪锛屽鏋滈渶瑕佷娇鐢 UTF-8 缂栫爜鎾板啓璁烘枃锛 + 鍒欓渶瑕佸湪瀵煎叆 pkuthss 鏂囨。绫绘椂鍔犱笂 \verb|UTF8| 閫夐」锛 +\begin{Verbatim}[frame = single] +\documentclass[UTF8, ...]{pkuthss} % 鈥...鈥濅唬琛ㄥ叾瀹冪殑閫夐」銆 +\end{Verbatim} + + 鍙堜緥濡傦紝鏂囨。榛樿鎯呭喌涓嬫槸鍙岄潰妯″紡锛屾瘡绔犻兘浠庡彸椤碉紙濂囨暟椤碉級寮濮嬨 + 濡傛灉甯屾湜鏀规垚涓绔犲彲浠ヤ粠浠绘剰椤靛紑濮嬶紝鍙互杩欐牱璁剧疆锛 +\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} + + 闄ら潪鐗瑰埆璇存槑锛 + 涓嬮潰鎻愬埌鐨勯夐」涓兘鏄笉甯︹淺verb|no|鈥濈殑鐗堟湰琚惎鐢ㄣ + + \begin{itemize} + \item \textbf{\texttt{[no]spacing}}锛 + 鏄惁閲囩敤涓浜涘父鐢ㄧ殑瀵圭┖鐧借繘琛岃皟鏁寸殑鐗堝紡璁惧畾銆 + 鍏蜂綋鍦拌锛屽惎鐢 \verb|space| 閫夐」鍚庝細杩涜浠ヤ笅鍑犻」璁剧疆锛 + \begin{itemize} + \item 鑷姩蹇界暐 CJK 鏂囧瓧涔嬮棿鐨勭┖鐧借% + 淇濈暀锛圕JK 鏂囧瓧涓庤嫳鏂囦箣闂寸瓑鐨勶級鍏跺畠绌虹櫧銆 + \item 璋冪敤 setspace 瀹忓寘浠ヤ娇鏌愪簺缁嗚妭澶勭殑绌洪棿瀹夋帓鏇寸編瑙傘 + \item 璁剧疆椤佃姱灞呬腑銆 + \item 璁惧畾琛岃窛涓 1.41\footnote{% + 涓轰粈涔堟槸 1.41锛熷洜涓 $\sqrt{2}\approx1.41$銆% + }銆 + \item 浣胯剼娉ㄧ紪鍙峰拰鑴氭敞鏂囨湰涔嬮棿榛樿闂撮殧涓涓┖鏍笺 + \end{itemize} + + \item \textbf{\texttt{[no]tightlist}}锛 + 鏄惁閲囩敤姣 \LaTeX{} 榛樿璁惧畾鏇村姞绱у瘑鐨勬灇涓剧幆澧冦 + 鍦ㄦ灇涓剧幆澧冿紙itemize銆乪numerate 鍜 description锛変腑锛 + 姣忎釜鏉$洰鐨勫唴瀹硅緝灏戞椂锛屾潯鐩線寰鏄惧緱绋鐤忥紱 + 鍦ㄥ弬鑰冩枃鐚垪琛ㄤ腑涔熸湁绫讳技鐨勭幇璞° + 鍚敤 \verb|tightlist| 閫夐」鍚庯紝 + 灏嗗幓鎺夎繖浜涚幆澧冧腑棰濆澧炲姞鐨勶紙鍨傜洿锛夐棿闅斻 + + \item \textbf{\texttt{[no]pdftoc}}\footnote{% + 姝ら夐」閮ㄥ垎绛変环浜 1.4 alpha2 鍙婁互鍓嶇増鏈 pkuthss-extra 瀹忓寘% + 鐨 \texttt{[no]tocbibind} 閫夐」銆 + 鍥犱负 tocbibind 瀹忓寘鍜 biblatex 瀹忓寘鍐茬獊锛 + pkuthss-extra 瀹忓寘涓嶅啀璋冪敤 tocbibind 瀹忓寘銆% + }锛 + 鍚敤 \verb|pdftoc| 閫夐」鍚庯紝 + 鐢 \verb|\tableofcontents| 鍛戒护鐢熸垚鐩綍鏃% + 浼氳嚜鍔ㄦ坊鍔犫滅洰褰曗濈殑 pdf 涔︾銆 + + \item \textbf{\texttt{[no]uppermark}}锛 + 鏄惁鍦ㄩ〉鐪変腑灏嗙珷鑺傚悕涓殑灏忓啓瀛楁瘝杞崲涓哄ぇ鍐欏瓧姣嶃 + 灏辩洰鍓嶈岃█锛 + 杩欐牱鐨勮浆鎹㈠瓨鍦ㄧ潃涓浜涜緝涓轰弗閲嶇殑缂洪櫡\footnote{% + 鍑嗙‘鍦拌鏄 \texttt{\string\MakeUppercase} 瀹忕殑闂锛 + 鍏跺湪鏌愪簺鍦版柟鐨勮浆鎹笉澶熷仴澹紝 + 渚嬪 \texttt{\string\cite\string{ctex\string}} + 浼氳杞崲鎴 \texttt{\string\cite\string{CTEX\string}}銆% + }锛 + 鍥犳涓嶅缓璁娇鐢ㄣ + 鍩轰簬涓婅堪鑰冭檻锛% + \myemph{% + pkuthss-extra 瀹忓寘榛樿鍚敤 \texttt{nouppermark} 閫夐」锛 + 鍗冲湪涓嶅湪椤电湁涓娇鐢ㄥぇ鍐欑殑绔犺妭鍚% + }銆 + + \item \textbf{\texttt{[no]spechap}}\footnote{% + 鈥渟pechap鈥濇槸鈥淺textbf{spec}ial \textbf{chap}ter鈥濈殑缂╁啓銆% + }锛 + 鏄惁鍚敤绗 \ref{ssec:misc} 灏忚妭涓粙缁嶇殑 % + \verb|\specialchap| 鍛戒护銆 + + \item \textbf{\texttt{[no]pdfprop}}锛 + 鏄惁鑷姩鏍规嵁璁惧畾鐨勮鏂囨枃妗d俊鎭紙濡備綔鑰呫佹爣棰樼瓑锛 + 璁剧疆鐢熸垚鐨 pdf 鏂囨。鐨勭浉搴斿睘鎬с% + \myemph{% + 娉ㄦ剰锛 + 璇ラ夐」瀹為檯涓婃槸鍦 \texttt{\string\maketitle} 鏃剁敓鏁堢殑锛 + 杩欐槸鍥犱负鑰冭檻鍒% + 閫氬父鐢ㄦ埛鍦ㄨ皟鐢 \texttt{\string\maketitle} 鍓% + 宸茬粡璁剧疆濂芥墍鏈夌殑鏂囨。淇℃伅銆 + 鑻ョ敤鎴蜂笉璋冪敤 \texttt{\string\maketitle}锛 + 鍒欓渶鍦ㄨ瀹氬畬鏂囨。淇℃伅涔嬪悗鑷璋冪敤% + 绗 \ref{ssec:misc} 灏忚妭涓粙缁嶇殑 % + \texttt{\string\setpdfproperties} 鍛戒护浠ュ畬鎴% + pdf 鏂囨。灞炴х殑璁惧畾銆% + } + + \item \textbf{\texttt{[no]colorlinks}}\footnote{% + 姝ら夐」绛変环浜 1.3 鍙婁互鍓嶇増鏈 pkuthss-extra 瀹忓寘% + 鐨 \texttt{[no]linkcolor} 閫夐」锛 + 浣嗗悗鏉ュ彂鐜拌繖浼氬拰 hyperref 瀹忓寘鐨勪竴涓悓鍚嶉夐」鍐茬獊锛 + 鏁呮敼涓 \texttt{[no]colorlinks}銆% + }锛 + 鏄惁鍦ㄧ敓鎴愮殑 pdf 鏂囨。涓娇鐢ㄥ僵鑹茬殑閾炬帴銆 + \end{itemize} + + 渚嬪锛屽湪鎻愪氦鎵撳嵃鐗堢殑璁烘枃鏃讹紝 + 褰╄壊鐨勯摼鎺ユ枃瀛楀湪榛戠櫧鎵撳嵃鍑烘潵涔嬪悗鍙兘棰滆壊浼氬緢娴呫 + 姝ゆ椂鐢ㄦ埛\myemph{% + 鍙互鍚敤 pkuthss-extra 瀹忓寘鐨 nocolorlinks 閫夐」锛 + 浣挎墍鏈夌殑閾炬帴鍙樹负榛戣壊锛屼互鍏嶅奖鍝嶆墦鍗% + }锛 +\begin{Verbatim}[frame = single] +\documentclass[..., nocolorlinks]{pkuthss} % 鈥...鈥濅唬琛ㄥ叾瀹冪殑閫夐」銆 +\end{Verbatim} + 鐢ㄦ埛杩樺彲浠ヨ繘涓姝ヤ慨鏀 \verb|img/| 鐩綍涓 % + \verb|pkulogo.eps| 鍜 \verb|pkuword.eps| 涓や釜鍥剧墖鏂囦欢锛 + 浠ヤ娇灏侀潰涓婄殑鍖椾含澶у鍥炬牱涔熷彉涓洪粦鑹诧紙璇﹁鐩稿簲鏂囦欢涓殑娉ㄩ噴锛夈 + + \section{pkuthss 鏂囨。妯$増鎻愪緵鐨勫懡浠ゅ拰鐜} + \subsection{璁惧畾鏂囨。淇℃伅鐨勫懡浠 + + 杩欎竴绫诲懡浠ょ殑璇硶涓 +\begin{Verbatim}[frame = single] +\commandname{鍏蜂綋淇℃伅} % commandname 涓哄叿浣撳懡浠ょ殑鍚嶇О銆 +\end{Verbatim} + + 杩欎簺鍛戒护鎬荤粨濡備笅锛 + \begin{itemize} + \item \texttt{\bfseries\string\ctitle}锛氳瀹氳鏂囦腑鏂囨爣棰橈紱 + \item \texttt{\bfseries\string\etitle}锛氳瀹氳鏂囪嫳鏂囨爣棰橈紱 + \item \texttt{\bfseries\string\cauthor}锛氳瀹氫綔鑰呯殑涓枃鍚嶏紱 + \item \texttt{\bfseries\string\eauthor}锛氳瀹氫綔鑰呯殑鑻辨枃鍚嶏紱 + \item \texttt{\bfseries\string\studentid}锛氳瀹氫綔鑰呯殑瀛﹀彿锛 + \item \texttt{\bfseries\string\date}锛氳瀹氭棩鏈燂紱 + \item \texttt{\bfseries\string\school}锛氳瀹氫綔鑰呯殑瀛﹂櫌鍚嶏紱 + \item \texttt{\bfseries\string\cmajor}锛氳瀹氫綔鑰呬笓涓氱殑涓枃鍚嶏紱 + \item \texttt{\bfseries\string\emajor}锛氳瀹氫綔鑰呬笓涓氱殑鑻辨枃鍚嶏紱 + \item \texttt{\bfseries\string\direction}锛氳瀹氫綔鑰呯殑鐮旂┒鏂瑰悜锛 + \item \texttt{\bfseries\string\cmentor}锛氳瀹氬甯堢殑涓枃鍚嶏紱 + \item \texttt{\bfseries\string\ementor}锛氳瀹氬甯堢殑鑻辨枃鍚嶏紱 + \item \texttt{\bfseries\string\ckeywords}锛氳瀹氫腑鏂囧叧閿瘝锛 + \item \texttt{\bfseries\string\ekeywords}锛氳瀹氳嫳鏂囧叧閿瘝銆 + \end{itemize} + + 渚嬪锛屽鏋滆璁惧畾涓撲笟涓衡滃寲瀛︹濓紙鈥淐hemistry鈥濓級锛屽垯鍙互浣跨敤浠ヤ笅鍛戒护锛 +\begin{Verbatim}[frame = single] +\cmajor{鍖栧} +\emajor{Chemistry} +\end{Verbatim} + + \subsection{鑷韩瀛樺偍鏂囨。淇℃伅鐨勫懡浠 + + 杩欎竴绫诲懡浠ょ殑璇硶涓 +\begin{Verbatim}[frame = single] +% commandname 涓哄叿浣撶殑鍛戒护鍚嶃 +\renewcommand{\commandname}{鍏蜂綋淇℃伅} +\end{Verbatim} + + 杩欎簺鍛戒护鎬荤粨濡備笅锛 + \begin{itemize} + \item \texttt{\bfseries\string\cuniversity}锛氬ぇ瀛︾殑涓枃鍚嶃 + \item \texttt{\bfseries\string\euniversity}锛氬ぇ瀛︾殑鑻辨枃鍚嶃 + \item \texttt{\bfseries\string\cthesisname}锛氳鏂囩被鍒殑涓枃鍚嶃 + \item \texttt{\bfseries\string\ethesisname}锛氳鏂囩被鍒殑鑻辨枃鍚嶃 + \item \texttt{\bfseries\string\cabstractname}锛氭憳瑕佺殑涓枃鏍囬銆 + \item \texttt{\bfseries\string\eabstractname}锛氭憳瑕佺殑鑻辨枃鏍囬銆 + \end{itemize} + + 渚嬪锛 + 濡傛灉瑕佽瀹氳鏂囩殑绫诲埆涓衡滄湰绉戠敓姣曚笟璁烘枃鈥濓紙鈥淯ndergraduate Thesis鈥濓級锛 + 鍒欏彲浠ヤ娇鐢ㄤ互涓嬪懡浠わ細 +\begin{Verbatim}[frame = single] +\renewcommand{\cthesisname}{鏈鐢熸瘯涓氳鏂噠 +\renewcommand{\ethesisname}{Undergraduate Thesis} +\end{Verbatim} + + \subsection{浠モ渒ey = value鈥濇牸寮忚缃枃妗d俊鎭瘆 + + 鐢ㄦ埛鍙互閫氳繃 \verb|\pkuthssinfo| 鍛戒护闆嗕腑璁惧畾鏂囨。淇℃伅锛 + 鍏惰娉曚负锛 +\begin{Verbatim}[frame = single] +% key1銆乲ey2銆乿alue1銆乿alue2 绛変负鍏蜂綋鏂囨。淇℃伅鐨勯」鐩悕鍜屽唴瀹广 +\pkuthssinfo{key1 = value1, key2 = value2, ...} +\end{Verbatim} + 鍏朵腑鏂囨。淇℃伅鐨勯」鐩悕涓哄墠闈㈡彁鍒扮殑璁惧畾鏂囨。淇℃伅鐨勫懡浠ゅ悕% + 鎴栬嚜韬瓨鍌ㄦ枃妗d俊鎭殑鍛戒护鍚嶏紙涓嶅甫鍙嶆枩鏉狅級銆 + + 褰撴枃妗d俊鎭殑鍐呭鍖呭惈浜嗛楀彿绛夋湁骞叉壈鐨勫瓧绗︽椂锛 + 鍙互鐢ㄥぇ鎷彿灏嗚繖涓椤规枃妗d俊鎭殑鍏ㄩ儴鍐呭鎷捣鏉ャ% + \myemph{% + 鎴戜滑鎺ㄨ崘鐢ㄦ埛鎬荤敤澶ф嫭鍙峰皢鏂囨。淇℃伅鐨勫唴瀹规嫭璧锋潵锛 + 浠ラ伩鍏嶅緢澶氫笉蹇呰鐨勯夯鐑︺% + } + + 渚嬪锛屽墠闈㈡彁鍒扮殑鏂囨。淇℃伅鐨勮缃彲浠ラ泦涓湴鍐欐垚锛 +\begin{Verbatim}[frame = single, tabsize = 4] +\pkuthssinfo{ + ..., % 鈥...鈥濅唬琛ㄥ叾瀹冪殑璁惧畾銆 + cthesisname = {鏈鐢熸瘯涓氳鏂噠, + ethesisname = {Undergraduate Thesis}, + cmajor = {鍖栧}, emajor = {Chemistry} +} +\end{Verbatim} + + \subsection{pkuthss 鏂囨。妯$増鎻愪緵鐨勫叾瀹冨懡浠ゅ拰鐜\label{ssec:misc}} + + \texttt{\bfseries cabstract} 鍜 \texttt{\bfseries eabstract} % + 鐜鐢ㄤ簬缂栧啓涓嫳鏂囨憳瑕併 + 鐢ㄦ埛鍙渶瑕佸啓鎽樿鐨勬鏂囷紱鏍囬銆佷綔鑰呫佸甯堛佷笓涓氱瓑閮ㄥ垎浼氳嚜鍔ㄧ敓鎴愩 + + \texttt{\bfseries\string\specialchap} 鍛戒护% + 鐢ㄤ簬寮濮嬩笉杩涜鏍囧彿浣嗚鍏ョ洰褰曠殑涓绔狅紝 + 骞跺悎鐞嗗畨鎺掑叾椤电湁銆% + \myemph{% + 娉ㄦ剰锛 + 闇瑕佸惎鐢 pkuthss-extra 瀹忓寘鐨 \texttt{spechap} 閫夐」% + 鎵嶈兘浣跨敤姝ゅ懡浠ゃ + 鍙﹀锛屽湪姝ょ珷鍐呯殑鑺傛垨灏忚妭绛夊懡浠ゅ簲浣跨敤甯︽槦鍙风殑鐗堟湰锛 + 渚嬪 \texttt{\string\section\string*} 绛夛紝 + 浠ュ厤閫犳垚绔犺妭缂栧彿娣蜂贡銆% + }% + 渚嬪锛屾湰鏂囨。涓殑鈥滅华瑷鈥濅竴绔犲氨鏄敤 \verb|\specialchap{缁█}| % + 杩欐潯鍛戒护寮濮嬬殑銆% + + \texttt{\bfseries\string\setpdfproperties} 鍛戒护% + 鐢ㄤ簬鏍规嵁鐢ㄦ埛璁惧畾鐨勬枃妗d俊鎭嚜鍔ㄨ瀹氱敓鎴愮殑 pdf 鏂囨。鐨勫睘鎬с + 姝ゅ懡浠や細鍦ㄧ敤鎴疯皟鐢 \verb|\maketitle| 鍛戒护鏃惰鑷姩璋冪敤锛 + 鍥犳閫氬父涓嶉渶瑕佺敤鎴疯嚜宸变娇鐢紱 + 浣嗙敤鎴锋湁鏃跺彲鑳戒笉闇瑕佽緭鍑烘爣棰橀〉锛 + 浠庤屼笉浼氳皟鐢 \verb|\maketitle| 鍛戒护锛 + 姝ゆ椂灏遍渶瑕佸湪璁惧畾瀹屾枃妗d俊鎭箣鍚庤皟鐢 \verb|\setpdfproperties|銆 + \myemph{% + 娉ㄦ剰锛 + 闇瑕佸惎鐢 pkuthss-extra 瀹忓寘鐨 \texttt{pdfprop} 閫夐」% + 鎵嶈兘浣跨敤姝ゅ懡浠ゃ% + } + + \subsection{浠庡叾瀹冩枃妗g被鍜屽畯鍖呯户鎵跨殑鍔熻兘} + + pkuthss 鏂囨。绫诲缓绔嬪湪 ctexbook\supercite{ctex} 鏂囨。绫荤殑鍩虹涓婏紝 + 骞惰皟鐢ㄤ簡 CJKfntef銆% + graphicx\supercite{graphicx}銆乬eometry\supercite{geometry}銆% + fancyhdr\supercite{fancyhdr} 鍜 % + etoolbox\supercite{etoolbox} 绛夊嚑涓畯鍖呫 + 鍥犳锛宑texbook 鏂囨。绫诲拰杩欎簺瀹忓寘鎵鎻愪緵鐨勫姛鑳藉潎鍙互浣跨敤銆 + + 渚嬪锛岀敤鎴峰鏋滄兂灏嗙洰褰曠殑鏍囬鏀逛负鈥滅洰{\quad\quad}褰曗濓紝 + 鍒欏彲浠ヤ娇鐢 ctexbook 鏂囨。绫绘彁渚涚殑 \verb|\CTEXoptions| 鍛戒护锛 +\begin{Verbatim}[frame = single] +\CTEXoptions{contentsname = {鐩畕\quad\quad}褰晑} +\end{Verbatim} + + 鍦ㄩ粯璁ょ殑閰嶇疆涓嬶紝% + pkuthss 鏂囨。妯$増浣跨敤浣滆呯紪鍐欑殑 % + biblatex\supercite{biblatex} 鏍峰紡\supercite{biblatex-caspervector}% + 杩涜鍙傝冩枃鐚拰寮曠敤鐨勬帓鐗堬紝 + 鐢ㄦ埛鍙互浣跨敤鍏舵彁渚涚殑鍔熻兘銆 + 渚嬪锛 + 鐢ㄦ埛鍙互鍒嗗埆浣跨敤 \verb|\cite|銆乗verb|\parencite| 鍜 \verb|\supercite| % + 鐢熸垚鏈牸寮忓寲鐨勩佸甫鏂规嫭鍙风殑鍜屼笂鏍囦笖甯︽柟鎷彿鐨勫紩鐢ㄦ爣璁帮細 +\begin{Verbatim}[frame = single] +\cite{ctex}锛孿parencite{ctex}锛孿supercite{ctex} +\end{Verbatim} + 鍦ㄦ湰鏂囦腑灏嗕骇鐢熲淺cite{ctex}锛孿parencite{ctex}锛孿supercite{ctex}鈥濄 + + pkuthss-extra 瀹忓寘鍙兘璋冪敤浠ヤ笅杩欎簺瀹忓寘锛 + \begin{itemize} + \item 鍚敤 \verb|spacing| 閫夐」鏃朵細璋冪敤 % + setspace 鍜 footmisc\supercite{footmisc} 瀹忓寘銆 + \item 鍚敤 \verb|tightlist| 閫夐」鏃朵細璋冪敤 % + enumitem\supercite{enumitem} 瀹忓寘銆 + \end{itemize} + 鍥犳鍦ㄥ惎鐢ㄧ浉搴旈夐」鏃讹紝鐢ㄦ埛鍙互浣跨敤瀵瑰簲瀹忓寘鎵鎻愪緵鐨勫姛鑳姐 + + \subsection{涓嶅缓璁洿鏀圭殑璁剧疆} + \myemph{% + pkuthss 鏂囨。绫讳腑鏈変竴浜涗竴鏃︽敼鍔ㄥ氨鏈夊彲鑳界牬鍧忛璁炬帓鐗堣鍒掔殑璁剧疆锛 + 鍥犳涓嶅缓璁洿鏀硅繖浜涜缃紝瀹冧滑鏄細 + \begin{itemize} + \item 绾稿紶绫诲瀷锛欰4锛 + \item 椤佃姱灏哄锛% + $240\,\mathrm{mm}\times150\,\mathrm{mm}$锛 + 鍖呭惈椤电湁銆侀〉鑴氾紱 + \item 榛樿瀛楀彿锛氬皬鍥涘彿銆 + \end{itemize}% + } + + \section{楂樼骇璁剧疆}\label{sec:advanced} + + pkuthss 鏂囨。妯$増鐨勫疄鐜版槸绠娲併佹竻鏅般佺伒娲荤殑銆 + 褰撲竴浜涚粏鑺傜殑鑷畾涔夋棤娉曢氳繃妯$増鎻愪緵鐨勫閮ㄦ帴鍙e疄鐜版椂锛 + 鎴戜滑榧撳姳鐢ㄦ埛锛堝湪閫傚綋鐞嗚В鐩稿叧閮ㄥ垎浠g爜鐨勫墠鎻愪笅锛夐氳繃淇敼妯$増杩涜鑷畾涔夈 + + 涓涓父瑙佺殑闇姹傛槸灏侀潰涓儴鍒嗗唴瀹癸紙鐗瑰埆鏄鏂囩殑鏍囬銆佷笓涓氬拰鐮旂┒鏂瑰悜锛夊お闀匡紝 + 瓒呭嚭浜嗗湪棰勮鐨勭┖闂淬 + 姝ゆ椂锛 + 鐢ㄦ埛鍙互淇敼 \verb|pkuthss.cls| 閲 \verb|\maketitle| 瀹氫箟涓 + \verb|\pkuthss@int@fillinblank| 瀹忕殑鍙傛暟鏉ユ敼鍙 + 甯︿笅鍒掔嚎鐨勭┖鐧界殑琛屾暟鍜岃瀹斤紝鍏惰娉曚负锛 +\begin{Verbatim}[frame = single] +\pkuthss@int@fillinblank{琛屾暟}{琛屽}{鍐呭} +\end{Verbatim} + 渚嬪锛屽鏋溾滅爺绌舵柟鍚戔濅竴鏍忛渶瑕佷袱琛岀殑绌虹櫧锛 + 鍙互灏 \verb|pkuthss.cls| 閲岀殑 +\begin{Verbatim}[frame = single] +\pkuthss@int@fillinblank{1}{\pkuthss@tmp@len}{\kaishu\@direction} +\end{Verbatim} + 鏀逛负 +\begin{Verbatim}[frame = single] +\pkuthss@int@fillinblank{2}{\pkuthss@tmp@len}{\kaishu\@direction} +\end{Verbatim} + 褰撶劧锛屼负浜嗙編瑙傦紝鍙互灏嗗浜庝竴琛岀殑閮ㄥ垎绉诲埌灏侀潰涓綔鑰呬俊鎭儴鍒嗙殑鏈涓嬫柟銆 + diff --git a/Master/texmf-dist/doc/latex/pkuthss/utf8lf/chap/chap3.tex b/Master/texmf-dist/doc/latex/pkuthss/utf8lf/chap/chap3.tex new file mode 100644 index 00000000000..21b076f2711 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pkuthss/utf8lf/chap/chap3.tex @@ -0,0 +1,82 @@ +% vim:ts=4:sw=4 +% +% Copyright (c) 2008-2009 solvethis +% Copyright (c) 2010-2012 Casper Ti. Vector +% Public domain. + +\chapter{闂鍙婂叾瑙e喅} + \section{鏂囨。涓凡缁忔彁鍒扮殑甯歌闂锛堟寜閲嶈鎬ф帓搴忥級} + + 鍦ㄩ粯璁よ缃紙鍚敤 \verb|colorlinks| 閫夐」锛変笅锛 + 榛戠櫧鎵撳嵃鏃舵枃妗d腑鐨勯儴鍒嗗僵鑹查摼鎺ュ彲鑳戒細鍙樻垚娴呯伆鑹诧紝 + 瑙e喅鏂瑰紡瑙佺 \ref{ssec:extra} 灏忚妭銆 + + 涓枃瀛椾綋瀛楀簱涓嶅叏锛堝彧鍖呭惈 GB2312 瀛楃闆嗗唴瀛楃锛夋椂锛 + 鐢熸垚鐨 pdf 鏂囨。涓彲鑳界己灏戦儴鍒嗗瓧绗︼紝 + 瑙e喅鏂瑰紡瑙佺 \ref{sec:req} 鑺傘 + + \verb|img/| 鐩綍涓 eps 鍥剧墖鏈浆鎹负 pdf 鏍煎紡鏃讹紝% + pdf\LaTeX{} 鏂瑰紡缂栬瘧鍙兘鍑洪敊锛 + 瑙e喅鏂瑰紡瑙佺 \ref{sec:doc-dir} 鑺傘 + + 浣跨敤杩囨棫鐨 \TeX{} 绯荤粺鍜屽悇瀹忓寘锛 + 鎴栦娇鐢ㄦ煇浜 Linux 鍙戣鐗堣蒋浠朵粨搴撴墍鎻愪緵鐨 \TeX{}Live 鏃讹紝 + 鍙兘寮曡捣涓浜涢棶棰橈紝 + 璇﹁绗 \ref{sec:req} 鑺傘 + + 鏂囨。榛樿鎯呭喌涓嬫槸鍙岄潰妯″紡锛岀珷鏈彲鑳戒骇鐢熺┖鐧介〉锛岃瑙佺 \ref{ssec:options} 灏忚妭銆 + + 涓浜涢珮绾ц缃紝 + 濡傚皝闈腑閮ㄥ垎鍐呭闀垮害瓒呰繃棰勮绌洪棿瀹归噺鏃剁殑璁剧疆锛 + 瑙佺 \ref{sec:advanced} 鑺傘 + + \section{鍏跺畠鍙兘瀛樺湪鐨勯棶棰榼 + \subsection{涓婃父瀹忓寘鍙兘寮曡捣鐨勯棶棰榼 + + hyperref 瀹忓寘\supercite{hyperref}鍜屼竴浜涘畯鍖呭彲鑳藉彂鐢熷啿绐併 + 鍏充簬濡備綍閬垮厤杩欎簺鍐茬獊锛屽彲浠ュ弬鑰 hyperref 瀹忓寘鐨勬枃妗c + 姝ゆ枃浠堕氬父鍜屾墽琛 \verb|texdoc hyperref| % + 鏃舵墦寮鐨 pdf 鏂囦欢浣嶄簬鍚屼竴鐩綍涓 + 浣庝簬 1.02c 鐗堟湰鐨 ctex 瀹忓寘涓 hyperref 鐨勮缃湁浜涗笉鍛紝 + 鍥犳鏂囨。绫讳腑瀵瑰叾杩涜浜嗕竴浜涙墜鍔ㄧ殑澶勭悊銆 + 鑰冭檻鍒版柊鐗堟湰 ctex 瀹忓寘灏嗛愭笎琚洿澶氫汉閲囩敤锛 + 杩涜杩欎簺澶勭悊鐨勪唬鐮佸皢鍦ㄤ互鍚庤鍒犻櫎锛 + 鑰屾敼鎴愮洿鎺ヨ皟鐢 ctex 瀹忓寘鐨 \verb|hyperref| 閫夐」銆 + + \subsection{鏂囨。鏍煎紡鍙兘瀛樺湪鐨勯棶棰榼 + + 鐮旂┒鐢熸墜鍐屽拰鍏剁數瀛愮増\supercite{pku-thesisstyle}瑕佹眰鐨勮鏂囧皝闈㈠苟涓嶄竴鑷淬 + 杩欓噷浠ョ數瀛愮増涓哄噯銆 + + \subsection{鍏跺畠涓浜涢棶棰榼 + + 浣跨敤 GBK 缂栫爜鍜 \hologo{pdfLaTeX} 缂栬瘧鏂瑰紡鏃堕渶瑕佺敤鎴% + 杩愯 \verb|gbk2uni| 绋嬪簭鏉ヨ浆鎹 \verb|.out| 鏂囦欢锛 + 鍚﹀垯鐢熸垚鐨 pdf 涔︾鍙兘涔辩爜銆 + 鑰冭檻鍒扮敤鎴峰彲鑳芥病鏈 \verb|gbk2uni| 绋嬪簭锛屼笖鏈夌敤鎴蜂娇鐢 UTF-8 缂栫爜锛 + 榛樿鐨 \verb|Makefile| 鍜 \verb|Make.bat| 涓皢鐩稿叧浠g爜娉ㄩ噴鎺変簡锛 + 鐢ㄦ埛鍙互鑷鍘绘帀鐩稿簲鐨勬敞閲娿 + + \section{鍙嶉鎰忚鍜屽缓璁畗 + + 鍏充簬 pkuthss 鏂囨。妯$増鐨勬剰瑙佸拰寤鸿锛 + 璇峰湪鍖楀ぇ鏈悕 BBS 鐨 MathTools 鐗堟垨 % + Google Code 涓 pkuthss 椤圭洰鐨 issue tracker% + \footnote{\url{http://code.google.com/p/caspervector/issues/list}.}% + 涓婃彁鍑猴紝 + 鎴栭氳繃鐢靛瓙閭欢\footnote% + {\href{mailto:CasperVector@gmail.com}{\texttt{CasperVector@gmail.com}}.}% + 鍛婄煡 Casper Ti. Vector銆 + 涓婅堪涓夌鍙嶉鏂规硶涓紝寤鸿鐢ㄦ埛灏介噺閲囩敤闈犲墠鐨勬柟娉曘 + + 鍦ㄨ繘琛屽弽棣堟椂锛岃灏介噺纭繚宸茬粡浠旂粏闃呰鏈枃妗d腑鐨勮鏄庛 + 濡傛灉鏄氳繃 BBS 鎴栫數瀛愰偖浠惰繘琛屽弽棣堬紝 + 璇峰湪鏍囬涓鏄庢槸鍏充簬 pkuthss 鏂囨。妯$増鐨勫弽棣堬紱 + 濡傛灉鏄氳繃 Google Code 杩涜鍙嶉锛 + 璇风粰 issue 鍔犱笂 \verb|Proj-Pkuthss| 鏍囩銆 + 濡傛灉鏄敊璇姤鍛婏紝 + 璇疯鏄庢墍浣跨敤 pkuthss 妯$増鐨勭増鏈 + 鑷繁浣跨敤鐨勬搷浣滅郴缁熷拰 \TeX{} 绯荤粺鐨勭被鍨嬪拰鐗堟湰锛 + 鍚屾椂寮虹儓寤鸿闄勪笂涓涓嚭閿欑殑鏈灏忎緥瀛愬強鍏剁浉搴旂殑缂栬瘧鏃ュ織锛圽verb|.log| 鏂囦欢锛夛紝 + 鍦ㄦ枃浠惰緝闀挎椂璇蜂娇鐢ㄩ檮浠躲 + diff --git a/Master/texmf-dist/doc/latex/pkuthss/utf8lf/chap/conclusion.tex b/Master/texmf-dist/doc/latex/pkuthss/utf8lf/chap/conclusion.tex new file mode 100644 index 00000000000..cee94f10fb4 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pkuthss/utf8lf/chap/conclusion.tex @@ -0,0 +1,11 @@ +% vim:ts=4:sw=4 +% +% Copyright (c) 2008-2009 solvethis +% Copyright (c) 2010-2012 Casper Ti. Vector +% Public domain. + +\specialchap{缁撹} + +pkuthss 鏂囨。妯$増缁撴瀯杈冧负绠娲併佹竻鏅般佺伒娲伙紝杈冧负鏄撲簬瀛︿範鍜屼娇鐢ㄣ +甯屾湜瀹冭兘涓哄悇浣嶉渶瑕佷娇鐢 \LaTeX{} 鎾板啓瀛︿綅璁烘枃鐨勫悓瀛︽彁渚涗竴浜涘府鍔┿ + diff --git a/Master/texmf-dist/doc/latex/pkuthss/utf8lf/chap/copyright.tex b/Master/texmf-dist/doc/latex/pkuthss/utf8lf/chap/copyright.tex new file mode 100644 index 00000000000..584eaab8938 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pkuthss/utf8lf/chap/copyright.tex @@ -0,0 +1,62 @@ +% vim:ts=4:sw=4 +% +% Copyright (c) 2008-2009 solvethis +% Copyright (c) 2010-2012 Casper Ti. Vector +% All rights reserved. +% +% Redistribution and use in source and binary forms, with or without +% modification, are permitted provided that the following conditions are +% met: +% +% * Redistributions of source code must retain the above copyright notice, +% this list of conditions and the following disclaimer. +% * Redistributions in binary form must reproduce the above copyright +% notice, this list of conditions and the following disclaimer in the +% documentation and/or other materials provided with the distribution. +% * Neither the name of Peking University nor the names of its contributors +% may be used to endorse or promote products derived from this software +% without specific prior written permission. +% +% THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS +% IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +% THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +% PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR +% CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +% EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +% PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +% PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +% LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +% NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +% SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +\chapter*{鐗堟潈澹版槑} +{ + \zihao{3}\linespread{1.5}\selectfont + +\iffalse + 浠讳綍鏀跺瓨鍜屼繚绠℃湰璁烘枃鍚勭鐗堟湰鐨勫崟浣嶅拰涓汉锛 + 鏈粡鏈鏂囦綔鑰呭悓鎰忥紝涓嶅緱灏嗘湰璁烘枃杞熶粬浜猴紝 + 浜︿笉寰楅殢鎰忓鍒躲佹妱褰曘佹媿鐓ф垨浠ヤ换浣曟柟寮忎紶鎾 + 鍚﹀垯涓鏃﹀紩璧锋湁纰嶄綔鑰呰憲浣滄潈涔嬮棶棰橈紝灏嗗彲鑳芥壙鎷呮硶寰嬭矗浠汇 + \par +\fi + 鐗堟潈鎵鏈 \copyright\ 2008--2009 solvethis + \par + 鐗堟潈鎵鏈 \copyright\ 2010--2012 Casper Ti. Vector + \vskip 1em + + pkuthss 鏂囨。绫诲拰 pkuthss-extra 瀹忓寘浠 % + \LaTeX{} Project Public License 鍙戝竷銆 + 鏈鏄庯紙绀轰緥锛夋枃妗g殑婧愪唬鐮佷腑锛岄櫎浠ヤ笅鏂囦欢 + \begin{itemize} + \item \verb|img/pkulogo.eps| + \item \verb|img/pkuword.eps| + \item \verb|chap/copyright.tex| + \item \verb|chap/originauth.tex| + \end{itemize} + 浠 New BSD License 鍙戝竷锛 + 浠ュ強鍙傝冩枃鐚拰寮曠敤浣跨敤鐨勬牱寮忔枃浠剁増鏉冨0鏄庤鐩稿簲鏂囦欢涓鏄庝互澶栵紝 + 鍏朵綑閮ㄥ垎鏂囦欢鍙戝竷鍦ㄥ叕鏈夐鍩燂紙public domain锛夈 + \par +} + diff --git a/Master/texmf-dist/doc/latex/pkuthss/utf8lf/chap/encl1.tex b/Master/texmf-dist/doc/latex/pkuthss/utf8lf/chap/encl1.tex new file mode 100644 index 00000000000..94e870915b4 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pkuthss/utf8lf/chap/encl1.tex @@ -0,0 +1,48 @@ +% vim:ts=4:sw=4 +% +% Copyright (c) 2008-2009 solvethis +% Copyright (c) 2010-2012 Casper Ti. Vector +% Public domain. + +\chapter{pkuthss 鏂囨。妯$増鐨勫疄鐜皚 +\raggedbottom % 閬垮厤鏌愪簺濂囨殑鈥淯nderfull \vbox鈥濊鍛娿 + + \section{pkuthss 鏂囨。绫诲拰 pkuthss-extra 瀹忓寘鐨勫疄鐜皚 + \subsection{鍏辩敤鏂囦欢澶撮儴} + \VerbatimInput[ + frame = lines, fontsize = {\footnotesize}, tabsize = 2, + baselinestretch = 1, lastline = 23, numbers = left + ]{pkuthss.cls} + + \subsection{\texttt{pkuthss.cls}} + \VerbatimInput[ + frame = lines, fontsize = {\footnotesize}, tabsize = 2, + baselinestretch = 1, firstline = 25, numbers = left + ]{pkuthss.cls} + + \subsection{\texttt{pkuthss-utf8.def} 鍜 \texttt{pkuthss-gbk.def}} + \VerbatimInput[ + frame = lines, fontsize = {\footnotesize}, tabsize = 2, + baselinestretch = 1, firstline = 25, numbers = left + ]{pkuthss-utf8.def} + + \subsection{\texttt{pkuthss-extra.sty}} + \VerbatimInput[ + frame = lines, fontsize = {\footnotesize}, tabsize = 2, + baselinestretch = 1, firstline = 25, numbers = left + ]{pkuthss-extra.sty} + + \section{pkuthss 璇存槑锛堢ず渚嬶級鏂囨。鐨勬簮浠g爜} + + 鏈枃妗g殑婧愪唬鐮佷腑澶ч儴鍒嗗凡缁忔湁浜嗚緝涓鸿缁嗙殑娉ㄩ噴锛 + 鏁呰鐩存帴鍙傜収鐩稿簲鏂囦欢涓殑娉ㄩ噴銆 + + \myemph{% + 娉細% + \texttt{img/} 鐩綍涓殑 \texttt{Makefile} 鍜% + 涓や釜 PostScript锛圽texttt{.eps}锛夋枃浠讹紙閮芥槸鏂囨湰鏂囦欢锛変腑% + 涔熸湁璇︾粏鐨勬敞閲婂摝 :)% + } + +\flushbottom % 鍙栨秷 \raggedbottom 鐨勪綔鐢ㄣ + diff --git a/Master/texmf-dist/doc/latex/pkuthss/utf8lf/chap/encl2.tex b/Master/texmf-dist/doc/latex/pkuthss/utf8lf/chap/encl2.tex new file mode 100644 index 00000000000..af1936bb1e4 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pkuthss/utf8lf/chap/encl2.tex @@ -0,0 +1,21 @@ +% vim:ts=4:sw=4 +% +% Copyright (c) 2008-2009 solvethis +% Copyright (c) 2010-2012 Casper Ti. Vector +% Public domain. + +\chapter{鏇存柊璁板綍} +\raggedbottom % 閬垮厤鏌愪簺濂囨殑鈥淯nderfull \vbox鈥濊鍛娿 + +\section{1.3 鐗堜互鍚庣殑鏇存柊璁板綍} +\VerbatimInput[ + tabsize = 4, fontsize = {\small}, baselinestretch = 1 +]{ChangeLog.txt} + +\section{1.3 鍙婂叾浠ュ墠鐗堟湰鐨勬洿鏂拌褰晑 +\VerbatimInput[ + tabsize = 4, fontsize = {\small}, baselinestretch = 1.1 +]{ChangeLog-upto-1.3.txt} + +\flushbottom % 鍙栨秷 \raggedbottom 鐨勪綔鐢ㄣ + diff --git a/Master/texmf-dist/doc/latex/pkuthss/utf8lf/chap/introduction.tex b/Master/texmf-dist/doc/latex/pkuthss/utf8lf/chap/introduction.tex new file mode 100644 index 00000000000..b940144f3d2 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pkuthss/utf8lf/chap/introduction.tex @@ -0,0 +1,46 @@ +% vim:ts=4:sw=4 +% +% Copyright (c) 2008-2009 solvethis +% Copyright (c) 2010-2012 Casper Ti. Vector +% Public domain. + +\specialchap{缁█} + +鏈枃妗f槸鈥滃寳浜ぇ瀛﹁鏂囨枃妗fā鐗堚濈殑璇存槑鏂囨。锛 +鍚屾椂涔熸槸浣跨敤妯$増鐨勪竴涓ず渚嬨 + +pkuthss 鏂囨。妯$増鐢变笁閮ㄥ垎鏋勬垚锛 +\begin{itemize} + \item \textbf{pkuthss 鏂囨。绫粆锛 + 鍏朵腑杩涜浜嗗浣嶈鏂囨墍闇瑕佺殑涓浜涘熀鏈殑璁惧畾锛 + 涓昏鍖呮嫭瀵瑰熀鏈帓鐗堟牸寮忕殑璁惧畾鍜屾彁渚涜缃鏂囦俊鎭殑鍛戒护銆 + \item \textbf{pkuthss-extra 瀹忓寘}锛 + 鍏朵腑瀹炵幇浜嗗浣嶈鏂囦腑鐢ㄦ埛鍙兘杈冨鐢ㄥ埌鐨勪竴浜涢澶栧姛鑳斤紝 + 渚嬪鑷姩鍦ㄧ洰褰曚腑鍔犲叆鍙傝冩枃鐚拰绱㈠紩鐨勬潯鐩拰% + 鑷姩鏍规嵁鐢ㄦ埛璁惧畾鐨勬枃妗d俊鎭鎵鐢熸垚 pdf 鐨勪綔鑰呫佹爣棰樼瓑灞炴ц繘琛岃缃瓑銆 + \item \textbf{璇存槑锛堢ず渚嬶級鏂囨。}锛 + 璇存槑鏂囨。鍗虫湰鏂囨。锛 + 鍦ㄥ畨瑁咃紙瑙佺 \ref{sec:inst} 鑺傦級涔嬪悗搴旇鍙互鐢 \TeX{} 绯荤粺鎻愪緵鐨 + \verb|texdoc| 鍛戒护璋冨嚭锛 +\begin{Verbatim}[frame=single] +texdoc pkuthss +\end{Verbatim} + 鍚屾椂锛 + 鏈枃妗g殑婧愪唬鐮侊紙浣嶄簬 \verb|doc/| 鐩綍涓嬶級% + 涔熸鏄敤鎴锋挵鍐欒嚜宸辩殑瀛︿綅璁烘枃鏃剁殑涓涓ā鐗堬細 + 鐢ㄦ埛鍙渶鎸夌収妯$増涓殑妗嗘灦淇敼浠g爜锛 + 鍗冲彲鍐欏嚭鑷繁鐨勮鏂囥 +\end{itemize} + +鍦ㄦ涔嬪墠锛屽寘鎷 dypang\supercite{dypang}銆丗erretL\supercite{FerretL}銆% +lwolf\supercite{lwolf}銆丩angpku\supercite{Langpku}銆% +solvethis\supercite{solvethis} 绛夌殑鏁颁綅缃戝弸鍧囧仛杩囧浣嶈鏂囨ā鐗堢殑宸ヤ綔銆 +鏈鏂囨ā鐗堟槸 solvethis 鐨 pkuthss 妯$増鐨勬洿鏂扮増鏈紝 +鏇存柊鐨勯噸鐐规槸閲嶆瀯鍜屽鏂版枃妗g被銆佸畯鍖呯殑鏀寔銆 + +pkuthss 鏂囨。妯$増鐜板湪鐨勭淮鎶よ呮槸 Casper Ti. Vector\footnote% +{\href{mailto:CasperVector@gmail.com}{\texttt{CasperVector@gmail.com}}}銆% +pkuthss 鏂囨。妯$増鐩墠鎵樼鍦 Google Code 涓婏紝 +鍏堕」鐩富椤垫槸锛歕\ +\hspace*{\parindent}\url{http://code.google.com/p/caspervector/} + diff --git a/Master/texmf-dist/doc/latex/pkuthss/utf8lf/chap/originauth.tex b/Master/texmf-dist/doc/latex/pkuthss/utf8lf/chap/originauth.tex new file mode 100644 index 00000000000..64de6219f20 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pkuthss/utf8lf/chap/originauth.tex @@ -0,0 +1,80 @@ +% vim:ts=4:sw=4 +% +% Copyright (c) 2008-2009 solvethis +% Copyright (c) 2010-2012 Casper Ti. Vector +% All rights reserved. +% +% Redistribution and use in source and binary forms, with or without +% modification, are permitted provided that the following conditions are +% met: +% +% * Redistributions of source code must retain the above copyright notice, +% this list of conditions and the following disclaimer. +% * Redistributions in binary form must reproduce the above copyright +% notice, this list of conditions and the following disclaimer in the +% documentation and/or other materials provided with the distribution. +% * Neither the name of Peking University nor the names of its contributors +% may be used to endorse or promote products derived from this software +% without specific prior written permission. +% +% THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS +% IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +% THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +% PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR +% CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +% EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +% PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +% PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +% LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +% NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +% SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +% 鍘熷垱鎬у0鏄庡拰浣跨敤鎺堟潈璇存槑椤典笉闇瑕佽璁㈠埌璁烘枃涓紝鏁呬笉鏄剧ず椤电爜銆 +\cleardoublepage\thispagestyle{empty} +{ + \linespread{1.5}\selectfont + \section*{鍖椾含澶у瀛︿綅璁烘枃鍘熷垱鎬у0鏄庡拰浣跨敤鎺堟潈璇存槑} + + \vfill + \section*{鍘熷垱鎬у0鏄巬 + + 鏈汉閮戦噸澹版槑锛 + 鎵鍛堜氦鐨勫浣嶈鏂囷紝鏄湰浜哄湪瀵煎笀鐨勬寚瀵间笅锛岀嫭绔嬭繘琛岀爺绌跺伐浣滄墍鍙栧緱鐨勬垚鏋溿 + 闄ゆ枃涓凡缁忔敞鏄庡紩鐢ㄧ殑鍐呭澶栵紝 + 鏈鏂囦笉鍚换浣曞叾浠栦釜浜烘垨闆嗕綋宸茬粡鍙戣〃鎴栨挵鍐欒繃鐨勪綔鍝佹垨鎴愭灉銆 + 瀵规湰鏂囩殑鐮旂┒鍋氬嚭閲嶈璐$尞鐨勪釜浜哄拰闆嗕綋锛屽潎宸插湪鏂囦腑浠ユ槑纭柟寮忔爣鏄庛 + 鏈0鏄庣殑娉曞緥缁撴灉鐢辨湰浜烘壙鎷呫 + \vspace{2.5em}\par + \rightline + {% + 璁烘枃浣滆呯鍚嶏細\hspace{5em}% + 鏃ユ湡锛歕hspace{2em}骞碶hspace{2em}鏈圽hspace{2em}鏃% + } + + \vfill + \section*{瀛︿綅璁烘枃浣跨敤鎺堟潈璇存槑} + \vspace{-1em}\par + \centerline{\zihao{-4}锛堝繀椤昏璁㈠湪鎻愪氦瀛︽牎鍥句功棣嗙殑鍗板埛鏈級} + \vspace{1em}\par + + 鏈汉瀹屽叏浜嗚В鍖椾含澶у鍏充簬鏀堕泦銆佷繚瀛樸佷娇鐢ㄥ浣嶈鏂囩殑瑙勫畾锛屽嵆锛 + \begin{itemize} + \item 鎸夌収瀛︽牎瑕佹眰鎻愪氦瀛︿綅璁烘枃鐨勫嵃鍒锋湰鍜岀數瀛愮増鏈紱 + \item 瀛︽牎鏈夋潈淇濆瓨瀛︿綅璁烘枃鐨勫嵃鍒锋湰鍜岀數瀛愮増锛 + 骞舵彁渚涚洰褰曟绱笌闃呰鏈嶅姟锛屽湪鏍″洯缃戜笂鎻愪緵鏈嶅姟锛 + \item 瀛︽牎鍙互閲囩敤褰卞嵃銆佺缉鍗般佹暟瀛楀寲鎴栧叾瀹冨鍒舵墜娈典繚瀛樿鏂囷紱 + \item 鍥犳煇绉嶇壒娈婂師鍥犻渶瑕佸欢杩熷彂甯冨浣嶈鏂囩數瀛愮増锛 + 鎺堟潈瀛︽牎鍦 $\square$\nobreakspace{}涓骞 / % + $\square$\nobreakspace{}涓ゅ勾 / % + $\square$\nobreakspace{}涓夊勾浠ュ悗鍦ㄦ牎鍥綉涓婂叏鏂囧彂甯冦 + \end{itemize} + \par锛堜繚瀵嗚鏂囧湪瑙e瘑鍚庨伒瀹堟瑙勫畾锛 + \vspace{2.5em}\par + \rightline + {% + 璁烘枃浣滆呯鍚嶏細\hspace{5em}瀵煎笀绛惧悕锛歕hspace{5em}% + 鏃ユ湡锛歕hspace{2em}骞碶hspace{2em}鏈圽hspace{2em}鏃% + } + \par +} + diff --git a/Master/texmf-dist/doc/latex/pkuthss/utf8lf/img/Make.bat b/Master/texmf-dist/doc/latex/pkuthss/utf8lf/img/Make.bat new file mode 100644 index 00000000000..dd14e3db220 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pkuthss/utf8lf/img/Make.bat @@ -0,0 +1,31 @@ +@echo off + +@rem vim:ts=4:sw=4 +@rem +@rem Copyright (c) 2008-2009 solvethis +@rem Copyright (c) 2010-2012 Casper Ti. Vector +@rem Public domain. + +set GS=gswin32c +set GSOPTS=-q -dSAFER -dNOPAUSE -dBATCH -sDEVICE=pdfwrite +set WIDTHOPT=-dDEVICEWIDTHPOINTS= +set HEIGHTOPT=-dDEVICEHEIGHTPOINTS= +set OUTPUTOPT=-sOutputFile= + +if "%1"=="" goto pdf +if "%1"=="clean" (goto clean) else (goto usage) + +:pdf +%GS% %GSOPTS% %WIDTHOPT%400 %HEIGHTOPT%400 %OUTPUTOPT%pkulogo.pdf -f pkulogo.eps +%GS% %GSOPTS% %WIDTHOPT%525 %HEIGHTOPT%150 %OUTPUTOPT%pkuword.pdf -f pkuword.eps +goto end + +:clean +del pkulogo.pdf pkuword.pdf +goto end + +:usage +echo %0 [pdf] [clean] + +:end + diff --git a/Master/texmf-dist/doc/latex/pkuthss/utf8lf/img/Makefile b/Master/texmf-dist/doc/latex/pkuthss/utf8lf/img/Makefile new file mode 100644 index 00000000000..2068c24714c --- /dev/null +++ b/Master/texmf-dist/doc/latex/pkuthss/utf8lf/img/Makefile @@ -0,0 +1,37 @@ +# vim:ts=4:sw=4 +# +# Copyright (c) 2008-2009 solvethis +# Copyright (c) 2010-2012 Casper Ti. Vector +# Public domain. + +# 鐩存帴浣跨敤 pkulogo.eps 浣滀负璁烘枃灏侀潰鍥剧墖涔熸槸鍙鐨勶紝 +# 鍥犱负瀹冧娇鐢ㄧ殑 Times-Bold 瀛椾綋涓鑸搷浣滅郴缁熼兘鏈夈 +# 杩欐牱鐢 LaTeX + dvipdfm 鎴 XeLaTeX 鏂瑰紡鏄彲浠ョ紪璇戞垚鍔熺殑銆 +# 鍙互浣跨敤 ghostscript 灏 eps 鏂囦欢杞崲涓 鍜 pdf 鏍煎紡锛 +# 鍒 pdfLaTeX 鏂瑰紡涔熷彲浠ョ紪璇戞垚鍔熴 + +OPTS = -q -dSAFER -dNOPAUSE -dBATCH -sDEVICE=pdfwrite +WIDTHOPT = -dDEVICEWIDTHPOINTS= +HEIGHTOPT = -dDEVICEHEIGHTPOINTS= +OUTPUTOPT = -sOutputFile= + +# 鍖哄垎鏄 Windows 鐜杩樻槸绫 UNIX 鐜銆 +ifdef PATH + GS = gs + RM = rm -f +else + GS = gswin32c + RM = del +endif + +all: pkulogo.pdf pkuword.pdf + +pkulogo.pdf: pkulogo.eps + $(GS) $(OPTS) $(WIDTHOPT)400 $(HEIGHTOPT)400 $(OUTPUTOPT)$@ -f $< + +pkuword.pdf: pkuword.eps + $(GS) $(OPTS) $(WIDTHOPT)525 $(HEIGHTOPT)150 $(OUTPUTOPT)$@ -f $< + +clean: + $(RM) pkulogo.pdf pkuword.pdf + diff --git a/Master/texmf-dist/doc/latex/pkuthss/utf8lf/img/pkulogo.eps b/Master/texmf-dist/doc/latex/pkuthss/utf8lf/img/pkulogo.eps new file mode 100644 index 00000000000..638b429db44 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pkuthss/utf8lf/img/pkulogo.eps @@ -0,0 +1,146 @@ +%!PS +%%BoundingBox: 0 0 400 400 +%%Pages: 1 +%%Page: 1 1 + +% Copyright (c) 2008-2009 solvethis +% Copyright (c) 2010-2012 Casper Ti. Vector +% All rights reserved. +% +% Redistribution and use in source and binary forms, with or without +% modification, are permitted provided that the following conditions are +% met: +% +% * Redistributions of source code must retain the above copyright notice, +% this list of conditions and the following disclaimer. +% * Redistributions in binary form must reproduce the above copyright +% notice, this list of conditions and the following disclaimer in the +% documentation and/or other materials provided with the distribution. +% * Neither the name of Peking University nor the names of its contributors +% may be used to endorse or promote products derived from this software +% without specific prior written permission. +% +% THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS +% IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +% THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +% PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR +% CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +% EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +% PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +% PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +% LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +% NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +% SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +% 璁剧疆鍖楀ぇ绾㈢殑鑹插硷紙http://web5.pku.edu.cn/bs/cjwt/锛岄棶棰 5锛夈 +% 瑕佹兂灏嗛鑹叉敼涓洪粦鑹诧紝鍙渶灏嗕笅闈竴琛屾敼涓衡0 setgray鈥濆嵆鍙 +0.0 1.0 1.0 0.45 setcmykcolor +% 璁剧疆绾跨殑灞炴с +1 setlinecap +1 setlinejoin + +% 灏嗗潗鏍囧師鐐圭Щ鍒板浘鐗囩殑涓績銆 +200 200 translate +% 浣滃嚭澶栧渾銆 +newpath +6 setlinewidth +0 0 195 0 360 arc +stroke +% 浣滃嚭鍐呭渾銆 +newpath +5 setlinewidth +0 0 143 0 360 arc +stroke + +% 鎻忓嚭鈥滃寳澶р濆瓧鏍枫 +newpath +0 setlinewidth +-10 101 moveto +-10 101 -10 38 lineto +-10 35 -14 29 -19 28 curveto +-30 28 -60 15 -89 -26 curveto +-104 -39 -108 -24 -105 -16 curveto +-76 27 -36 45 -32 45 curveto +-30 46 -29 47 -29 49 curveto +-29 49 -29 68 lineto +-29 69 -30 69 -31 69 curveto +-38 67 -58 63 -83 42 curveto +-95 35 -103 49 -94 57 curveto +-72 74 -53 83 -31 88 curveto +-30 88 -29 89 -29 90 curveto +-29 90 -29 102 lineto +-29 111 -10 111 -10 101 curveto +10 101 moveto +10 101 10 38 lineto +10 35 14 29 19 28 curveto +30 28 60 15 89 -26 curveto +104 -39 108 -24 105 -16 curveto +76 27 36 45 32 45 curveto +30 46 29 47 29 49 curveto +29 49 29 68 lineto +29 69 30 69 31 69 curveto +38 67 58 63 83 42 curveto +95 35 103 49 94 57 curveto +72 74 53 83 31 88 curveto +30 88 29 89 29 90 curveto +29 90 29 102 lineto +29 111 10 111 10 101 curveto +-11 5 moveto +-11 4 -11 4 -12 4 curveto +-33 2 -65 -25 -80 -58 curveto +-82 -71 -70 -74 -63 -64 curveto +-45 -32 -27 -17 -12 -15 curveto +-11 -15 -11 -15 -11 -16 curveto +-11 -16 -11 -35 lineto +-11 -38 -11 -38 -13 -40 curveto +-28 -48 -34 -57 -45 -85 curveto +-48 -97 -32 -103 -28 -94 curveto +-15 -44 15 -44 28 -94 curveto +32 -103 48 -97 45 -85 curveto +34 -57 28 -48 13 -40 curveto +11 -38 11 -38 11 -35 curveto +11 -35 11 -16 lineto +11 -15 11 -15 12 -15 curveto +27 -17 45 -32 63 -64 curveto +70 -74 82 -71 80 -58 curveto +65 -25 33 2 12 4 curveto +11 4 11 4 11 5 curveto +11 5 11 12 lineto +11 25 -11 25 -11 12 curveto +-11 12 -11 5 lineto +133 0 moveto +0 0 133 0 360 arc +% 瀵瑰垰浣滃嚭鐨勭嚎鏉℃墽琛屽鍋剁浉闂寸殑濉厖锛屼娇涓棿绌哄嚭鐨勨滃寳澶р濆瓧鏍峰氨鏄忔槑鐨勩 +% 浠庤岋紝鍗充娇椤甸潰甯﹁儗鏅壊锛屾彃鍏ヨ繖涓浘鐗囨椂涔熶細寰堟甯搞 +eofill + +% 娣诲姞鏂囧瓧鈥淧EKING UNIVERSITY 1898鈥濄 +/Times-Bold findfont 40 scalefont setfont +/offset { dup stringwidth pop 2 div neg 155 moveto show } def + +gsave 112 rotate (P) offset grestore +gsave 98 rotate (E) offset grestore +gsave 84 rotate (K) offset grestore +gsave 70 rotate (I) offset grestore +gsave 56 rotate (N) offset grestore +gsave 41 rotate (G) offset grestore +gsave 15 rotate (U) offset grestore +gsave (N) offset grestore +gsave -14 rotate (I) offset grestore +gsave -28 rotate (V) offset grestore +gsave -42 rotate (E) offset grestore +gsave -56 rotate (R) offset grestore +gsave -70 rotate (S) offset grestore +gsave -84 rotate (I) offset grestore +gsave -98 rotate (T) offset grestore +gsave -112 rotate (Y) offset grestore + +/onset { dup stringwidth pop 2 div neg -182 moveto show } def + +gsave -24 rotate (1) onset grestore +gsave -8 rotate (8) onset grestore +gsave 8 rotate (9) onset grestore +gsave 24 rotate (8) onset grestore + +showpage +%%EOF diff --git a/Master/texmf-dist/doc/latex/pkuthss/utf8lf/img/pkuword.eps b/Master/texmf-dist/doc/latex/pkuthss/utf8lf/img/pkuword.eps new file mode 100644 index 00000000000..673309b8fe5 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pkuthss/utf8lf/img/pkuword.eps @@ -0,0 +1,273 @@ +%!PS +%%BoundingBox: 0 0 525 150 +%%Pages: 1 +%%Page: 1 1 + +% Copyright (c) 2008-2009 solvethis +% Copyright (c) 2010-2012 Casper Ti. Vector +% All rights reserved. +% +% Redistribution and use in source and binary forms, with or without +% modification, are permitted provided that the following conditions are +% met: +% +% * Redistributions of source code must retain the above copyright notice, +% this list of conditions and the following disclaimer. +% * Redistributions in binary form must reproduce the above copyright +% notice, this list of conditions and the following disclaimer in the +% documentation and/or other materials provided with the distribution. +% * Neither the name of Peking University nor the names of its contributors +% may be used to endorse or promote products derived from this software +% without specific prior written permission. +% +% THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS +% IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +% THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +% PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR +% CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +% EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +% PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +% PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +% LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +% NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +% SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +% 璁剧疆鍖楀ぇ绾㈢殑鑹插硷紙http://web5.pku.edu.cn/bs/cjwt/锛岄棶棰 5锛夈 +% 瑕佹兂灏嗛鑹叉敼涓洪粦鑹诧紝鍙渶灏嗕笅闈竴琛屾敼涓衡0 setgray鈥濆嵆鍙 +0.0 1.0 1.0 0.45 setcmykcolor +% 缂╂斁鍜屽钩绉汇 +0.702957 0.602957 scale +-30 -9 translate + +% 鈥滃寳鈥濄 +newpath +74 224 moveto +85.9 214.1 110.4 207.3 105 187 curveto +106 176.3 111.5 166.3 108 155 curveto +112.3 125.8 104.7 99 103 71 curveto +100.3 59.5 96.9 47.3 91 38 curveto +81.8 36 87.7 47.3 86 52 curveto +88.3 56.7 86.2 62 84 66 curveto +83 66 82 66 81 66 curveto +70.7 51.3 53.5 42.7 41 31 curveto +37.6 31.1 33.9 30.3 32 34 curveto +32.6 40.3 30.8 46.8 32 52 curveto +30.2 54 31.3 57.3 31 60 curveto +43.6 65.3 42.7 79.6 47 90 curveto +59 103.5 50 123.3 47 138 curveto +54.7 135.5 63.5 135.7 69 128 curveto +74.1 126.1 81.7 125.9 83 119 curveto +84.9 118.4 85.8 119.9 87 121 curveto +87 133.3 87 145.7 87 158 curveto +86.2 176.4 91.3 203.1 71 215 curveto +67.6 220.4 61.6 223.4 64 230 curveto +68.7 231.2 70.2 224.9 74 224 curveto +85 102 moveto +87.3 94.7 85.2 86.7 83 80 curveto +73.4 67.6 58.4 63.9 46 56 curveto +42.7 55.1 40.4 57.1 40 60 curveto +46 74 57.7 85.7 63 100 curveto +65.7 103 69.7 102.6 73 104 curveto +78.5 106.2 80.1 113.5 85 115 curveto +88 110.7 83.5 107 85 102 curveto +eofill +newpath +176 176 moveto +184.2 165.9 175.8 148 187 140 curveto +192.6 149.1 209.4 149.9 205 164 curveto +206 165.1 202.5 172.3 208 171 curveto +206.9 159.6 220 161 226 156 curveto +231.2 157.2 228.8 148.7 228 146 curveto +223.7 140 223 131.6 215 128 curveto +205 124.2 195.7 127.8 187 121 curveto +187 115 187 109 187 103 curveto +181.5 99.2 175.8 93.7 175 87 curveto +188.7 76.3 201.5 91.8 216 91 curveto +221.9 93 226.5 97.9 234 96 curveto +235.1 91.6 232.3 91.4 231 88 curveto +230 76.1 218.3 77.6 211 72 curveto +200.8 70.8 188.8 71.6 183 62 curveto +175.5 63.2 167.5 63 162 69 curveto +150.9 87.6 151.2 111 146 132 curveto +141.1 158 154 179.1 157 203 curveto +161.7 194.2 176.5 188.7 176 176 curveto +closepath +fill + +% 鈥滀含鈥濄 +newpath +351 221 moveto +349.4 215.9 349.3 209.3 343 207 curveto +332.9 217.2 312.8 180.1 322 206 curveto +322.3 218.3 314.3 227.2 311 238 curveto +309.3 244.7 315.9 244.8 320 243 curveto +329.3 239.7 338.7 234.2 346 228 curveto +346.6 225.2 350.4 223.8 351 221 curveto +closepath +fill +newpath +361 183 moveto +352.3 176.8 341.6 170.9 333 162 curveto +329.4 152.3 319 150.7 312 145 curveto +300.2 142.3 291.2 148.7 284 155 curveto +282.8 159.1 287.7 161.1 290 163 curveto +303.2 171.4 320.3 170.3 333 180 curveto +341.8 183.3 351 185.6 361 186 curveto +361 185 361 184 361 183 curveto +closepath +fill +newpath +357 135 moveto +361.8 126.8 349.9 127.4 347 122 curveto +341.4 114.9 332.9 110.9 329 104 curveto +327.3 101.3 322.5 100 324 96 curveto +326.1 92.8 330.4 96.3 333 98 curveto +337.3 100.7 341.7 97.3 346 97 curveto +343.8 86.8 332.7 85.7 326 80 curveto +322.5 79.3 318.3 77.9 317 74 curveto +312.2 64.9 322.3 60.7 321 52 curveto +323.8 41 328.2 28 325 17 curveto +317.4 16.8 319.5 25.8 314 29 curveto +311.8 32.7 304.6 30.9 306 37 curveto +309.5 37.7 313.7 39.1 315 43 curveto +314.3 48.7 316.7 55.6 313 60 curveto +311.1 60.3 309.6 59.5 308 59 curveto +293.5 46.9 284.8 31.5 271 20 curveto +264.2 18.7 260.4 24.7 259 30 curveto +257.8 32.6 258 35.9 258 39 curveto +276.8 39.2 288.7 56.3 304 65 curveto +307.5 64.9 309.3 69 312 71 curveto +313.3 74.6 309.9 76.3 309 79 curveto +308.3 85.9 319.3 93.8 311 98 curveto +306.6 97.1 300.6 97.6 299 92 curveto +304.1 80.4 294.9 72.3 289 64 curveto +287.6 63.3 287.4 65.7 286 65 curveto +277.5 80.5 281 99.7 283 117 curveto +287.1 115.7 290.3 112.3 294 110 curveto +309.9 114.8 321.3 130.8 337 136 curveto +343 134.2 351.6 135.3 357 135 curveto +closepath +fill +newpath +374 62 moveto +374 57.7 374 53.3 374 49 curveto +368.6 46.4 362.1 40.9 357 48 curveto +351.7 57.8 341.8 69.4 350 81 curveto +359.3 77.8 371.6 73.3 374 62 curveto +closepath +fill + +% 鈥滃ぇ鈥濄 +newpath +501 224 moveto +507.6 216 519.8 213 519 202 curveto +510.5 194.5 518.5 184 516 174 curveto +513.8 166.3 516.2 156.7 514 149 curveto +514.3 146.1 517.5 145.7 520 146 curveto +537.1 151 538.8 182.5 560 171 curveto +557.7 161.3 549.5 155.7 542 149 curveto +533.4 140.8 521.6 133.8 514 123 curveto +512.2 101.2 508.4 78.4 488 66 curveto +476 57.9 463 52.2 449 49 curveto +447.3 51.2 438.3 44.3 442 51 curveto +450.7 56.3 458.9 62.7 468 67 curveto +482.2 77.4 486.1 93.8 491 109 curveto +484.7 113.3 478.3 105.7 472 104 curveto +456.1 97.9 445.1 86.2 430 78 curveto +424.8 75.9 419.1 72.1 413 75 curveto +406.8 81.8 408.2 93 408 101 curveto +411.9 101.9 410.9 97.2 414 96 curveto +436.6 97.6 452.7 115.2 474 120 curveto +480.7 125.8 491.4 124.2 496 133 curveto +500.2 163 498.3 195.4 486 221 curveto +487.2 223.7 488.1 229.2 493 227 curveto +495 224.5 497.7 223.5 501 224 curveto +closepath +fill +newpath +557 86 moveto +564 76.3 578.2 71.9 574 58 curveto +568.3 51.9 560.3 51.5 552 52 curveto +550.3 54.4 550.8 58.5 552 61 curveto +548.5 71.2 540.4 81.9 545 93 curveto +548.4 91.3 552.1 86.2 557 86 curveto +closepath +fill + +% 瀛︺ +newpath +640 130 moveto +639.8 124 641.2 115.7 635 114 curveto +628.1 111.5 630.1 119.8 626 122 curveto +625.8 131.8 626.8 139.7 624 148 curveto +634.8 146.6 632.8 135.8 640 130 curveto +closepath +fill +newpath +733 248 moveto +738 233.7 720.5 224.5 721 210 curveto +728.7 202 735.5 214.1 744 213 curveto +753.3 220.2 762.3 213.3 773 214 curveto +768.4 191.6 756.7 169.5 737 156 curveto +736.5 154.6 736.3 153.1 735 152 curveto +740.1 145.1 758.1 154.4 754 140 curveto +746.5 116.3 724.8 109.9 705 101 curveto +715.3 113.3 728.2 123.7 736 138 curveto +733 143.2 726.9 137.7 723 136 curveto +703.9 117.4 683.8 101.3 660 94 curveto +652.2 91.7 644 90.4 635 91 curveto +635.9 98.4 645.4 97.9 650 103 curveto +673.8 121.1 701.1 130.5 726 146 curveto +726.6 147.9 725.1 148.8 724 150 curveto +716.7 151.2 712 146 706 144 curveto +705.5 149.3 711 153.3 709 158 curveto +704 160 699.6 166.5 694 164 curveto +686.8 160.8 686.1 147.6 677 150 curveto +677.2 159.5 697.7 166.9 684 176 curveto +694.5 171.8 700.6 182.7 705 189 curveto +705.8 191.9 705.5 193 703 195 curveto +699.4 194.7 696.9 191.6 693 192 curveto +693.6 196.3 699.8 198.2 699 203 curveto +694.9 208.7 686.3 203.7 684 212 curveto +684.1 216.3 689.1 212.2 692 213 curveto +695.3 212 699.5 214.5 703 216 curveto +718.6 222.2 724.8 240.5 726 255 curveto +729.2 254.8 729.6 249.9 733 248 curveto +748 193 moveto +743.7 180.6 733.5 168.9 725 160 curveto +724.5 167.3 722.5 174 719 180 curveto +710.8 180.5 719.2 163.3 708 168 curveto +696.3 179.3 716.2 187.4 718 198 curveto +728 202.3 738 194.7 748 193 curveto +eofill +newpath +640 195 moveto +643.7 193 646.5 188.9 651 189 curveto +661.3 177.5 670.8 165.7 671 150 curveto +667.8 144.8 662.5 140.5 657 139 curveto +653.4 161.3 643.8 182 627 198 curveto +625.5 199.7 625.5 203.3 627 205 curveto +632.2 203.8 635.2 197.3 640 195 curveto +closepath +fill +newpath +732 82 moveto +727.7 76.8 729.2 66.5 720 66 curveto +713.6 65.1 703.7 68.2 702 60 curveto +702.4 47.8 712 38.2 707 25 curveto +704 12.5 688.9 12 678 10 curveto +675.5 16.8 666.3 14.1 663 19 curveto +675.2 21.9 691.3 19.6 697 34 curveto +692.9 41.6 697.4 53.6 690 59 curveto +670.3 53.8 653.1 42.5 636 31 curveto +631.1 29.7 626.4 25.1 621 28 curveto +620.2 35.6 610.3 39.5 614 49 curveto +617.7 54.2 624 53 629 55 curveto +654.8 67.1 680.6 79.3 709 85 curveto +711.4 88.3 717 87.2 720 86 curveto +723.4 86.2 729.3 86.3 732 82 curveto +closepath +fill + +showpage +%%EOF diff --git a/Master/texmf-dist/doc/latex/pkuthss/utf8lf/pkuthss.bib b/Master/texmf-dist/doc/latex/pkuthss/utf8lf/pkuthss.bib new file mode 100644 index 00000000000..d9aee4ee4fa --- /dev/null +++ b/Master/texmf-dist/doc/latex/pkuthss/utf8lf/pkuthss.bib @@ -0,0 +1,196 @@ +vim:ts=4:sw=4 + +@online{biber, + author = {Kime, Philip and Charette, Fran\c{c}ois}, + title = {Biber: A backend bibliography processor for biblatex (Version 0.9.9)}, + type = {M/OL}, + date = {2012-03-29}, + url = {http://mirror.ctan.org/biblio/biber/}, + urldate = {2012-08-01}, +} + +@online{biblatex, + author = {Lehman, Philipp}, + title = {The biblatex Package: Programmable Bibliographies and Citations (Version 1.7)}, + type = {M/OL}, + date = {2011-11-13}, + url = {http://mirror.ctan.org/macros/latex/exptl/biblatex/}, + urldate = {2012-08-01}, +} + +@online{biblatex-caspervector, + author = {Vector, Casper Ti.}, + title = {biblatex 鍙傝冩枃鐚拰寮曠敤鏍峰紡锛歝aspervector v0.1.4}, + type = {M/OL}, + date = {2012-10-11}, + url = {http://caspervector.googlecode.com/files/biblatex-caspervector-0.1.4.zip}, + urldate = {2012-10-11}, + userf = {zh}, +} + +@online{ctex, + author = {{ctex.org}}, + title = {ctex 瀹忓寘璇存槑锛坴1.02c锛墋, + type = {M/OL}, + date = {2011-03-11}, + url = {http://mirror.ctan.org/language/chinese/ctex/}, + urldate = {2012-08-01}, + userf = {zh}, +} + +@online{ctex-faq, + author = {鍚村噷浜憓, + title = {\CTeX{} FAQ锛堝父瑙侀棶棰橀泦锛夛紝0.4 beta (89) 鐗坿, + type = {M/OL}, + date = {2007-01-30}, + url = {http://mirror.ctan.org/info/ctex-faq/}, + urldate = {2012-08-01}, + userf = {zh}, +} + +@online{enumitem, + author = {Bezos, Javier}, + title = {Customizing lists with the enumitem package (Version 3.5.2)}, + type = {M/OL}, + date = {2011-09-28}, + url = {http://mirror.ctan.org/macros/latex/contrib/enumitem/}, + urldate = {2012-08-01}, +} + +@online{etoolbox, + author = {Lehman, Philipp}, + title = {The etoolbox package: An e-TeX Toolbox for Class and Package Authors (Version 2.1)}, + type = {M/OL}, + date = {2011-01-03}, + url = {http://mirror.ctan.org/macros/latex/contrib/etoolbox/}, + urldate = {2012-08-01}, +} + +@online{fancyhdr, + author = {van Oostrum, Piet}, + title = {Page layout in \LaTeX{}}, + type = {M/OL}, + date = {2004-03-02}, + url = {http://mirror.ctan.org/macros/latex/contrib/fancyhdr/}, + urldate = {2012-08-01}, +} + +@online{footmisc, + author = {Fairbairns, Robin}, + title = {footmisc --- a portmanteau package for customising footnotes in \LaTeX{}}, + type = {M/OL}, + date = {2011-07-06}, + url = {http://mirror.ctan.org/macros/latex/contrib/footmisc/}, + urldate = {2012-08-01}, +} + +@online{geometry, + author = {Umeki, Hideo}, + title = {The geometry package (v5.6)}, + type = {M/OL}, + date = {2010-09-12}, + url = {http://mirror.ctan.org/macros/latex/contrib/geometry/}, + urldate = {2012-08-01}, +} + +@online{graphicx, + author = {Carlisle, D. P.}, + title = {Packages in the `graphics' bundle}, + type = {M/OL}, + date = {2005-11-14}, + url = {http://mirror.ctan.org/macros/latex/required/graphics/}, + urldate = {2012-08-01}, +} + +@online{hyperref, + author = {Rahtz, Sebastian and Oberdiek, Heiko}, + title = {Hypertext marks in \LaTeX{}: a manual for hyperref (v6.82q)}, + type = {M/OL}, + date = {2012-05-13}, + url = {http://mirror.ctan.org/macros/latex/contrib/hyperref/}, + urldate = {2012-08-01}, +} + +@online{dypang, + author = {dypang}, + title = {鍖椾含澶у纭曞崥璁烘枃妯$増锛堟祴璇曠増锛墋, + type = {EB/OL}, + date = {2005-04-05}, + url = {http://bdwm.net/a.php?b/Thesis/M.1112645491.A/D10F612.rar}, + urldate = {2012-08-01}, + userf = {zh}, +} + +@online{FerretL, + author = {FerretL}, + title = {鏂扮殑 pku 鍗氬+璁烘枃妯℃澘}, + type = {EB/OL}, + date = {2007-03-27}, + url = {http://bdwm.net/a.php?b/Thesis/M.1174982168.A/4270722.rar}, + urldate = {2012-08-01}, + userf = {zh}, +} + +@online{lwolf, + author = {lwolf}, + title = {瀛﹀+(纭/鍗)姣曚笟璁烘枃妯℃澘 [鍩轰簬 dypang 鐨勬ā鏉縘}, + type = {EB/OL}, + date = {2007-05-15}, + url = {http://bdwm.net/a.php?b/MathTools/M.1179239165.A/5A2D5A2.rar}, + urldate = {2012-08-01}, + userf = {zh}, +} + +@online{Langpku, + author = {Langpku}, + title = {Re: 鍏充簬缃簳妯$増鐨勯棶棰樺拰涓浜涗慨鏀箎, + type = {EB/OL}, + date = {2007-06-01}, + url = {http://bdwm.net/a.php?b/MathTools/M.1180676700.A/DBB7810.zip}, + urldate = {2012-08-01}, + userf = {zh}, +} + +@online{solvethis, + author = {solvethis}, + title = {Re: 瀛︿綅璁烘枃妯℃澘鏇存柊}, + type = {EB/OL}, + date = {2008-03-13}, + url = {http://bdwm.net/a.php?b/Thesis/M.1205377509.A/9413ED2.rar}, + urldate = {2012-08-01}, + userf = {zh}, +} + +@online{pku-copyright, + author = {鍖椾含澶у鐮旂┒鐢熼櫌}, + title = {鍖椾含澶у瀛︿綅璁烘枃鐗堟潈澹版槑(棣栭〉)}, + type = {M/OL}, + year = {2010}, + url = {http://grs.pku.edu.cn/document/20101110143928832634.doc}, + urldate = {2012-08-01}, + userf = {zh}, +} + +@online{pku-originauth, + author = {鍖椾含澶у鐮旂┒鐢熼櫌}, + title = {鍖椾含澶у瀛︿綅璁烘枃鍘熷垱鎬у0鏄庡拰浣跨敤鎺堟潈璇存槑(鏈〉)}, + type = {M/OL}, + year = {2010}, + url = {http://grs.pku.edu.cn/document/20101110143844053593.doc}, + urldate = {2012-08-01}, + userf = {zh}, +} + +@incollection{pku-thesisstyle, + author = {鍖椾含澶у鐮旂┒鐢熼櫌}, + title = {鍖椾含澶у鐮旂┒鐢熷浣嶈鏂囩殑鍩烘湰瑕佹眰涓庝功鍐欐牸寮弣, + type = {M/OL}, + booktitle = {鍖椾含澶у鐮旂┒鐢熸墜鍐寎, + publisher = {鍖椾含澶у}, + year = {2011}, + pages = {27-31}, + url = {http://grs.pku.edu.cn/document/20110829160841775796.doc}, + urldate = {2012-08-01}, + userf = {zh}, +} + diff --git a/Master/texmf-dist/doc/latex/pkuthss/utf8lf/pkuthss.tex b/Master/texmf-dist/doc/latex/pkuthss/utf8lf/pkuthss.tex new file mode 100644 index 00000000000..f3fa47178d7 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pkuthss/utf8lf/pkuthss.tex @@ -0,0 +1,101 @@ +% vim:ts=4:sw=4 +% +% Copyright (c) 2008-2009 solvethis +% Copyright (c) 2010-2012 Casper Ti. Vector +% Public domain. +% +% 浣跨敤鍓嶈鍏堜粩缁嗛槄璇 pkuthss 鍜 biblatex-caspervector 鐨勬枃妗o紝 +% 鐗瑰埆鏄叾涓殑 FAQ 閮ㄥ垎鍜岀敤绾㈣壊寮鸿皟鐨勯儴鍒嗐 +% 涓よ呭彲鍦ㄧ粓绔/鍛戒护鎻愮ず绗︿腑鐢 +% texdoc pkuthss +% texdoc biblatex-caspervector +% 璋冨嚭銆 + +% 鍦ㄩ粦鐧芥墦鍗版椂褰╄壊閾炬帴鍙兘鍙樻垚娴呯伆鑹诧紝姝ゆ椂鍙皢鈥渃olorlinks鈥濇敼涓衡渘ocolorlinks鈥濄 +\documentclass[UTF8, colorlinks, notocbibind]{pkuthss} + +% 浣跨敤 biblatex 鎺掔増鍙傝冩枃鐚紝骞惰瀹氬叾鏍煎紡銆 +\usepackage[backend = biber, style = caspervector, utf8]{biblatex} +% 浣垮緱鎵撳瓧鏈虹矖浣撳彲浠ヨ浣跨敤銆 +\usepackage{lmodern} +% 浜х敓 originauth.tex 閲岀殑 \square銆 +\usepackage{amssymb} +% 鎻愪緵 Verbatim 鐜鍜 \VerbatimInput 鍛戒护銆 +\usepackage{fancyvrb} +% 鎻愪緵鍚勭 TeX logo锛岀壒鍒槸 XeTeX 绯荤殑璇″紓 logo銆 +\usepackage{hologo} + +% 浣胯寮鸿皟鐨勫唴瀹逛负绾㈣壊銆 +\newcommand{\myemph}[1]{\emph{\textcolor{red}{#1}}} + +% pkuthss 鏂囨。妯$増鐨勭増鏈 +\newcommand{\docversion}{v1.4 beta2} +% 璁惧畾鏂囨。鐨勫熀鏈俊鎭 +\pkuthssinfo{ + cthesisname = {鏈鐢熸瘯涓氳鏂噠, ethesisname = {Undergraduate Thesis}, + ctitle = {鍖椾含澶у璁烘枃鏂囨。妯$増\\pkuthss \docversion}, + % 鈥淺\鈥濆湪璁惧畾 pdf 灞炴ф椂浼氳鑷姩杩囨护鎺夛紝浜庢槸寰楀埌鐨 pdf 灞炴т腑鏍囬涓 + % The PKU dissertation document classpkuthss [鐗堟湰鍙穄 + % 姝ゅ鎸囧畾鍏惰鏇挎崲涓衡: 鈥濓紝浠ヤ娇涔嬩负 + % The PKU dissertation document class: pkuthss [鐗堟湰鍙穄 + etitle = {% + The PKU dissertation document class\texorpdfstring{\\}{: }% + pkuthss \docversion% + }, + cauthor = {鐩栬尐娉 $\cdot$ 閽 $\cdot$ 缁村厠鎵榼, + eauthor = {Casper Ti.\ Vector}, + studentid = {00910???}, + date = {浜屻囦竴浜屽勾鍗佹湀}, + school = {鍖栧涓庡垎瀛愬伐绋嬪闄, + cmajor = {鍖栧锛堬紵锛墋, emajor = {Chemistry}, + direction = {鎹 Casper 鑷繁涔熶笉鐭ラ亾}, + cmentor = {XX 鏁欐巿}, ementor = {Prof.\ XX}, + ckeywords = {\LaTeX2e{}锛屾帓鐗堬紝鏂囨。绫伙紝\CTeX{}}, + ekeywords = {\LaTeX2e{}, typesetting, document class, \CTeX{}} +} +% 瀵煎叆鍙傝冩枃鐚暟鎹簱锛堟敞鎰忎笉瑕佺渷鐣モ.bib鈥濓級銆 +\addbibresource{pkuthss.bib} + +\begin{document} + % 浠ヤ笅涓烘鏂囦箣鍓嶇殑閮ㄥ垎銆 + \frontmatter + + % 鑷姩鐢熸垚鏍囬椤点 + \maketitle + % 鐗堟潈澹版槑銆 + \include{chap/copyright} + % 涓嫳鏂囨憳瑕併 + \include{chap/abstract} + % 鑷姩鐢熸垚鐩綍銆 + \tableofcontents + + % 浠ヤ笅涓烘鏂囥 + \mainmatter + + % 缁█銆 + \include{chap/introduction} + % 鍚勭珷鑺傘 + \include{chap/chap1} + \include{chap/chap2} + \include{chap/chap3} + % 缁撹銆 + \include{chap/conclusion} + + % 姝f枃涓殑闄勫綍閮ㄥ垎銆 + \appendix + % 鎺掔増鍙傝冩枃鐚垪琛紝骞朵娇鍏跺嚭鐜板湪鐩綍涓 + % 濡傛灉鍚屾椂瑕佷娇鍙傝冩枃鐚垪琛ㄥ弬涓庣珷鑺傜紪鍙凤紝鍙皢鈥渂ibintoc鈥濇敼涓衡渂ibnumbered鈥濄 + \printbibliography[heading = bibintoc] + % 鍚勯檮褰曘 + \include{chap/encl1} + \include{chap/encl2} + + % 浠ヤ笅涓烘鏂囦箣鍚庣殑閮ㄥ垎銆 + \backmatter + + % 鑷磋阿銆 + \include{chap/acknowledge} + % 鍘熷垱鎬у0鏄庡拰浣跨敤鎺堟潈璇存槑銆 + \include{chap/originauth} +\end{document} + diff --git a/Master/texmf-dist/tex/latex/pkuthss/pkuthss-extra.sty b/Master/texmf-dist/tex/latex/pkuthss/pkuthss-extra.sty new file mode 100644 index 00000000000..a16e4a1e35d --- /dev/null +++ b/Master/texmf-dist/tex/latex/pkuthss/pkuthss-extra.sty @@ -0,0 +1,166 @@ +% vim:ft=tex:ts=2:sw=2 +% +% Peking University dissertation document class +% +% Copyright (c) 2008-2009 solvethis +% Copyright (c) 2010-2012 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 +% your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.3 or later is part of all distributions of LaTeX version +% 2005/12/01 or later. +% +% This work has the LPPL maintenance status `maintained'. +% The current maintainer of this work is Casper Ti. Vector. +% +% This work consists of the following files: +% pkuthss.cls +% pkuthss-gbk.def +% pkuthss-utf8.def +% pkuthss-extra.sty + +\NeedsTeXFormat{LaTeX2e}[1995/12/01] +\ProvidesPackage{pkuthss-extra} + [2012/10/11 v1.4-beta2 Common extra settings for the pkuthss document class] + +% Check the dependency of pkuthss. +\@ifclassloaded{pkuthss}{}{ + \PackageError{pkuthss-extra}% + {The pkuthss document class is not loaded}% + {The pkuthss-extra package depends on the pkuthss document class.} +} + +% eg. `\pkuthssextra@int@boolopt{spacing}{true}' will expand to: +% \newif\ifpkuthssextra@opt@spacing \pkuthssextra@opt@spacingtrue +% \DeclareOption{spacing}{\pkuthssextra@opt@spacingtrue} +% \DeclareOption{nospacing}{\pkuthssextra@opt@spacingfalse} +\def\pkuthssextra@int@boolopt#1#2{ + \expandafter\newif\csname ifpkuthssextra@opt@#1\endcsname + \@nameuse{pkuthssextra@opt@#1#2} + \DeclareOption{#1}{\@nameuse{pkuthssextra@opt@#1true}} + \DeclareOption{no#1}{\@nameuse{pkuthssextra@opt@#1false}} +} +% Whethet to use some common settings for adjusting spacing. +\pkuthssextra@int@boolopt{spacing}{true} +% Whether to use list environments that are tighter than LaTeX defaults. +\pkuthssextra@int@boolopt{tightlist}{true} +% Whether to use some common settings about table of contents, bibliography and +% indexes. +\pkuthssextra@int@boolopt{pdftoc}{true} +% Whether to enable `\Uppercase' (works problematically) in heading marks. +\pkuthssextra@int@boolopt{uppermark}{false} +% Whether to enable the `\spacialchap' command. +\pkuthssextra@int@boolopt{spechap}{true} +% Whether to automatically set properties for generated PDF from user defined +% document information (author, title, etc.). +\pkuthssextra@int@boolopt{pdfprop}{true} +% Whether to use coloured hyperlinks in generated PDF. +\pkuthssextra@int@boolopt{colorlinks}{true} +% Process all class options now. +\ProcessOptions\relax + +\ifpkuthssextra@opt@spacing + % Automatically ignore spaces between CJK characters and preserve spaces in other + % situations. XeCJK itself will handle this issue, therefore we do not use + % `CJKspace' when using XeLaTeX. + \unless\ifxetex\RequirePackage{CJKspace}\fi + % Make spacing nicer in some situations (eg. footnotes and verbatims). + \RequirePackage{setspace} + % Make the text area centered in the page. + \geometry{centering} + % Set line skip. + \linespread{1.41}\selectfont + % Automatically insert a space between the label and the text in footnotes. + \RequirePackage{footmisc} + \renewcommand{\footnotelayout}{\ } +\fi + +\ifpkuthssextra@opt@tightlist + % Lists often appear to be too sparse when items are just one or two lines long. + % Here we cancel the extra vertical spacing between list items. + % Biblatex uses `\itemsep' as default `\bibitemsep', no need to change it. + \RequirePackage{enumitem} + \setlist{nolistsep} +\fi + +\ifpkuthssextra@opt@pdftoc + % Add PDF bookmark for table of contents. + \let\pkuthssextra@tmp@tableofcontents\tableofcontents + \renewcommand{\tableofcontents}{ + % Make the `Contents' bookmark point correctly to the title of the table of + % contents. + \cleardoublepage + % Actually add the PDF bookmark. + \pdfbookmark[1]{\contentsname}{contents} + \pkuthssextra@tmp@tableofcontents + } +\fi + +\ifpkuthssextra@opt@spechap + % This command is used to start a chapter without numbering, and correctly set + % the headers and footers in the chapter. + \newcommand\specialchap[1]{ + \chapter*{#1}\addcontentsline{toc}{chapter}{#1} + \markboth{#1}{}\phantomsection + } +\fi + +\AtBeginDocument{ + % `\MakeUppercase' works problematically. + % eg. it converts `\cite{ctex}' into `\cite{CTEX}'. + % This option can disable `\MakeUppercase' in left/right heading marks. + \unless\ifpkuthssextra@opt@uppermark + % Code modified from part of ctex-book.def in `ctex' package. + % The main difference is the deletion of calls to `\MakeUppercase' here. + \if@twoside + \renewcommand\chaptermark[1]{% + \markboth{% + \ifnum\value{secnumdepth}>-1 \if@mainmatter \CTEXthechapter \quad \fi\fi + #1% + }{}% + } + \renewcommand\sectionmark[1]{% + \markright{\ifnum\value{secnumdepth}>-1 \CTEXthesection \quad \fi #1}% + } + % One side typesetting should also be considered. + \else + \renewcommand\chaptermark[1]{% + \markright{% + \ifnum\value{secnumdepth}>-1 \if@mainmatter \CTEXthechapter \quad \fi\fi + #1% + }% + } + \fi + \fi + + \ifpkuthssextra@opt@pdfprop + % Automatically generate properties for generated PDF. + % Use English properties to avoid problems with character encodings. + \newcommand{\setpdfproperties}{ + \hypersetup{ + pdfauthor = {\@eauthor}, pdftitle = {\@etitle}, + pdfsubject = {\euniversity\ \ethesisname}, pdfkeywords = {\@ekeywords} + } + } + % Set the properties when generating the title page because the document + % information should have been all defined before this. + \let\pkuthssextra@tmp@maketitle\maketitle + % NOTE: `\hypersetup' must appear before `\maketitle', otherwise it might not + % act as wished. + \renewcommand\maketitle{\setpdfproperties\pkuthssextra@tmp@maketitle} + \fi + + \ifpkuthssextra@opt@colorlinks + % Use coloured hyperlinks in generated PDF. + \hypersetup{colorlinks = true, allcolors = blue} + \else + % Set hyperlink colour to black in order to prevent hyperlinks from being too + % hard-to-recognise in printed thesis. + \hypersetup{colorlinks = false, pdfborder = {0 0 0}} + \fi +} + +\endinput diff --git a/Master/texmf-dist/tex/latex/pkuthss/pkuthss-gbk.def b/Master/texmf-dist/tex/latex/pkuthss/pkuthss-gbk.def new file mode 100644 index 00000000000..db2862a542e --- /dev/null +++ b/Master/texmf-dist/tex/latex/pkuthss/pkuthss-gbk.def @@ -0,0 +1,49 @@ +% vim:ft=tex:ts=2:sw=2 +% +% Peking University dissertation document class +% +% Copyright (c) 2008-2009 solvethis +% Copyright (c) 2010-2012 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 +% your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.3 or later is part of all distributions of LaTeX version +% 2005/12/01 or later. +% +% This work has the LPPL maintenance status `maintained'. +% The current maintainer of this work is Casper Ti. Vector. +% +% This work consists of the following files: +% pkuthss.cls +% pkuthss-gbk.def +% pkuthss-utf8.def +% pkuthss-extra.sty + +\ProvidesFile{pkuthss-gbk.def} + [2012/10/11 v1.4-beta2 Labels and captions in GBK encoding + for the pkuthss document class] + +\def\label@ctitle{题目:} +\def\label@cauthor{姓\hphantom{汉字}名:} +\def\label@studentid{学\hphantom{汉字}号:} +\def\label@school{院\hphantom{汉字}系:} +\def\label@cmajor{专\hphantom{汉字}业:} +\def\label@direction{研究方向:} +\def\label@cmentora{导\hphantom{汉字}师:} +\def\label@cmentorb{导师:} +\def\label@ementor{Directed by\ } +\def\label@ckeywords{关键词:} +\def\label@ekeywords{Keywords:\ } + +\def\titlepagename{封面} +\def\cuniversity{北京大学} +\def\euniversity{Peking University} +\def\cthesisname{博士研究生学位论文} +\def\ethesisname{Doctor Thesis} +\def\cabstractname{摘要} +\def\eabstractname{Abstract} + +\endinput diff --git a/Master/texmf-dist/tex/latex/pkuthss/pkuthss-utf8.def b/Master/texmf-dist/tex/latex/pkuthss/pkuthss-utf8.def new file mode 100644 index 00000000000..10d6ea71f9a --- /dev/null +++ b/Master/texmf-dist/tex/latex/pkuthss/pkuthss-utf8.def @@ -0,0 +1,49 @@ +% vim:ft=tex:ts=2:sw=2 +% +% Peking University dissertation document class +% +% Copyright (c) 2008-2009 solvethis +% Copyright (c) 2010-2012 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 +% your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.3 or later is part of all distributions of LaTeX version +% 2005/12/01 or later. +% +% This work has the LPPL maintenance status `maintained'. +% The current maintainer of this work is Casper Ti. Vector. +% +% This work consists of the following files: +% pkuthss.cls +% pkuthss-gbk.def +% pkuthss-utf8.def +% pkuthss-extra.sty + +\ProvidesFile{pkuthss-utf8.def} + [2012/10/11 v1.4-beta2 Labels and captions in UTF-8 encoding + for the pkuthss document class] + +\def\label@ctitle{棰樼洰锛殅 +\def\label@cauthor{濮揬hphantom{姹夊瓧}鍚嶏細} +\def\label@studentid{瀛hphantom{姹夊瓧}鍙凤細} +\def\label@school{闄hphantom{姹夊瓧}绯伙細} +\def\label@cmajor{涓揬hphantom{姹夊瓧}涓氾細} +\def\label@direction{鐮旂┒鏂瑰悜锛殅 +\def\label@cmentora{瀵糪hphantom{姹夊瓧}甯堬細} +\def\label@cmentorb{瀵煎笀锛殅 +\def\label@ementor{Directed by\ } +\def\label@ckeywords{鍏抽敭璇嶏細} +\def\label@ekeywords{Keywords:\ } + +\def\titlepagename{灏侀潰} +\def\cuniversity{鍖椾含澶у} +\def\euniversity{Peking University} +\def\cthesisname{鍗氬+鐮旂┒鐢熷浣嶈鏂噠 +\def\ethesisname{Doctor Thesis} +\def\cabstractname{鎽樿} +\def\eabstractname{Abstract} + +\endinput diff --git a/Master/texmf-dist/tex/latex/pkuthss/pkuthss.cls b/Master/texmf-dist/tex/latex/pkuthss/pkuthss.cls new file mode 100644 index 00000000000..8683162ce1c --- /dev/null +++ b/Master/texmf-dist/tex/latex/pkuthss/pkuthss.cls @@ -0,0 +1,282 @@ +% vim:ft=tex:ts=2:sw=2 +% +% Peking University dissertation document class +% +% Copyright (c) 2008-2009 solvethis +% Copyright (c) 2010-2012 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 +% your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.3 or later is part of all distributions of LaTeX version +% 2005/12/01 or later. +% +% This work has the LPPL maintenance status `maintained'. +% The current maintainer of this work is Casper Ti. Vector. +% +% This work consists of the following files: +% pkuthss.cls +% pkuthss-gbk.def +% pkuthss-utf8.def +% pkuthss-extra.sty + +\NeedsTeXFormat{LaTeX2e}[1995/12/01] +\ProvidesClass{pkuthss} + [2012/10/11 v1.4-beta2 Peking University dissertation document class] + +% Process the encoding options. +\newif\ifpkuthss@opt@gbk \pkuthss@opt@gbktrue +\DeclareOption{GBK}{\pkuthss@opt@gbktrue\PassOptionsToClass{GBK}{ctexbook}} +\DeclareOption{UTF8}% + {\pkuthss@opt@gbkfalse\PassOptionsToClass{UTF8}{ctexbook}} +% Whether to enable the default extra settings. +\newif\ifpkuthss@opt@extra \pkuthss@opt@extratrue +\DeclareOption{extra}{\pkuthss@opt@extratrue} +\DeclareOption{noextra}{\pkuthss@opt@extrafalse} +% eg. `\pkuthss@int@extraopt{spacing}' will expand to: +% \DeclareOption{spacing}{\PassOptionsToClass{spacing}{pkuthss-extra}} +% \DeclareOption{nospacing}{\PassOptionsToClass{nospacing}{pkuthss-extra}} +\def\pkuthss@int@extraopt#1{ + \DeclareOption{#1}{\PassOptionsToClass{#1}{pkuthss-extra}} + \DeclareOption{no#1}{\PassOptionsToClass{no#1}{pkuthss-extra}} +} +% Pass options to `pkuthss-extra'. +% See pkuthss-extra.sty for an explanation of the options. +\pkuthss@int@extraopt{spacing} +\pkuthss@int@extraopt{tightlist} +\pkuthss@int@extraopt{pdftoc} +\pkuthss@int@extraopt{uppermark} +\pkuthss@int@extraopt{spechap} +\pkuthss@int@extraopt{pdfprop} +\pkuthss@int@extraopt{colorlinks} +% Pass all other options to `ctexbook' document class. +\DeclareOption*{\PassOptionsToClass{\CurrentOption}{ctexbook}} +% Process all class options now. +\ProcessOptions\relax + +% pkuthss is based on ctexbook; We use A4 paper, and `xiao 4' as default font size. +% CJKfntef provides \CJKunderline used in \maketitle. +% fancyhdr provides utilities for setting headers and footers. +\LoadClass[fntef,a4paper,fancyhdr,cs4size]{ctexbook}[2009/10/20] +% Provide support for `key = val' grammar. +\RequirePackage{keyval} +% Graphics support. +\RequirePackage{graphicx}[1999/02/16] +% Provide utilities for setting page layout. +\RequirePackage{geometry} +% Provide \AtEndPreamble used later. +% To be removed by summer in 2013, see the fix of `\hypersetup' below. +\RequirePackage{etoolbox} +% Whether to enable the default extra settings. +\ifpkuthss@opt@extra\RequirePackage{pkuthss-extra}\fi + +\ifxetex\ifpkuthss@opt@gbk + % No support for XeLaTeX compilation in non-unicode encoding, i.e. GBK. + \ClassError{pkuthss}% + {XeLaTeX compilation is not supported without UTF-8}% + {% + XeLaTeX compilation without UTF-8 is very problematic.\MessageBreak + Therefore please use UTF-8 encoding for the LaTeX code.% + } +\fi\fi + +\AtEndOfClass{ + % Setting chinese captions and labels. + \ifpkuthss@opt@gbk\input{pkuthss-gbk.def} + \else\input{pkuthss-utf8.def} + \fi + + % Automatically generate hyperlinks and bookmarks for table of contents, + % citations and index. + % Code copied with minor modifications from ctex-common.def in `ctex' package. + % Not directly using the `hyperref' option of `ctex' package in order to avoid + % the conflicts caused by loading of `hyperref' before `setspace' in `ctex' + % package older than 1.02c. + % This piece of code will be removed by summer in 2013, and we will use the + % `hyperref' option of `ctex' package instead, considering most people + % will be using newer versions of `ctex' package at that time. + \providecommand\hypersetup[1]{\PassOptionsToPackage{#1}{hyperref}} + \AtEndPreamble{\RequirePackage{hyperref}} + \ifpkuthss@opt@gbk + \unless\ifxetex + \hypersetup{CJKbookmarks} + \unless\ifpdf + \AtBeginDvi{\special{pdf:tounicode GBK-EUC-UCS2}} + \fi + \fi + \else + \hypersetup{unicode} + \fi + \hypersetup{driverfallback = dvipdfmx} +} + +% Set page layout. +\geometry{height = 240mm, width = 150mm, includeheadfoot, headheight = 1.2em} +% Set headers and footers. +\pagestyle{fancy}\fancyhf{} +\fancyhead[LE]{\small\normalfont\leftmark} +\fancyhead[RO]{\small\normalfont\rightmark} +\fancyhead[LO,RE]{\small\normalfont\cuniversity\cthesisname} +\fancyfoot[RO,LE]{\small\normalfont --~\thepage~--} +% Set the headers and footers on the first page in every chapter. +\fancypagestyle{plain}{ + \fancyhf{}\renewcommand{\headrulewidth}{0pt} + \fancyfoot[RO,LE]{\small\normalfont --~\thepage~--} +} + +% eg. `\pkuthss@int@infoitema{ctitle}' will expand to: +% \def\ctitle#1{\def\@ctitle{#1}} +% \define@key{pkuthss@info}{ctitle}{\ctitle{#1}} +\def\pkuthss@int@infoitema#1{ + \@namedef{#1}##1{\@namedef{@#1}{##1}} + \define@key{pkuthss@info}{#1}{\@nameuse{#1}{##1}} +} +% eg. `\pkuthss@int@infoitemb{cuniversity}' will expand to: +% \define@key{pkuthss@info}{cuniversity}{\def\cuniversity{#1}} +\def\pkuthss@int@infoitemb#1{ + \define@key{pkuthss@info}{#1}{\@namedef{#1}{##1}} +} +% Setting document information entries. +\pkuthss@int@infoitema{ctitle} +\pkuthss@int@infoitema{etitle} +\pkuthss@int@infoitema{cauthor} +\pkuthss@int@infoitema{eauthor} +\pkuthss@int@infoitema{studentid} +\pkuthss@int@infoitema{date} +\pkuthss@int@infoitema{school} +\pkuthss@int@infoitema{cmajor} +\pkuthss@int@infoitema{emajor} +\pkuthss@int@infoitema{direction} +\pkuthss@int@infoitema{cmentor} +\pkuthss@int@infoitema{ementor} +\pkuthss@int@infoitema{ckeywords} +\pkuthss@int@infoitema{ekeywords} +\pkuthss@int@infoitemb{cuniversity} +\pkuthss@int@infoitemb{euniversity} +\pkuthss@int@infoitemb{cthesisname} +\pkuthss@int@infoitemb{ethesisname} +\pkuthss@int@infoitemb{cabstractname} +\pkuthss@int@infoitemb{eabstractname} +% Set document information using the `key = value' grammar. +\newcommand{\pkuthssinfo}[1]{\setkeys{pkuthss@info}{#1}} + +% Usage: \pkuthss@int@fillinblank{(number of lines)}{(line width)}{(contents)} +\def\pkuthss@int@fillinblank#1#2#3{ + \makebox[0pt][l]{\parbox[t]{#2}{\centering{#3}}}\mbox{}% + \parbox[t]{#2}{% + \newcount\pkuthss@tmp@linecount + \pkuthss@tmp@linecount=#1 + \loop\ifnum\pkuthss@tmp@linecount>0 + % Fill specified space with underline on the bottom line. `\underline' + % draws line on the baseline (not the bottom line), and this is why + % `\CJKunderline' is used here instead. + \ifnum\pkuthss@tmp@linecount=1 + \CJKunderline{\makebox[#2]{}} + \else + \CJKunderline{\makebox[#2]{}}\\ + \fi + \advance\pkuthss@tmp@linecount by -1\relax + \repeat% + }% +} +% Set format of the title page (cover). +\renewcommand{\maketitle}{ + \cleardoublepage + % Add PDF bookmark for the title page. + \pdfbookmark[1]{\titlepagename}{titlepage} + \begin{titlepage} + % It will be more nice to use this line skip level in the title page. + \linespread{1.6}\selectfont + % Make the title page centered. + \begin{center} + % Emblem and inscription of the university, and type of thesis. + { + \zihao{1}% + \includegraphics[height = 2.4em]{img/pkulogo}\hspace{0.4em}% + \raisebox{0.4em}{\includegraphics[height = 1.6em]{img/pkuword}}\\[0.8em] + {\bfseries{\cthesisname}} + } + \vfill + % Title of the thesis. + { + \zihao{2}{\label@ctitle}% + \pkuthss@int@fillinblank{2}{0.64\textwidth}{\textbf{\@ctitle}} + } + \vfill + % Information about the author. + { + % Slightly adjust the line skip when using new font size. + \zihao{-2}\linespread{1.75}\selectfont + \def\pkuthss@tmp@len{0.56\textwidth} + \begin{tabular}{l@{\extracolsep{0.2em}}c} + {\label@cauthor} & + \pkuthss@int@fillinblank{1}{\pkuthss@tmp@len}{\kaishu\@cauthor} \\ + {\label@studentid} & + \pkuthss@int@fillinblank{1}{\pkuthss@tmp@len}{\kaishu\@studentid} \\ + {\label@school} & + \pkuthss@int@fillinblank{1}{\pkuthss@tmp@len}{\kaishu\@school} \\ + {\label@cmajor} & + \pkuthss@int@fillinblank{1}{\pkuthss@tmp@len}{\kaishu\@cmajor} \\ + {\label@direction} & + \pkuthss@int@fillinblank{1}{\pkuthss@tmp@len}{\kaishu\@direction} \\ + {\label@cmentora} & + \pkuthss@int@fillinblank{1}{\pkuthss@tmp@len}{\kaishu\@cmentor} \\ + \end{tabular} + } + \vfill + % Date. + {\kaishu\zihao{2}\@date} + \end{center} + \end{titlepage} +} + +% Internal environment for typesetting abstracts. +\newenvironment{pkuthss@int@abstract}{ + \cleardoublepage + \pdfbookmark[1]{\pkuthss@tmp@abstractname}{\pkuthss@tmp@abstlabel} + \chapter*{\zihao{-2}\pkuthss@tmp@title} + \markboth{\pkuthss@tmp@abstractname}{} + \vspace{-2em}\par + \begin{center} + \zihao{-3} + {\pkuthss@tmp@author}\quad{\pkuthss@tmp@major}\\ + {\pkuthss@tmp@label@mentor}{\pkuthss@tmp@mentor} + \end{center} + \vspace{1em}\par + \section*{\zihao{4}\pkuthss@tmp@abstractname} + \vskip 0.5em +}{% Keywords at the bottom of the page. + \vfill\noindent\textbf{\pkuthss@tmp@label@keywords}{\pkuthss@tmp@keywords} +} + +% Typesetting the Chinese abstract. +\newenvironment{cabstract}{ + \def\pkuthss@tmp@abstlabel{cabstract} + \let\pkuthss@tmp@title\@ctitle + \let\pkuthss@tmp@author\@cauthor + \let\pkuthss@tmp@major\@cmajor + \let\pkuthss@tmp@mentor\@cmentor + \let\pkuthss@tmp@keywords\@ckeywords + \let\pkuthss@tmp@label@mentor\label@cmentorb + \let\pkuthss@tmp@label@keywords\label@ckeywords + \let\pkuthss@tmp@abstractname\cabstractname + \begin{pkuthss@int@abstract} +}{\end{pkuthss@int@abstract}} + +% Typesetting the English abstract. +\newenvironment{eabstract}{ + \def\pkuthss@tmp@abstlabel{eabstract} + \let\pkuthss@tmp@title\@etitle + \let\pkuthss@tmp@author\@eauthor + \let\pkuthss@tmp@major\@emajor + \let\pkuthss@tmp@mentor\@ementor + \let\pkuthss@tmp@keywords\@ekeywords + \let\pkuthss@tmp@label@mentor\label@ementor + \let\pkuthss@tmp@label@keywords\label@ekeywords + \let\pkuthss@tmp@abstractname\eabstractname + \begin{pkuthss@int@abstract} +}{\end{pkuthss@int@abstract}} + +\endinput diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds index 8d60c39448f..0e0e7908a43 100755 --- a/Master/tlpkg/libexec/ctan2tds +++ b/Master/tlpkg/libexec/ctan2tds @@ -725,6 +725,7 @@ chomp ($Build = `cd $Master/../Build/source && pwd`); 'pigpen', "&MAKEflatten", 'pinlabel', "&MAKEnosymlinks", 'pitthesis', "die 'skipping, noinfo license", + 'pkuthss', "&MAKEpkuthss", 'pl', "die 'skipping, not ready, cf. cc-pl, sorry", 'pl-qx', "&MAKEplqx", 'pmxchords', "die 'skipping, problematic musixtex scripts'", @@ -4987,6 +4988,21 @@ sub POSTpedigreeperl { &SYSTEM ("$MV Pedigree/*.pm $scriptdir/Pedigree/"); } +sub MAKEpkuthss { + # move files in tex to runtime, and doc/* up a level. + &donormal (); + # + my $texdest = "$DEST/tex/$whichformat/$package"; + &xmkdir ($texdest); + &SYSTEM ("$MV `find tex -type f` $texdest/"); + &SYSTEM ("$RM -r tex"); # rm now-empty dir + &SYSTEM ("$MV doc/* ."); + # + # remove newly empty directories. + &SYSTEM ("find -depth -type d -print | xargs rmdir 2>/dev/null"); +} + + sub POSTpgf { print "POST$package - mv generic,latex,... directories\n"; &SYSTEM ("cd $DEST && mkdir tex && mv context generic latex plain tex"); diff --git a/Master/tlpkg/tlpsrc/collection-publishers.tlpsrc b/Master/tlpkg/tlpsrc/collection-publishers.tlpsrc index 10d2f1ed9ea..81a0dd88b55 100644 --- a/Master/tlpkg/tlpsrc/collection-publishers.tlpsrc +++ b/Master/tlpkg/tlpsrc/collection-publishers.tlpsrc @@ -64,6 +64,7 @@ depend nrc depend onrannual depend opteng depend philosophersimprint +depend pkuthss depend powerdot-FUBerlin depend pracjourn depend procIAGssymp diff --git a/Master/tlpkg/tlpsrc/pkuthss.tlpsrc b/Master/tlpkg/tlpsrc/pkuthss.tlpsrc new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/Master/tlpkg/tlpsrc/pkuthss.tlpsrc |