summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/pkuthss/doc
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/pkuthss/doc
Initial commit
Diffstat (limited to 'macros/latex/contrib/pkuthss/doc')
-rw-r--r--macros/latex/contrib/pkuthss/doc/example.pdfbin0 -> 93354 bytes
-rw-r--r--macros/latex/contrib/pkuthss/doc/example/Make.bat39
-rw-r--r--macros/latex/contrib/pkuthss/doc/example/Makefile42
-rw-r--r--macros/latex/contrib/pkuthss/doc/example/chap/abs.tex12
-rw-r--r--macros/latex/contrib/pkuthss/doc/example/chap/ack.tex7
-rw-r--r--macros/latex/contrib/pkuthss/doc/example/chap/chap1.tex7
-rw-r--r--macros/latex/contrib/pkuthss/doc/example/chap/chap2.tex7
-rw-r--r--macros/latex/contrib/pkuthss/doc/example/chap/chap3.tex7
-rw-r--r--macros/latex/contrib/pkuthss/doc/example/chap/copy.tex45
-rw-r--r--macros/latex/contrib/pkuthss/doc/example/chap/encl1.tex7
-rw-r--r--macros/latex/contrib/pkuthss/doc/example/chap/origin.tex82
-rw-r--r--macros/latex/contrib/pkuthss/doc/example/ctex-fontset-pkuthss.def58
-rw-r--r--macros/latex/contrib/pkuthss/doc/example/ctexopts.cfg4
-rw-r--r--macros/latex/contrib/pkuthss/doc/example/spine.tex45
-rw-r--r--macros/latex/contrib/pkuthss/doc/example/thesis.bib19
-rw-r--r--macros/latex/contrib/pkuthss/doc/example/thesis.tex112
-rw-r--r--macros/latex/contrib/pkuthss/doc/readme.pdfbin0 -> 402344 bytes
-rw-r--r--macros/latex/contrib/pkuthss/doc/readme/ChangeLog-upto-1.3.txt63
-rw-r--r--macros/latex/contrib/pkuthss/doc/readme/ChangeLog.txt463
-rw-r--r--macros/latex/contrib/pkuthss/doc/readme/Makefile38
l---------macros/latex/contrib/pkuthss/doc/readme/chap/origin.tex1
-rw-r--r--macros/latex/contrib/pkuthss/doc/readme/chap/pkuthss-abs.tex38
-rw-r--r--macros/latex/contrib/pkuthss/doc/readme/chap/pkuthss-ack.tex51
-rw-r--r--macros/latex/contrib/pkuthss/doc/readme/chap/pkuthss-chap1.tex190
-rw-r--r--macros/latex/contrib/pkuthss/doc/readme/chap/pkuthss-chap2.tex357
-rw-r--r--macros/latex/contrib/pkuthss/doc/readme/chap/pkuthss-chap3.tex142
-rw-r--r--macros/latex/contrib/pkuthss/doc/readme/chap/pkuthss-concl.tex34
-rw-r--r--macros/latex/contrib/pkuthss/doc/readme/chap/pkuthss-copy.tex47
-rw-r--r--macros/latex/contrib/pkuthss/doc/readme/chap/pkuthss-encl1.tex44
-rw-r--r--macros/latex/contrib/pkuthss/doc/readme/chap/pkuthss-intro.tex67
-rw-r--r--macros/latex/contrib/pkuthss/doc/readme/pkuthss-english.patch275
-rw-r--r--macros/latex/contrib/pkuthss/doc/readme/pkuthss.bib252
-rw-r--r--macros/latex/contrib/pkuthss/doc/readme/pkuthss.tex96
33 files changed, 2651 insertions, 0 deletions
diff --git a/macros/latex/contrib/pkuthss/doc/example.pdf b/macros/latex/contrib/pkuthss/doc/example.pdf
new file mode 100644
index 0000000000..2dd693f222
--- /dev/null
+++ b/macros/latex/contrib/pkuthss/doc/example.pdf
Binary files differ
diff --git a/macros/latex/contrib/pkuthss/doc/example/Make.bat b/macros/latex/contrib/pkuthss/doc/example/Make.bat
new file mode 100644
index 0000000000..e57cca77a4
--- /dev/null
+++ b/macros/latex/contrib/pkuthss/doc/example/Make.bat
@@ -0,0 +1,39 @@
+@echo off
+
+@rem Copyright (c) 2008-2009 solvethis
+@rem Copyright (c) 2010-2012 Casper Ti. Vector
+@rem Public domain.
+
+set JOB=thesis
+@rem 这个变量的值可以为 latex、pdflatex 或 xelatex。
+set LATEX=latex
+set BIBTEX=biber -l zh__pinyin --output-safechars
+set DVIPDF=dvipdfmx
+
+if "%LATEX%"=="latex" (set DODVIPDF=%DVIPDF% %JOB%
+) else (set DODVIPDF=echo No need to run %DVIPDF%.)
+if "%1"=="" goto doc
+if "%1"=="doc" goto doc
+if "%1"=="clean" (goto clean) else (goto usage)
+
+:doc
+%LATEX% %JOB%
+%BIBTEX% %JOB%
+%LATEX% %JOB%
+%LATEX% %JOB%
+%DODVIPDF%
+goto end
+
+:clean
+del *.aux *.bbl *.bcf *.blg *.dvi *.lof *.log *.lot *.run.xml *.toc *.out
+del missfont.log chap\*.aux
+goto end
+
+:usage
+echo %0 [doc] [clean]
+goto end
+
+:end
+pause
+
+@rem vim:ts=4:sw=4
diff --git a/macros/latex/contrib/pkuthss/doc/example/Makefile b/macros/latex/contrib/pkuthss/doc/example/Makefile
new file mode 100644
index 0000000000..7437115a33
--- /dev/null
+++ b/macros/latex/contrib/pkuthss/doc/example/Makefile
@@ -0,0 +1,42 @@
+# Copyright (c) 2008-2009 solvethis
+# Copyright (c) 2010-2012,2014-2015,2018 Casper Ti. Vector
+# Public domain.
+
+# 琚紪璇戠殑涓绘枃浠剁殑鏂囦欢鍚嶏紝涓嶅寘鎷墿灞曞悕銆
+JOB = thesis
+# 杩欎釜鍙橀噺鐨勫煎彲浠ヤ负 latex銆乸dflatex 鎴 xelatex銆
+LATEX = latex
+BIBTEX = biber -l zh__pinyin --output-safechars
+DVIPDF = dvipdfmx
+
+# 濡傛灉鐢 LaTeX 缂栬瘧锛屽垯浣跨敤 dvipdfmx 灏 dvi 杞垚 pdf銆
+ifeq ($(LATEX), latex)
+ DODVIPDF = $(DVIPDF) $(JOB)
+endif
+
+# 鍖哄垎鏄 Windows 鐜杩樻槸绫 UNIX 鐜銆
+# 濡傛灉鏄悗鑰咃紝鍒 GNU make 灏嗗彲浠ユ娴嬪埌宸茬粡瀹氫箟 PATH 鐜鍙橀噺銆
+ifdef PATH
+ MAKE = make
+ RM = rm -f
+else
+ MAKE = mingw32-make
+ RM = del
+endif
+
+doc:
+ $(LATEX) $(JOB)
+ $(BIBTEX) $(JOB)
+ $(LATEX) $(JOB)
+ $(LATEX) $(JOB)
+ $(DODVIPDF)
+
+clean:
+ $(RM) $(JOB).aux $(JOB).bbl $(JOB).bcf $(JOB).blg $(JOB).dvi \
+ $(JOB).lof $(JOB).log $(JOB).lot $(JOB).run.xml $(JOB).toc \
+ $(JOB).out $(JOB).out.bak missfont.log texput.log chap/*.aux
+
+distclean: clean
+ $(RM) $(JOB).pdf
+
+# vim:ts=4:sw=4
diff --git a/macros/latex/contrib/pkuthss/doc/example/chap/abs.tex b/macros/latex/contrib/pkuthss/doc/example/chap/abs.tex
new file mode 100644
index 0000000000..305792f836
--- /dev/null
+++ b/macros/latex/contrib/pkuthss/doc/example/chap/abs.tex
@@ -0,0 +1,12 @@
+% Copyright (c) 2014,2016 Casper Ti. Vector
+% Public domain.
+
+\begin{cabstract}
+ \pkuthssffaq % 涓枃娴嬭瘯鏂囧瓧銆
+\end{cabstract}
+
+\begin{eabstract}
+ Test of the English abstract.
+\end{eabstract}
+
+% vim:ts=4:sw=4
diff --git a/macros/latex/contrib/pkuthss/doc/example/chap/ack.tex b/macros/latex/contrib/pkuthss/doc/example/chap/ack.tex
new file mode 100644
index 0000000000..4af4d39cd8
--- /dev/null
+++ b/macros/latex/contrib/pkuthss/doc/example/chap/ack.tex
@@ -0,0 +1,7 @@
+% Copyright (c) 2014,2016 Casper Ti. Vector
+% Public domain.
+
+\chapter{鑷磋阿}
+\pkuthssffaq % 涓枃娴嬭瘯鏂囧瓧銆
+
+% vim:ts=4:sw=4
diff --git a/macros/latex/contrib/pkuthss/doc/example/chap/chap1.tex b/macros/latex/contrib/pkuthss/doc/example/chap/chap1.tex
new file mode 100644
index 0000000000..3d631f38fd
--- /dev/null
+++ b/macros/latex/contrib/pkuthss/doc/example/chap/chap1.tex
@@ -0,0 +1,7 @@
+% Copyright (c) 2014,2016,2018 Casper Ti. Vector
+% Public domain.
+
+\chapter{寮曡█}
+\pkuthssffaq % 涓枃娴嬭瘯鏂囧瓧銆
+
+% vim:ts=4:sw=4
diff --git a/macros/latex/contrib/pkuthss/doc/example/chap/chap2.tex b/macros/latex/contrib/pkuthss/doc/example/chap/chap2.tex
new file mode 100644
index 0000000000..85f70084a8
--- /dev/null
+++ b/macros/latex/contrib/pkuthss/doc/example/chap/chap2.tex
@@ -0,0 +1,7 @@
+% Copyright (c) 2014,2016 Casper Ti. Vector
+% Public domain.
+
+\chapter{绔犺妭}
+\pkuthssffaq % 涓枃娴嬭瘯鏂囧瓧銆
+
+% vim:ts=4:sw=4
diff --git a/macros/latex/contrib/pkuthss/doc/example/chap/chap3.tex b/macros/latex/contrib/pkuthss/doc/example/chap/chap3.tex
new file mode 100644
index 0000000000..ed66f12d78
--- /dev/null
+++ b/macros/latex/contrib/pkuthss/doc/example/chap/chap3.tex
@@ -0,0 +1,7 @@
+% Copyright (c) 2014,2016,2018 Casper Ti. Vector
+% Public domain.
+
+\chapter{缁撹鍜屽睍鏈泒
+\pkuthssffaq % 涓枃娴嬭瘯鏂囧瓧銆
+
+% vim:ts=4:sw=4
diff --git a/macros/latex/contrib/pkuthss/doc/example/chap/copy.tex b/macros/latex/contrib/pkuthss/doc/example/chap/copy.tex
new file mode 100644
index 0000000000..8204715289
--- /dev/null
+++ b/macros/latex/contrib/pkuthss/doc/example/chap/copy.tex
@@ -0,0 +1,45 @@
+% Copyright (c) 2008-2009 solvethis
+% Copyright (c) 2010-2017 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.
+
+% 姝ゅ涓嶇敤 \specialchap锛屽洜涓哄鏍¤姹傜洰褰曚笉鍖呮嫭鍏惰嚜宸卞強鍏朵箣鍓嶇殑鍐呭銆
+\chapter*{鐗堟潈澹版槑}
+% 缁煎悎瀛︽牎鐨勪功闈㈣姹傚強 Word 妯$増鏉ョ湅锛岀増鏉冨0鏄庨〉涓嶇敤鍔犻〉鐪夈侀〉鑴氥
+\thispagestyle{empty}
+
+浠讳綍鏀跺瓨鍜屼繚绠℃湰璁烘枃鍚勭鐗堟湰鐨勫崟浣嶅拰涓汉锛
+鏈粡鏈鏂囦綔鑰呭悓鎰忥紝涓嶅緱灏嗘湰璁烘枃杞熶粬浜猴紝
+浜︿笉寰楅殢鎰忓鍒躲佹妱褰曘佹媿鐓ф垨浠ヤ换浣曟柟寮忎紶鎾
+鍚﹀垯涓鏃﹀紩璧锋湁纰嶄綔鑰呰憲浣滄潈涔嬮棶棰橈紝灏嗗彲鑳芥壙鎷呮硶寰嬭矗浠汇
+
+% 鑻ラ』鎺掔増浜岀淮鐮侊紝璇峰皢浜岀淮鐮佸浘鐗囬噸鍛藉悕涓衡渂arcode鈥濓紝
+% 杞负鍚堥傜殑鍥剧墖鏍煎紡锛屽苟鏀惧湪褰撳墠鐩綍涓嬶紝鐒跺悗鍘绘帀涓嬮潰 2 琛岀殑娉ㄩ噴銆
+%\vfill\noindent
+%\includegraphics[height = 5em]{barcode}
+
+% vim:ts=4:sw=4
diff --git a/macros/latex/contrib/pkuthss/doc/example/chap/encl1.tex b/macros/latex/contrib/pkuthss/doc/example/chap/encl1.tex
new file mode 100644
index 0000000000..9834829098
--- /dev/null
+++ b/macros/latex/contrib/pkuthss/doc/example/chap/encl1.tex
@@ -0,0 +1,7 @@
+% Copyright (c) 2014,2016 Casper Ti. Vector
+% Public domain.
+
+\chapter{闄勪欢}
+\pkuthssffaq % 涓枃娴嬭瘯鏂囧瓧銆
+
+% vim:ts=4:sw=4
diff --git a/macros/latex/contrib/pkuthss/doc/example/chap/origin.tex b/macros/latex/contrib/pkuthss/doc/example/chap/origin.tex
new file mode 100644
index 0000000000..49d25b5425
--- /dev/null
+++ b/macros/latex/contrib/pkuthss/doc/example/chap/origin.tex
@@ -0,0 +1,82 @@
+% Copyright (c) 2008-2009 solvethis
+% Copyright (c) 2010-2017 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.
+
+{
+ \ctexset{section = {
+ format+ = {\centering}, beforeskip = {40bp}, afterskip = {15bp}
+ }}
+
+ % 瀛︽牎涔﹂潰瑕佹眰鏈〉闈笉瑕侀〉鐮侊紝浣嗗湪缁欏嚭鐨 Word 妯$増涓張鏈夐〉鐮佷笖缂栧叆浜嗙洰褰曘
+ % 姝ゅ浠 Word 妯$増涓哄疄闄呮爣鍑嗚繘琛岃瀹氥
+ \specialchap{鍖椾含澶у瀛︿綅璁烘枃鍘熷垱鎬у0鏄庡拰浣跨敤鎺堟潈璇存槑}
+ \mbox{}\vspace*{-3em}
+ \section*{鍘熷垱鎬у0鏄巬
+
+ 鏈汉閮戦噸澹版槑锛
+ 鎵鍛堜氦鐨勫浣嶈鏂囷紝鏄湰浜哄湪瀵煎笀鐨勬寚瀵间笅锛岀嫭绔嬭繘琛岀爺绌跺伐浣滄墍鍙栧緱鐨勬垚鏋溿
+ 闄ゆ枃涓凡缁忔敞鏄庡紩鐢ㄧ殑鍐呭澶栵紝
+ 鏈鏂囦笉鍚换浣曞叾浠栦釜浜烘垨闆嗕綋宸茬粡鍙戣〃鎴栨挵鍐欒繃鐨勪綔鍝佹垨鎴愭灉銆
+ 瀵规湰鏂囩殑鐮旂┒鍋氬嚭閲嶈璐$尞鐨勪釜浜哄拰闆嗕綋锛屽潎宸插湪鏂囦腑浠ユ槑纭柟寮忔爣鏄庛
+ 鏈0鏄庣殑娉曞緥缁撴灉鐢辨湰浜烘壙鎷呫
+ \vskip 1em
+ \rightline{%
+ 璁烘枃浣滆呯鍚嶏細\hspace{5em}%
+ 鏃ユ湡锛歕hspace{2em}骞碶hspace{2em}鏈圽hspace{2em}鏃%
+ }
+
+ \section*{%
+ 瀛︿綅璁烘枃浣跨敤鎺堟潈璇存槑\\[-0.33em]
+ \textmd{\zihao{5}锛堝繀椤昏璁㈠湪鎻愪氦瀛︽牎鍥句功棣嗙殑鍗板埛鏈級}%
+ }
+
+ 鏈汉瀹屽叏浜嗚В鍖椾含澶у鍏充簬鏀堕泦銆佷繚瀛樸佷娇鐢ㄥ浣嶈鏂囩殑瑙勫畾锛屽嵆锛
+ \begin{itemize}
+ \item 鎸夌収瀛︽牎瑕佹眰鎻愪氦瀛︿綅璁烘枃鐨勫嵃鍒锋湰鍜岀數瀛愮増鏈紱
+ \item 瀛︽牎鏈夋潈淇濆瓨瀛︿綅璁烘枃鐨勫嵃鍒锋湰鍜岀數瀛愮増锛
+ 骞舵彁渚涚洰褰曟绱笌闃呰鏈嶅姟锛屽湪鏍″洯缃戜笂鎻愪緵鏈嶅姟锛
+ \item 瀛︽牎鍙互閲囩敤褰卞嵃銆佺缉鍗般佹暟瀛楀寲鎴栧叾瀹冨鍒舵墜娈典繚瀛樿鏂囷紱
+ \item 鍥犳煇绉嶇壒娈婂師鍥犻』瑕佸欢杩熷彂甯冨浣嶈鏂囩數瀛愮増锛
+ 鎺堟潈瀛︽牎鍦 $\Box$\nobreakspace{}涓骞 /
+ $\Box$\nobreakspace{}涓ゅ勾 /
+ $\Box$\nobreakspace{}涓夊勾浠ュ悗鍦ㄦ牎鍥綉涓婂叏鏂囧彂甯冦
+ \end{itemize}
+ \centerline{锛堜繚瀵嗚鏂囧湪瑙e瘑鍚庨伒瀹堟瑙勫畾锛墋
+ \vskip 1em
+ \rightline{%
+ 璁烘枃浣滆呯鍚嶏細\hspace{5em}瀵煎笀绛惧悕锛歕hspace{5em}%
+ 鏃ユ湡锛歕hspace{2em}骞碶hspace{2em}鏈圽hspace{2em}鏃%
+ }
+
+ % 鑻ラ』鎺掔増浜岀淮鐮侊紝璇峰皢浜岀淮鐮佸浘鐗囬噸鍛藉悕涓衡渂arcode鈥濓紝
+ % 杞负鍚堥傜殑鍥剧墖鏍煎紡锛屽苟鏀惧湪褰撳墠鐩綍涓嬶紝鐒跺悗鍘绘帀涓嬮潰 2 琛岀殑娉ㄩ噴銆
+ %\vfill\noindent
+ %\includegraphics[height = 5em]{barcode}
+}
+
+% vim:ts=4:sw=4
diff --git a/macros/latex/contrib/pkuthss/doc/example/ctex-fontset-pkuthss.def b/macros/latex/contrib/pkuthss/doc/example/ctex-fontset-pkuthss.def
new file mode 100644
index 0000000000..2febb6122d
--- /dev/null
+++ b/macros/latex/contrib/pkuthss/doc/example/ctex-fontset-pkuthss.def
@@ -0,0 +1,58 @@
+\ProvidesExplFile{\ExplFileName}{}{}{}
+
+\sys_if_engine_pdftex:TF
+ {
+ \ctex_zhmap_case:nnn
+ {
+ \ctex_punct_set:n { windows }
+ \setCJKmainfont
+ [ BoldFont = simhei.ttf , ItalicFont = simkai.ttf ] { simsun.ttc }
+ \setCJKsansfont { simhei.ttf }
+ \setCJKmonofont { simfang.ttf }
+ \setCJKfamilyfont { zhkai } { simkai.ttf }
+ \setCJKfamilyfont { zhfs } { simfang.ttf }
+ \setCJKfamilyfont { zhsong } { simsun.ttc }
+ \setCJKfamilyfont { zhhei } { simhei.ttf }
+ %\setCJKfamilyfont { zhli } { simli.ttf }
+ %\setCJKfamilyfont { zhyou } { simyou.ttf }
+ \ctex_punct_map_family:nn { \CJKrmdefault } { zhsong }
+ \ctex_punct_map_family:nn { \CJKsfdefault } { zhhei }
+ \ctex_punct_map_family:nn { \CJKttdefault } { zhfs }
+ \ctex_punct_map_itshape:nn { \CJKrmdefault } { zhkai }
+ \ctex_punct_map_bfseries:nn { \CJKrmdefault } { zhhei }
+ }
+ {
+ \ctex_load_zhmap:nnnn { rm } { zhhei } { zhfs } { zhwindowsfonts }
+ \ctex_punct_set:n { windows }
+ \ctex_punct_map_family:nn { \CJKrmdefault } { zhsong }
+ \ctex_punct_map_bfseries:nn { \CJKrmdefault } { zhhei }
+ \ctex_punct_map_itshape:nn { \CJKrmdefault } { zhkai }
+ }
+ {
+ \tl_set:Nn \CJKrmdefault { rm }
+ \tl_set:Nn \CJKsfdefault { sf }
+ \tl_set:Nn \CJKttdefault { tt }
+ }
+ }
+ {
+ \setCJKmainfont
+ [ BoldFont = SimHei , ItalicFont = [ simkai.ttf ] ] { SimSun }
+ \setCJKsansfont { SimHei }
+ \setCJKmonofont { [ simfang.ttf ] }
+ \setCJKfamilyfont { zhsong } { SimSun }
+ \setCJKfamilyfont { zhhei } { SimHei }
+ \setCJKfamilyfont { zhkai } { [ simkai.ttf ] }
+ \setCJKfamilyfont { zhfs } { [ simfang.ttf ] }
+ %\setCJKfamilyfont { zhli } { LiSu }
+ %\setCJKfamilyfont { zhyou } { YouYuan }
+ }
+
+\NewDocumentCommand \songti { } { \CJKfamily { zhsong } }
+\NewDocumentCommand \heiti { } { \CJKfamily { zhhei } }
+\NewDocumentCommand \fangsong { } { \CJKfamily { zhfs } }
+\NewDocumentCommand \kaishu { } { \CJKfamily { zhkai } }
+%\NewDocumentCommand \lishu { } { \CJKfamily { zhli } }
+%\NewDocumentCommand \youyuan { } { \CJKfamily { zhyou } }
+
+\endinput
+% vim:ft=tex:ts=2:sw=2:et
diff --git a/macros/latex/contrib/pkuthss/doc/example/ctexopts.cfg b/macros/latex/contrib/pkuthss/doc/example/ctexopts.cfg
new file mode 100644
index 0000000000..0dc8094ed5
--- /dev/null
+++ b/macros/latex/contrib/pkuthss/doc/example/ctexopts.cfg
@@ -0,0 +1,4 @@
+\ProvidesExplFile{\ExplFileName}{}{}{}
+\keys_set:nn { ctex / option } { fontset = pkuthss }
+\endinput
+% vim:ft=tex
diff --git a/macros/latex/contrib/pkuthss/doc/example/spine.tex b/macros/latex/contrib/pkuthss/doc/example/spine.tex
new file mode 100644
index 0000000000..27b28feac3
--- /dev/null
+++ b/macros/latex/contrib/pkuthss/doc/example/spine.tex
@@ -0,0 +1,45 @@
+% Copyright (c) 2018 Casper Ti. Vector
+% Public domain.
+
+\documentclass[zihao = -4]{ctexart}
+\usepackage{calc, geometry, graphicx}
+\usepackage[defaultsups]{newtxtext}
+\usepackage[cmintegrals, varg]{newtxmath}
+\pagestyle{empty}
+\newlength{\colpad}
+\newcommand{\colwidth}{\ccwd}
+
+% 璁惧畾璁烘枃绾稿昂瀵搞
+\geometry{paperwidth = 460mm, paperheight = 297mm, margin = 0cm}
+% 璁惧畾椤甸潰瀹藉害銆佽儗闈 logo 鐩村緞鍜屼功鑴婁笂涓嬭竟鐣屽搴︺
+\newcommand{\miniwidth}{210mm}
+\newcommand{\logowidth}{64mm}
+\newcommand{\vertmargin}{\fill}
+% 鍑忓彿鍓嶇殑鍊间负璁烘枃鍘氬害銆
+\setlength{\colpad}{(10mm - \colwidth) / 2}
+
+\begin{document}
+\centering
+\begin{minipage}[b][\textheight][b]{\miniwidth}
+ \vspace*{\fill}\par
+ \centerline{\includegraphics[width = \logowidth]{pkulogo}}\par
+ \vspace*{\fill}\par
+\end{minipage}
+\hspace{\colpad}
+\begin{minipage}[b][\textheight][b]{\colwidth}
+ \bfseries\linespread{1}\selectfont
+ \vspace*{\vertmargin}\par
+ % 鏍囬銆佸勾浠藉拰瀛﹀彿銆
+ 娴嬭瘯鏂囨。\par\vfill
+ \rotatebox{-90}{2018}\par\vfill\rotatebox{-90}{0123456789}\par
+ \vspace*{\vertmargin}\par
+\end{minipage}
+\hspace{\colpad}
+\begin{minipage}[b][\textheight][b]{\miniwidth}
+ % thesis.pdf 搴斾簨鍏堢紪璇戝ソ锛屾澶勪細鑷姩鎻愬彇鍏堕椤点
+ % 鍥犱负瑕佹彃鍏 pdf 鍥剧墖锛屾湰鏂囨。搴旂敤 pdflatex 鎴 xelatex 缂栬瘧銆
+ \includegraphics[height = \textheight, page = 1]{thesis}
+\end{minipage}
+\end{document}
+
+% vim:ts=4:sw=4
diff --git a/macros/latex/contrib/pkuthss/doc/example/thesis.bib b/macros/latex/contrib/pkuthss/doc/example/thesis.bib
new file mode 100644
index 0000000000..ac5b0c9978
--- /dev/null
+++ b/macros/latex/contrib/pkuthss/doc/example/thesis.bib
@@ -0,0 +1,19 @@
+@article{test-en,
+ author = {Author},
+ title = {Title},
+ type = {J},
+ journal = {Journal},
+ date = {2014-04-01},
+ language = {english},
+}
+
+@article{test-zh,
+ author = {浣滆厎,
+ title = {鏍囬},
+ type = {J},
+ journal = {鏈熷垔},
+ date = {2014-04-01},
+ language = {chinese},
+}
+
+% vim:ts=4:sw=4
diff --git a/macros/latex/contrib/pkuthss/doc/example/thesis.tex b/macros/latex/contrib/pkuthss/doc/example/thesis.tex
new file mode 100644
index 0000000000..30e05dec55
--- /dev/null
+++ b/macros/latex/contrib/pkuthss/doc/example/thesis.tex
@@ -0,0 +1,112 @@
+% Copyright (c) 2008-2009 solvethis
+% Copyright (c) 2010-2016,2018 Casper Ti. Vector
+% Public domain.
+%
+% 浣跨敤鍓嶈鍏堜粩缁嗛槄璇 pkuthss 鍜 biblatex-caspervector 鐨勬枃妗o紝
+% 鐗瑰埆鏄叾涓殑 FAQ 閮ㄥ垎鍜岀敤绾㈣壊寮鸿皟鐨勯儴鍒嗐
+% 涓よ呭彲鍦ㄧ粓绔/鍛戒护鎻愮ず绗︿腑鐢
+% texdoc pkuthss
+% texdoc biblatex-caspervector
+% 璋冨嚭銆
+
+% 閲囩敤浜嗚嚜瀹氫箟鐨勶紙鍖呮嫭澶у皬鍐欎笉鍚屼簬鍘熸枃浠剁殑锛夊瓧浣撴枃浠跺悕锛
+% 骞舵敼鍔 ctex.cfg 绛夐厤缃枃浠剁殑鐢ㄦ埛璇疯嚜琛屽姞鍏 nofonts 閫夐」锛
+% 鍏跺畠鐢ㄦ埛涓嶇敤鍔犲叆 nofonts 閫夐」锛屽姞鍏ヤ箣鍚庡弽鑰屼細浜х敓閿欒銆
+\documentclass[UTF8]{pkuthss}
+% 濡傛灉鐨勭‘椤昏浣胯剼娉ㄦ寜椤电紪鍙风殑璇濓紝鍙互鍘绘帀鍚庨潰 footmisc 鍖呯殑娉ㄩ噴銆
+% 娉ㄦ剰锛氬湪鍚敤姝よ瀹氱殑鎯呭喌涓嬶紝鍙兘瑕佸缂栬瘧涓娆′互浜х敓姝g‘鐨勮剼娉ㄧ紪鍙枫
+%\usepackage[perpage]{footmisc}
+
+% 浣跨敤 biblatex 鎺掔増鍙傝冩枃鐚紝骞惰瀹氬叾鏍煎紡锛堣瑙 biblatex-caspervector 鐨勬枃妗o級銆
+% 杩欓噷鎸夌収瑗挎枃鏂囩尞鍦ㄥ墠锛屼腑鏂囨枃鐚湪鍚庢帓搴忥紙鈥渟orting = ecnyt鈥濓級锛
+% 鑻ラ』鎸夌収涓枃鏂囩尞鍦ㄥ墠锛岃タ鏂囨枃鐚湪鍚庢帓搴忥紝璇疯缃渟orting = cenyt鈥濓紱
+% 鑻ラ』鎸夌収寮曠敤椤哄簭鎺掑簭锛岃璁剧疆鈥渟orting = none鈥濄
+% 鑻ラ』鍦ㄦ帓搴忎腑瀹炵幇鏇村鏉傜殑闇姹傦紝璇峰弬鑰 biblatex-caspervector 鐨勬枃妗c
+\usepackage[backend = biber, style = caspervector, utf8, sorting = ecnyt]{biblatex}
+
+% 瀵逛簬 linespread 鍊肩殑璁$畻杩囩▼鏈夊叴瓒g殑鍚屽鍙互鍙傝 pkuthss.cls銆
+\renewcommand*{\bibfont}{\zihao{5}\linespread{1.27}\selectfont}
+% 鎸夊鏍¤姹傝瀹氬弬鑰冩枃鐚垪琛ㄧ殑娈甸棿璺濄
+\setlength{\bibitemsep}{3bp}
+
+% 璁惧畾鏂囨。鐨勫熀鏈俊鎭
+\pkuthssinfo{
+ cthesisname = {鍗氬+鐮旂┒鐢熷浣嶈鏂噠, ethesisname = {Doctor Thesis},
+ ctitle = {娴嬭瘯鏂囨。}, etitle = {Test Document},
+ cauthor = {鏌愭煇},
+ eauthor = {Test},
+ studentid = {0123456789},
+ date = {鏌愬勾鏌愭湀},
+ school = {鏌愭煇瀛﹂櫌},
+ cmajor = {鏌愭煇涓撲笟}, emajor = {Some Major},
+ direction = {鏌愭煇鏂瑰悜},
+ cmentor = {鏌愭煇鏁欐巿}, ementor = {Prof.\ Somebody},
+ ckeywords = {鍏朵竴锛屽叾浜寎, ekeywords = {First, Second}
+}
+% 杞藉叆鍙傝冩枃鐚暟鎹簱锛堟敞鎰忎笉瑕佺渷鐣モ.bib鈥濓級銆
+\addbibresource{thesis.bib}
+
+% 鏅氱敤鎴峰彲鍒犻櫎姝ゆ锛屽苟鐩稿簲鍦板垹闄 chap/*.tex 涓殑
+% 鈥淺pkuthssffaq % 涓枃娴嬭瘯鏂囧瓧銆傗濅竴琛屻
+\usepackage{color}
+\def\pkuthssffaq{%
+ \emph{\textcolor{red}{pkuthss 鏂囨。妯$増鏈甯歌闂锛殅}
+
+ \texttt{\string\cite}銆乗texttt{\string\parencite} %
+ 鍜 \texttt{\string\supercite} 涓変釜鍛戒护鍒嗗埆浜х敓%
+ 鏈牸寮忓寲鐨勩佸甫鏂规嫭鍙风殑鍜屼笂鏍囦笖甯︽柟鎷彿鐨勫紩鐢ㄦ爣璁帮細%
+ \cite{test-en}锛孿parencite{test-zh}銆乗supercite{test-en, test-zh}銆
+
+ 鑻ヨ閬垮厤绔犳湯绌虹櫧椤碉紝璇峰湪璋冪敤 pkuthss 鏂囨。绫绘椂鍔犲叆 \texttt{openany} 閫夐」銆
+
+ 濡傛灉缂栬瘧鏃朵笉鍑哄弬鑰冩枃鐚紝
+ 璇峰弬鑰 \texttt{texdoc pkuthss}鈥滈棶棰樺強鍏惰В鍐斥濅竴绔
+ 鈥滀笂娓稿畯鍖呭彲鑳藉紩璧风殑闂鈥濅竴鑺備腑鍏充簬 biber 鐨勮鏄庛%
+}
+
+\begin{document}
+ % 浠ヤ笅涓烘鏂囦箣鍓嶇殑閮ㄥ垎锛岄粯璁や笉杩涜绔犺妭缂栧彿銆
+ \frontmatter
+ % 姝ゅ悗鍒颁笅涓 \pagestyle 鍛戒护涔嬪墠涓嶆帓鐗堥〉鐪夋垨椤佃剼銆
+ \pagestyle{empty}
+ % 鑷姩鐢熸垚灏侀潰銆
+ \maketitle
+ % 鐗堟潈澹版槑銆傚皝闈㈣姹傚崟闈㈡墦鍗帮紝鏁呴』鏂板紑鍙抽〉銆
+ \cleardoublepage
+ \include{chap/copy}
+
+ % 姝ゅ悗鍒颁笅涓 \pagestyle 鍛戒护涔嬪墠姝e父鎺掔増椤电湁鍜岄〉鑴氥
+ \cleardoublepage
+ \pagestyle{plain}
+ % 閲嶇疆椤电爜璁℃暟鍣紝鐢ㄥぇ鍐欑綏椹暟瀛楁帓鐗堟閮ㄥ垎椤电爜銆
+ \setcounter{page}{0}
+ \pagenumbering{Roman}
+ % 涓タ鏂囨憳瑕併
+ \include{chap/abs}
+ % 鑷姩鐢熸垚鐩綍銆
+ \tableofcontents
+
+ % 浠ヤ笅涓烘鏂囬儴鍒嗭紝榛樿瑕佽繘琛岀珷鑺傜紪鍙枫
+ \mainmatter
+ % 鍚勭珷鑺傘
+ \include{chap/chap1}
+ \include{chap/chap2}
+ \include{chap/chap3}
+
+ % 姝f枃涓殑闄勫綍閮ㄥ垎銆
+ \appendix
+ % 鎺掔増鍙傝冩枃鐚垪琛ㄣ俠ibintoc 閫夐」浣库滃弬鑰冩枃鐚濆嚭鐜板湪鐩綍涓紱
+ % 濡傛灉鍚屾椂瑕佷娇鍙傝冩枃鐚垪琛ㄥ弬涓庣珷鑺傜紪鍙凤紝鍙皢鈥渂ibintoc鈥濇敼涓衡渂ibnumbered鈥濄
+ \printbibliography[heading = bibintoc]
+ % 鍚勯檮褰曘
+ \include{chap/encl1}
+
+ % 浠ヤ笅涓烘鏂囦箣鍚庣殑閮ㄥ垎锛岄粯璁や笉杩涜绔犺妭缂栧彿銆
+ \backmatter
+ % 鑷磋阿銆
+ \include{chap/ack}
+ % 鍘熷垱鎬у0鏄庡拰浣跨敤鎺堟潈璇存槑銆
+ \include{chap/origin}
+\end{document}
+
+% vim:ts=4:sw=4
diff --git a/macros/latex/contrib/pkuthss/doc/readme.pdf b/macros/latex/contrib/pkuthss/doc/readme.pdf
new file mode 100644
index 0000000000..54815bdc7e
--- /dev/null
+++ b/macros/latex/contrib/pkuthss/doc/readme.pdf
Binary files differ
diff --git a/macros/latex/contrib/pkuthss/doc/readme/ChangeLog-upto-1.3.txt b/macros/latex/contrib/pkuthss/doc/readme/ChangeLog-upto-1.3.txt
new file mode 100644
index 0000000000..7f3d30b4d5
--- /dev/null
+++ b/macros/latex/contrib/pkuthss/doc/readme/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/macros/latex/contrib/pkuthss/doc/readme/ChangeLog.txt b/macros/latex/contrib/pkuthss/doc/readme/ChangeLog.txt
new file mode 100644
index 0000000000..f1f002704c
--- /dev/null
+++ b/macros/latex/contrib/pkuthss/doc/readme/ChangeLog.txt
@@ -0,0 +1,463 @@
+2018-07-02, v1.8.0
+
+ * Changes to example template:
+ - Add the spine template.
+
+ * Changes to package code:
+ - Fix footnote format, in multiple aspects.
+ - pkuthss.cls: fix header/footer spacing.
+ - pkuthss.cls: fix displaymath spacing.
+ - pkuthss.cls: adjust list margins.
+ - pkuthss.cls: make chapter pages more tolerant of vertical spacing.
+
+ * Changes to documentation:
+ - pkuthss.bib: use the `edition' field now supported by blx-caspervector.
+ - doc: fix "闇"/"椤" typo.
+
+ * Misc:
+ - qa: automate the `闇'/`椤' check, and do not check whitespaces in patches.
+ - Minor fixes and cosmetics.
+
+2018-06-12, v1.7.6
+
+ * Changes to example template:
+ - nty -> nyt sorting following biblatex-caspervector upstream.
+ - doc: shorten chapter filenames.
+ - Assign numbers to `intro' and `concl' by default.
+ - Makefile: `JOBNAME' -> `JOB', saving some typing.
+ - Fix Makefile portability.
+ - doc: "鑻辨枃" -> "瑗挎枃".
+
+ * Changes to package code:
+ - pkuthss.cls: fix spacing between chapter mark/name.
+ - pkuthss.cls: fix toc depth and format.
+ - pkuthss.cls: simplify page style setup.
+ - `pkuthss@...' -> `thss@...'
+
+ * Misc:
+ - Minor fixes and cosmetics.
+
+2018-05-12, v1.7.5
+
+ * Changes to example template:
+ - doc: Fix missing accented characters with xelatex.
+ - Remove ctex-xecjk-winfonts.def for ctex < v2.x.
+ - Make.bat: support xelatex now that we no longer provide the GBK example.
+ - thesis.tex: fix FAQ subsection reference (thank @peiyangium).
+
+ * Changes to package code:
+ - pkuthss.cls: fix subsubsection captions.
+ - pkuthss.cls: remove kludge for tocloft with ctex < v2.x.
+
+ * Changes to documentation:
+ - Add patch file for English dissertations.
+
+ * Misc:
+ - (A lot?) more HTTPS.
+ - Minor fixes and cosmetics.
+
+2017-03-01, v1.7.4
+
+ * API changes:
+ - pkuthss.cls: provide undocumented option for uglification.
+
+ * Changes to example template:
+ - ctex-fontset-pkuthss.def: follow LaTeX3 change.
+ - copyright.tex: fix now inaccurate comment.
+
+ * Changes to package code:
+ - Remove support for ctex < v2.x.
+ - Replace CJKfntef's `\CJKunderline' with ulem's `\uline'.
+ - pkuthss.cls: tweak newtxmath setup.
+
+ * Misc:
+ - Minor fixes and cosmetics.
+
+2016-05-24, v1.7.3
+
+ * Changes to package code:
+ - Replace subfig with subcaption.
+ - pkuthss.cls: fix `PDF destination not defined' regression.
+ - pkuthss.cls: add code in case the font size infractions get caught.
+
+ * Changes to documentation:
+ - pkuthss-chap2.tex: add hint about copying internal files before changes.
+ - Sanitise the README bibliography.
+
+ * Misc:
+ - Minor fixes and cosmetics.
+
+2016-03-22, v1.7.2
+
+ * Changes to documentation:
+ - pkuthss-chap1.tex: note biblatex-caspervector's dependence on biber.
+
+ * Misc:
+ - Fix missing bib due to inconsistency on author's computer.
+ - Minor fixes and cosmetics.
+
+2016-03-17, v1.7.1
+
+ * Changes to example template:
+ - Fix TOC and heading of copyright / originauth pages.
+ - Also remind user to remove `\pkuthssffaq' from chap/.
+
+ * Changes to package code:
+ - pkuthss.cls: load ifpdf and ifxetex by ourselves (thank @LeoLiu).
+
+ * Changes to documentation:
+ - pkuthss.tex: follow biblatex-caspervector change about name sorting.
+ - Update hint about split sorting.
+
+ * Misc:
+ - Minor fixes and cosmetics.
+
+2015-12-16, v1.7.0
+
+ * API changes:
+ - pkuthss-extra.sty merged into pkuthss.cls; `extra' removed accordingly.
+ - `footfmt' renamed to `pkufoot'; `colorlinks' removed.
+
+ * Changes to example template:
+ - {,pkuthss-}copyright.tex: use `\specialchap'.
+
+ * Changes to package code:
+ - pkuthss.cls: fix pdf bookmark level.
+
+ * Changes to documentation:
+ - Format overhaul of documentation code.
+
+ * Misc:
+ - Minor fixes and cosmetics.
+
+2015-12-15, v1.6.4
+
+ * API changes:
+ - New package option: `pkufont'.
+
+ * Changes to example template:
+ - Loading of newtx packages moved into package code.
+ - originauth.tex: `\square' -> `\Box'.
+ - ctex-fontset-pkuthss.def: comment out li/you to avoid surprises.
+
+ * Changes to package code:
+ - Fix maths fonts with newtx when using XeLaTeX, thanks to @LeoLiu.
+ - pkuthss.cls: work around non-hyperlinked citations.
+ - `\pkuthssextra@int@boolopt' -> `\pkuthss@int@boolopt'.
+ - pkuthss.cls: remove unnecessary `\AtEndofClass'.
+
+ * Changes to documentation:
+ - pkuthss.bib: pku-thesisstyle updated to v2.0, no substantial changes.
+ - pkuthss-acknowledge.tex: some "lyric" text.
+
+ * Misc:
+ - Homepage moved to GitLab.
+ - Minor fixes and cosmetics.
+
+2015-06-30, v1.6.3
+
+ * Changes to documentation:
+ - Disambiguate file names wrt CTAN recommendation.
+ - pkuthss-chap2.tex: fix some minor details.
+
+ * Misc:
+ - dist: reduce duplication in zipballs according to CTAN recommendation.
+
+2015-05-30, v1.6.2
+
+ * Changes to example template:
+ - Template in GBK no longer provided because of UTF-8 popularisation.
+ - Add font configuration files.
+ - Previously overlooked format update about `copyright' and `originauth'.
+ - Make.bat: add `pause' to ease debugging; `clear' -> `clean'.
+
+ * Changes to package code:
+ - pkuthss.cls: refine `beforeskip' for `\chapter'.
+
+ * Changes to documentation:
+ - Makefile: default to the latex/biber/xelatex/xelatex procedure.
+ - acknowledge.tex: Casper was here.
+
+ * Misc:
+ - Adapt to ctex 2.x.
+ - Somehow alleviate the sorting issue with biblatex 3.0.
+ - Minor fixes and cosmetics.
+
+2015-05-16, v1.6.1
+
+ * Changes to example template:
+ - Fix support for `openany'.
+ - Use more lightweight `latexsym' instead of `amssymb' for `\Box'.
+
+ * Changes to package code:
+ - Fix support for `openany'.
+
+ * Changes to documentation:
+ - Add note (and rant) about required format of bibliographies.
+
+ * Misc:
+ - Remove bibtex support because of upstream changes.
+ - Minor fixes and cosmetics.
+
+2015-04-28, v1.6.0
+
+ * API changes:
+ - New package option: `footfmt' and `pkuspace'.
+ - `tightlist' option merged into `spacing'; `caption' option removed.
+
+ * Changes to example template:
+ - Some changes regarding updates in school regulation.
+ - thesis.tex: add color package for `\pkuthssffaq' with noncolorlinks.
+ - chap/: again try to make enca(1) happy.
+
+ * Changes to package code:
+ - Major changes regarding updates in school regulation.
+
+ * Changes to documentation:
+ - Reorganise section tree.
+
+ * Misc:
+ - Update URL of project homepage.
+ - Fixes to packaging scripts regarding CTAN requirements.
+ - Minor fixes and aesthetic improvements.
+
+2014-07-07, v1.5.5
+
+ * Changes to example template:
+ - Use the most frequently asked questions as the sample text.
+ - Revert the black TOC, considering the new sample text.
+
+ * Changes to package code:
+ - pkuthss.cls: use `\PassOptionsToPackage' for *packages*.
+ - pkuthss-extra.sty: `hidelinks' does not hold a value.
+
+ * Changes to documentation:
+ - Update info on `colorlinks'.
+
+ * Misc:
+ - Minor improvements.
+
+2014-07-04, v1.5.4
+
+ * Changes to example template:
+ - Make TOC black, as stupidly required by PKU Library.
+
+ * Changes to documentation:
+ - Re-sort and re-organise common problems.
+
+ * Misc:
+ - Minor fixes and improvements.
+
+2014-05-23, v1.5.3
+
+ * Changes to example template:
+ - No longer require gbk2uni.
+ - Exemplify `\cite', `\parencite' and `\supercite'.
+
+ * Changes to package code:
+ - Use `\newcommand*'/`\renewcommand*' when appropriate.
+ - Fix bookmarks in pdflatex/gbk compilation by introducing xCJK2uni.
+
+ * Changes to documentation:
+ - No longer recommend the CTeX Suite.
+ - Remove installation hints (already included in TeX Live).
+ - Discourage bibtex usage with UTF-8.
+ - hologo is back, and now we have proper XeLaTeX logo.
+
+ * Misc:
+ - Minor fixes and improvements.
+
+2014-04-17, v1.5.2
+
+ * Changes to example template:
+ - Barcode moved to current dir instead of (removed) img/.
+
+ * Misc:
+ - dist: fix zipball permissions.
+ - README: previously forgotten updates.
+ - Minor improvements.
+
+2014-04-16, v1.5.1
+
+ * API changes:
+ - pkulogo and pkuword are moved into tex/ and relicensed to LPPL.
+
+ * Changes to package code:
+ - Improve eps-to-pdf related script.
+
+ * Changes to documentation:
+ - Remove now legacy package code listings.
+
+ * Misc:
+ - qa: fix whitespace check.
+ - Minor improvements.
+
+2014-04-11, v1.5.0
+
+ * Changes to example template:
+ - Just split from documentation.
+ - Now also offer pdf for the example template.
+
+ * Changes to documentation:
+ - Relicense to LPPL v1.3+ (not including the example template).
+
+ * Misc:
+ - Switch to the x.y.z version scheme, thus no longer use alpha/beta/rc.
+ - Utility Makefiles easier to reason about.
+ - Minor improvements.
+
+2014-04-11, v1.4
+
+ * Changes to package code:
+ - pkuthss.cls: do not disable `\uppercase' in `nouppermark' mode.
+
+ * Changes to documentation:
+ - Remove support for CRLF (except for Windows .bat's), as required by CTAN.
+
+ * Misc:
+ - Minor fixes and improvements.
+
+2013-12-26, v1.4 rc4
+
+ * API changes:
+ - Add `caption' option to customise caption fonts.
+ - Remove `\label@cmentorb'; `\label@cmentora' -> `\label@cmentor'.
+ - Move `[no]uppermark' to pkuthss.cls.
+
+ * Changes to package code:
+ - Consider `oneside' in page style.
+
+ * Changes to documentation:
+ - Add support for 2-dimensional bar code.
+ - Add and refine lots of hints.
+
+ * Misc:
+ - Minor fixes and improvements.
+
+2013-04-07, v1.4 rc3
+
+ * Misc:
+ - Update copyright notices.
+ - Minor fixes and improvements.
+
+2013-03-30, v1.4 rc2
+
+ * Changes to package code:
+ - Use the internal hyperref support in ctex 1.02c+.
+ - Remove usage of etoolbox.
+
+ * Changes to documentation:
+ - Add hint for split sorting with biblatex.
+
+ * Misc:
+ - Minor improvements.
+
+2013-01-10, v1.4 rc1
+
+ * Changes to documentation:
+ - Remove troublesome `hologo' package.
+ - chap3.tex: add notice about biblatex's `\bibname' issue.
+ - introduction.tex: update info about location of example source code.
+
+ * Misc:
+ - README: add not-intended-as-documentation notice.
+
+2012-11-12, v1.4 beta3
+
+ * Misc:
+ - Fix incorrect CTAN support.
+ - utils/dist: Fix date conversion code again.
+
+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/macros/latex/contrib/pkuthss/doc/readme/Makefile b/macros/latex/contrib/pkuthss/doc/readme/Makefile
new file mode 100644
index 0000000000..8835cd28e6
--- /dev/null
+++ b/macros/latex/contrib/pkuthss/doc/readme/Makefile
@@ -0,0 +1,38 @@
+# Copyright (c) 2008-2009 solvethis
+# Copyright (c) 2010-2012,2014-2015,2018 Casper Ti. Vector
+# Public domain.
+
+JOB = pkuthss
+BIBTEX = biber -l zh__pinyin --output-safechars
+DVIPDF = dvipdfmx
+MAKE = make
+RM = rm -f
+
+ifndef LATEX
+ LATEX1 = latex
+ LATEX2 = xelatex
+else
+ LATEX1 = $(LATEX)
+ LATEX2 = $(LATEX)
+endif
+
+ifeq ($(LATEX), latex)
+ DODVIPDF = $(DVIPDF) $(JOB)
+endif
+
+doc:
+ $(LATEX1) $(JOB)
+ $(BIBTEX) $(JOB)
+ $(LATEX2) $(JOB)
+ $(LATEX2) $(JOB)
+ $(DODVIPDF)
+
+clean:
+ $(RM) $(JOB).aux $(JOB).bbl $(JOB).bcf $(JOB).blg $(JOB).dvi \
+ $(JOB).lof $(JOB).log $(JOB).lot $(JOB).run.xml $(JOB).toc \
+ $(JOB).out $(JOB).out.bak missfont.log texput.log chap/*.aux
+
+distclean: clean
+ $(RM) $(JOB).pdf
+
+# vim:ts=4:sw=4
diff --git a/macros/latex/contrib/pkuthss/doc/readme/chap/origin.tex b/macros/latex/contrib/pkuthss/doc/readme/chap/origin.tex
new file mode 120000
index 0000000000..f91c8dc415
--- /dev/null
+++ b/macros/latex/contrib/pkuthss/doc/readme/chap/origin.tex
@@ -0,0 +1 @@
+../../example/chap/origin.tex \ No newline at end of file
diff --git a/macros/latex/contrib/pkuthss/doc/readme/chap/pkuthss-abs.tex b/macros/latex/contrib/pkuthss/doc/readme/chap/pkuthss-abs.tex
new file mode 100644
index 0000000000..5dc80d5285
--- /dev/null
+++ b/macros/latex/contrib/pkuthss/doc/readme/chap/pkuthss-abs.tex
@@ -0,0 +1,38 @@
+% Documentation for pkuthss.
+%
+% Copyright (c) 2008-2009 solvethis
+% Copyright (c) 2010-2014 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
+% https://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.tex
+% chap/pkuthss-copy.tex
+% chap/pkuthss-abs.tex
+% chap/pkuthss-intro.tex
+% chap/pkuthss-chap1.tex
+% chap/pkuthss-chap2.tex
+% chap/pkuthss-chap3.tex
+% chap/pkuthss-concl.tex
+% chap/pkuthss-encl1.tex
+% chap/pkuthss-ack.tex
+
+\begin{cabstract}
+ 鏈枃浠嬬粛浜 pkuthss 鏂囨。妯$増鎵鎻愪緵鐨勫姛鑳姐
+\end{cabstract}
+
+\begin{eabstract}
+ This document describes the the functions provided by
+ the pkuthss document template.
+\end{eabstract}
+
+% vim:ts=4:sw=4
diff --git a/macros/latex/contrib/pkuthss/doc/readme/chap/pkuthss-ack.tex b/macros/latex/contrib/pkuthss/doc/readme/chap/pkuthss-ack.tex
new file mode 100644
index 0000000000..0fd606b7b0
--- /dev/null
+++ b/macros/latex/contrib/pkuthss/doc/readme/chap/pkuthss-ack.tex
@@ -0,0 +1,51 @@
+% Documentation for pkuthss.
+%
+% Copyright (c) 2008-2009 solvethis
+% Copyright (c) 2010-2012,2015 Casper Ti. Vector
+%
+% This work may be distributed and/or modified under the conditions of the
+% LaTeX Project Public License, either version 1.3 of this license or (at
+% your option) any later version.
+% The latest version of this license is in
+% https://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.tex
+% chap/pkuthss-copy.tex
+% chap/pkuthss-abs.tex
+% chap/pkuthss-intro.tex
+% chap/pkuthss-chap1.tex
+% chap/pkuthss-chap2.tex
+% chap/pkuthss-chap3.tex
+% chap/pkuthss-concl.tex
+% chap/pkuthss-encl1.tex
+% chap/pkuthss-ack.tex
+
+\chapter{鑷磋阿}
+
+鎰熻阿鍖楀ぇ鏈悕 BBS 涓 MathTools 鐗堝拰 Thesis 鐗堣浣嶅悓瀛︾殑鏀寔銆
+鐗瑰埆鎰熻阿 pkuthss 妯$増鐨勬渶鍒濆垱浣滆 solvethis 缃戝弸锛
+浠ュ強涓嶆柇鍦板 Casper 鎻愬嚭鐨勮澶氶棶棰樹簣浠ヨВ绛旂殑 cauchy 缃戝弸 :)
+
+姝ゅ杩樿鎰熻阿 \parencite{pku-thesisstyle} 鐨勪綔鑰咃紝
+璁╂垜鏍″湪瀛︿綅璁烘枃鏍煎紡瑕佹眰鐨勭箒澶嶇▼搴︿笂绂婚殧澹佹洿杩戜簡涓姝ワ紝
+鍚屾椂杩樿揪鎴愪簡鐢 \hologo{TeX} 鎺掔増鍑哄拰 M\$ Word 涓鏍峰缇庢按骞宠鏂囩殑浼熷ぇ鎴愬氨銆
+
+鏈鍚庤鎰熻阿 \verb|sed|銆乗verb|grep|銆乗verb|sort| 杩欎簺 Unix 宸ュ叿锛
+瀹冧滑姣忓ぉ闄即 Casper锛屼粠涓嶈 Casper 瀵瑰畠浠殑鏈熸湜钀界┖锛屽畠鏄 Casper 鏈濂界殑鏈嬪弸銆
+
+\vspace{1em}
+\begin{quotation}
+\small This series of books is affectionately dedicated to the
+Type 650 computer once installed at Case Institute of Technology,
+in remembrance of many pleasant evenings.
+
+\rightline{--- Donald E.\ Knuth, \emph{The Art of Computer Programming}}
+\end{quotation}
+
+% vim:ts=4:sw=4
diff --git a/macros/latex/contrib/pkuthss/doc/readme/chap/pkuthss-chap1.tex b/macros/latex/contrib/pkuthss/doc/readme/chap/pkuthss-chap1.tex
new file mode 100644
index 0000000000..3eaa29114b
--- /dev/null
+++ b/macros/latex/contrib/pkuthss/doc/readme/chap/pkuthss-chap1.tex
@@ -0,0 +1,190 @@
+% Documentation for pkuthss.
+%
+% Copyright (c) 2008-2009 solvethis
+% Copyright (c) 2010-2018 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
+% https://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.tex
+% chap/pkuthss-copy.tex
+% chap/pkuthss-abs.tex
+% chap/pkuthss-intro.tex
+% chap/pkuthss-chap1.tex
+% chap/pkuthss-chap2.tex
+% chap/pkuthss-chap3.tex
+% chap/pkuthss-concl.tex
+% chap/pkuthss-encl1.tex
+% chap/pkuthss-ack.tex
+
+\chapter{浣跨敤浠嬬粛}
+\section{绯荤粺瑕佹眰}\label{sec:req}
+
+姝g‘缂栬瘧闇瑕佷互涓嬪嚑閮ㄥ垎锛
+\begin{itemize}
+ \item 涓涓熀鏈殑 \hologo{TeX} 鍙戣鐗堛
+ \item CJK 鎴 XeCJK锛堜緵 \hologo{XeLaTeX} 浣跨敤锛夊畯鍖呫
+ \item ctex\supercite{ctex} 瀹忓寘锛堟彁渚涗簡 ctexbook 鏂囨。绫伙級銆
+ \item 涓枃瀛椾綋銆
+ \item 濡傛灉瑕佷娇鐢 biblatex 杩涜鏂囩尞鍒楄〃鍜屽紩鐢ㄧ殑鎺掔増鐨勮瘽锛
+ 杩橀渶瑕 biblatex\supercite{biblatex} 瀹忓寘锛
+ \item 濡傛灉瑕佸涓枃鏂囩尞杩涜鎸夋眽璇嫾闊崇殑鎺掑簭鐨勮瘽锛
+ 杩橀渶瑕 biber\supercite{biber} 绋嬪簭銆
+ \item 濡傛灉浣跨敤榛樿鐨勬枃鐚垪琛ㄥ拰寮曠敤鏍峰紡鐨勮瘽锛岃繕闇瑕佷綔鑰呯紪鍐欑殑 biblatex 鏍峰紡
+ 锛坆iblatex-caspervector\supercite{biblatex-caspervector}锛夛紝
+ 姝ゆ牱寮忚姹備娇鐢 biber 绋嬪簭銆
+ \item 濡傛灉椤昏浣跨敤 Makefile 鏉ュ疄鐜拌嚜鍔ㄧ紪璇戯紝杩橀渶瑕 Make 宸ュ叿锛
+ 浣嗗鏋滀娇鐢ㄧ敱鎵瑰鐞嗗疄鐜扮殑浼淢akefile鈥濆氨涓嶇敤浜嗐
+\end{itemize}
+
+\myemph{鏈鏂皚鐨刓myemph{瀹屽叏鐗坿 \hologo{TeX} Live 绯荤粺锛圽myemph{%
+ 娉細鏌愪簺 Linux 鍙戣鐗堣蒋浠朵粨搴撲腑鐨 \hologo{TeX} Live 鏈夐棶棰橈紝
+ 寤鸿浣跨敤鐙珛瀹夎鐗堢殑 \hologo{TeX} Live%
+ \unemph{\footnote{\url{https://www.tug.org/texlive/}.}}銆%
+}锛夐兘宸茬粡鍖呭惈闄や腑鏂囧瓧浣撳拰 Make 涔嬪鎵鏈夎姹傜殑椤圭洰銆%
+\myemph{%
+ 涓轰簡鑾峰緱鏈濂界殑鏀寔锛
+ 鎴戜滑寤鸿鐢ㄦ埛浣跨敤鏈鏂般佸畬鍏ㄧ増鐨 \hologo{TeX} 绯荤粺鍜屽悇瀹忓寘銆%
+}
+
+涓枃瀛椾綋椤昏鐢ㄦ埛鑷鑾峰緱銆俓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:doc-dir}
+
+鍦ㄦ纭畨瑁 pkuthss 鏂囨。妯$増涔嬪悗锛屽湪缁堢/鍛戒护鎻愮ず绗︿腑鎵ц
+\begin{Verbatim}[frame = single]
+texdoc pkuthss
+\end{Verbatim}
+鎵鎵撳紑鐨 pdf 鏂囦欢鎵鍦ㄧ殑鍚屼竴鐩綍涓寘鍚袱涓瓙鐩綍鍜岀浉搴旂殑涓や釜 pdf 鏂囦欢锛
+鍏朵腑 \verb|readme/| 涓鸿鏄庢枃妗o紙鍗虫湰鏂囨。锛夌殑婧愪唬鐮侊紝%
+\verb|example/| 涓烘枃妗fā鐗堢殑婧愪唬鐮侊紝%
+\verb|readme.pdf| 鍜 \verb|example.pdf|
+鍒嗗埆涓鸿鏄庢枃妗e拰鏂囨。妯$増鐨 pdf 鏂囦欢銆
+
+\verb|example/| 鐩綍涓嬬殑婧愪唬鐮佷娇鐢ㄧ殑鏄 UTF-8 缂栫爜锛
+鍦ㄧ幇鍦 \hologo{TeX} 鐢ㄦ埛甯哥敤鐨勭紪杈戝櫒涓潎宸茬粡鏈変簡鑹ソ鐨勬敮鎸併
+鐢ㄦ埛鍙互灏 \verb|example/| 涓殑鎵鏈夊唴瀹瑰鍒跺埌鍚堥傜殑鐩綍锛
+骞跺湪姝ょ洰褰曚腑鏍规嵁妯$増淇敼鍑鸿嚜宸辩殑璁烘枃銆
+
+\myemph{%
+ 娉ㄦ剰锛氬湪 1.4 rc4 涔嬪悗鐗堟湰鐨 pkuthss 鏂囨。妯$増涓紝
+ 闄や簡 \texttt{Make.bat} 涔嬪锛屾墍鏈夋枃浠跺潎鏄 LF锛圽texttt{\string\n}锛夋崲琛屻
+ 鍦 Windows 涓嬬敤鈥滆浜嬫湰鈥濇墦寮杩欎簺鏂囦欢鏃讹紝
+ 鎵鏈夌殑鎹㈣浼氬彉鎴愭煇涓鎬殑瀛楃锛岃屾墍鏈夋枃瀛椾細鎸ゅ湪涓琛屼笂銆
+ 杩欐槸鈥滆浜嬫湰鈥濈殑鍥烘湁闂锛
+ 鍥犳 pkuthss 鏂囨。妯$増鐨勪綔鑰呭缓璁敤鎴蜂娇鐢ㄦ敮鎸 LF 鎹㈣鐨勬枃鏈紪杈戝櫒缂栬緫鏂囦欢銆%
+}
+
+妯$増涓殑閲嶈鏂囦欢鏈夛細
+\begin{itemize}
+ \item \verb|Makefile|锛
+ 琚 Make 宸ュ叿璋冪敤鐨 Makefile锛岀敤浜庝娇缂栬瘧宸ヤ綔鑷姩鍖栥
+ \item \verb|Make.bat|锛%
+ Windows 涓嬬殑浼淢akefile鈥濓紝鐢 Windows 鎵瑰鐞嗗疄鐜般
+
+ \item \verb|chap/|锛氱洰褰曪紝鍖呭惈鍚勭珷鑺傚唴瀹癸細
+ \begin{itemize}
+ \item \verb|copyright.tex|锛氱増鏉冨0鏄庨儴鍒嗐
+ \item \verb|originauth.tex|锛
+ 鍘熷垱鎬у0鏄庡拰浣跨敤鎺堟潈璇存槑閮ㄥ垎\supercite{pku-originauth}銆
+ \end{itemize}
+ \myemph{%
+ 娉細pkuthss 鏂囨。妯$増鏀寔鎺掔増瀛︽牎瑕佹眰鐨勪簩缁寸爜锛
+ 璇峰弬鑰 \texttt{copyright.tex} 鍜
+ \texttt{originauth.tex} 涓殑鐩稿叧娉ㄩ噴銆%
+ }
+
+ \item \verb|misc/|锛
+ 鐩綍锛岀洰鍓嶅寘鍚瘮杈冨父鐢ㄧ殑瀛椾綋閰嶇疆锛
+ \begin{itemize}
+ \item \verb|ctexopts.cfg|銆乗verb|ctex-fontset-pkuthss.def|锛
+ 閫傜敤浜 2.0 鍙婁互鍚庣増鏈殑 ctex\supercite{ctex} 瀹忓寘銆
+ \item \verb|ctex-xecjk-windows.def|锛
+ 閫傜敤浜 2.0 浠ュ墠鐗堟湰鐨 ctex 瀹忓寘銆
+ \end{itemize}
+ 浣跨敤鏃讹紝
+ 璇峰皢鍜岀敤鎴风郴缁熶腑 ctex 瀹忓寘鐗堟湰鐩稿尮閰嶇殑\myemph{鎵鏈墋閰嶇疆鏂囦欢
+ 澶嶅埗鍒版ā鐗堢殑涓荤洰褰曚腑銆
+\end{itemize}
+
+\section{缂栬瘧鏂瑰紡}\label{sec:compile}
+
+棣栨缂栬瘧鍓嶏紝璇峰皢 \verb|misc/| 鐩綍涓拰鐢ㄦ埛绯荤粺涓
+ctex 瀹忓寘鐗堟湰鐩稿尮閰嶇殑閰嶇疆鏂囦欢澶嶅埗鍒版ā鐗堢殑涓荤洰褰曚腑锛
+璇﹁绗 \ref{sec:doc-dir} 鑺傘
+
+pkuthss 鏂囨。妯$増鏀寔涓夌缂栬瘧鏂瑰紡锛屽嵆
+\begin{itemize}
+ \item \hologo{LaTeX} -- dvipdfmx 鏂瑰紡锛歕\
+ 渚濇鎵ц \verb|latex|锛孿verb|biber|锛%
+ \verb|latex|锛孿verb|latex| 鍜 \verb|dvipdfmx|銆
+ \item \hologo{pdfLaTeX} 鏂瑰紡锛歕\
+ 渚濇鎵ц \verb|pdflatex|锛孿verb|biber|锛%
+ \verb|pdflatex| 鍜 \verb|pdflatex|銆
+ \item \hologo{XeLaTeX} 鏂瑰紡锛歕\
+ 渚濇鎵ц \verb|xelatex|锛孿verb|biber|锛%
+ \verb|xelatex| 鍜 \verb|xelatex|銆
+\end{itemize}
+\myemph{%
+ 娉ㄦ剰锛歕hologo{XeLaTeX} 瀵归潪 UTF-8 缂栫爜鐨勬敮鎸佷笉濂斤紝
+ 鍥犳 \hologo{XeLaTeX} 鏂瑰紡鐨勭紪璇戜笉鏀寔 GBK 缂栫爜銆%
+}
+
+pkuthss 鏂囨。妯$増闄勫甫鐨 Makefile 涓凡缁忓杩欎笁绉嶇紪璇戞柟寮忚繘琛屼簡瀹屾暣鐨勯厤缃
+鐢ㄦ埛鍙』瑕佸湪 Makefile 涓氳繃璁惧畾鍙橀噺 \verb|JOB| 鐨勫兼寚瀹氳缂栬瘧鐨勪富鏂囦欢鍚嶏紝
+骞堕氳繃璁惧畾鍙橀噺 \verb|LATEX| 鐨勫兼寚瀹氶噰鐢ㄥ摢绉嶇紪璇戞柟寮忥紝
+鍗冲彲閫氳繃鍦ㄤ富鏂囦欢鎵鍦ㄧ洰褰曡皟鐢 Make 宸ュ叿鏉ュ疄鐜拌嚜鍔ㄧ紪璇戯細
+濡傛灉鏄湪绫 UNIX 鐜涓嬶紝鍒欑敤鎴峰簲璇ヨ皟鐢ㄧ殑鍛戒护鍚嶄负 \verb|make|锛
+\begin{Verbatim}[frame = single]
+cd /path/to/directory/with/thesis.tex
+make
+\end{Verbatim}
+鑰屽鏋滄槸鍦 Windows 鐜涓嬶紝鍒欑敤鎴峰簲璇ヨ皟鐢ㄧ殑鍛戒护鍚嶅彲鑳戒负 \verb|mingw32-make|锛
+\begin{Verbatim}[frame = single]
+cd \path\to\directory\with\thesis.tex
+mingw32-make
+\end{Verbatim}
+
+鐢ㄦ埛濡傛灉涓嶆兂閰嶇疆 Windows 涓嬬殑 GNU Make锛
+鍒欎篃鍙互浣跨敤鐢 Windows 鎵瑰鐞嗗疄鐜扮殑浼淢akefile鈥濓紝
+閫氳繃鍦ㄤ富鏂囦欢鎵鍦ㄧ洰褰曡皟鐢 \verb|make|\footnote{%
+ Windows 灏嗘壒澶勭悊鏂囦欢浣滀负鍙墽琛屾枃浠讹紝璋冪敤鏃跺彲浠ヤ笉鏄惧紡鍦版寚鍑烘墿灞曞悕銆%
+}锛
+\begin{Verbatim}[frame = single]
+cd \path\to\directory\with\thesis.tex
+make
+\end{Verbatim}
+\myemph{%
+ 娉ㄦ剰锛%
+ Windows 鎵瑰鐞嗗浜 LF锛圽texttt{\string\n}锛夋崲琛岀殑鎵瑰鐞嗘枃浠舵敮鎸佹湁闂銆
+ 鍦ㄥ懡浠ゆ彁绀虹锛坈md锛変笅鎵ц杩欎簺鎵瑰鐞嗘枃浠舵椂娌℃湁闂锛
+ 浣嗗弻鍑绘枃浠跺浘鏍囨墽琛屾椂鍙兘灏变細鍑洪敊銆
+ \hologo{TeX} Live 涓畨瑁呯殑 \texttt{Make.bat} 鍜
+ CTAN 涓婃彁渚涚殑鍘嬬缉鍖呴噷鐨 \texttt{Make.bat}
+ 鏈夊彲鑳芥槸 LF锛圽texttt{\string\n}锛夋崲琛岀殑銆%
+}
+
+% vim:ts=4:sw=4
diff --git a/macros/latex/contrib/pkuthss/doc/readme/chap/pkuthss-chap2.tex b/macros/latex/contrib/pkuthss/doc/readme/chap/pkuthss-chap2.tex
new file mode 100644
index 0000000000..1ab1b3e9cd
--- /dev/null
+++ b/macros/latex/contrib/pkuthss/doc/readme/chap/pkuthss-chap2.tex
@@ -0,0 +1,357 @@
+% Documentation for pkuthss.
+%
+% Copyright (c) 2008-2009 solvethis
+% Copyright (c) 2010-2018 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
+% https://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.tex
+% chap/pkuthss-copy.tex
+% chap/pkuthss-abs.tex
+% chap/pkuthss-intro.tex
+% chap/pkuthss-chap1.tex
+% chap/pkuthss-chap2.tex
+% chap/pkuthss-chap3.tex
+% chap/pkuthss-concl.tex
+% chap/pkuthss-encl1.tex
+% chap/pkuthss-ack.tex
+
+\chapter{pkuthss 鏂囨。妯$増鎻愪緵鐨勫姛鑳絵
+\section{pkuthss 鏂囨。绫绘彁渚涚殑閫夐」}\label{sec:options}
+
+闄ら潪鐗瑰埆璇存槑锛屽惁鍒欒繖涓鑺傛彁鍒扮殑閫夐」涓兘鏄笉甯︹淺verb|no|鈥濈殑鐗堟湰琚惎鐢ㄣ
+
+\begin{itemize}
+ \item \textbf{\texttt{[no]uppermark}}锛
+ 鏄惁鍦ㄩ〉鐪変腑灏嗙珷鑺傚悕涓殑灏忓啓瀛楁瘝杞崲涓哄ぇ鍐欏瓧姣嶃
+ 灏辩洰鍓嶈岃█锛岃繖鏍风殑杞崲瀛樺湪鐫涓浜涜緝涓轰弗閲嶇殑缂洪櫡\footnote{%
+ 鍑嗙‘鍦拌鏄 \texttt{\string\MakeUppercase} 瀹忕殑闂锛
+ 鍏跺湪鏌愪簺鍦版柟鐨勮浆鎹笉澶熷仴澹紝
+ 渚嬪 \texttt{\string\cite\string{ctex\string}}
+ 浼氳杞崲鎴 \texttt{\string\cite\string{CTEX\string}}銆%
+ }锛屽洜姝や笉寤鸿浣跨敤銆
+ 鍩轰簬涓婅堪鑰冭檻锛孿myemph{%
+ pkuthss 鏂囨。绫婚粯璁ゅ惎鐢 \texttt{nouppermark} 閫夐」锛
+ 鍗充笉鍦ㄩ〉鐪変腑浣跨敤澶у啓鐨勭珷鑺傚悕%
+ }銆
+
+ \item \textbf{\texttt{[no]pkufont}}锛
+ 鏄惁鏍规嵁瀛︽牎瀵硅鏂囨牸寮忕殑瑕佹眰\mbox{\supercite{pku-thesisstyle}}%
+ 灏嗚タ鏂囧瓧浣撴敼涓虹被浼间簬 Times New Roman / Arial 鐨勫瓧浣撱
+
+ \item \textbf{\texttt{[no]pkufoot}}\footnote{%
+ 姝ら夐」绛変环浜 1.6.4 鍙婁互鍓嶇増鏈 pkuthss-extra 瀹忓寘鐨
+ \texttt{[no]footfmt} 閫夐」锛
+ 鏇存敼鍚嶇О鏄负浜嗕娇鏂囨。绫婚夐」鍚嶆洿鍔犺鍒欍%
+ }锛
+ 鏄惁鏍规嵁瀛︽牎瀵硅鏂囨牸寮忕殑瑕佹眰\mbox{\supercite{pku-thesisstyle}}%
+ 淇敼鍜岃剼娉ㄧ浉鍏崇殑涓浜涙牸寮忋
+ 鍏蜂綋鍦拌锛屽惎鐢 \verb|pkufoot| 閫夐」鍚庝細杩涜浠ヤ笅鍑犻」璁剧疆锛
+ \begin{itemize}
+ \item 鑴氭敞鍙傜敤甯﹀湀鐨勭紪鍙枫
+ \item 椤佃剼涓剼娉ㄧ紪鍙蜂娇鐢ㄦ鏂囷紙鑰岄潪涓婃爣锛夊瓧浣撱
+ \item 椤佃剼涓剼娉ㄧ紪鍙峰拰鑴氭敞鏂囨湰涔嬮棿榛樿闂撮殧涓涓┖鏍笺
+ \end{itemize}
+
+ \item \textbf{\texttt{[no]pkuspace}}锛
+ 鏄惁鏍规嵁瀛︽牎瀵硅鏂囨牸寮忕殑瑕佹眰\mbox{\supercite{pku-thesisstyle}}%
+ 淇敼鎺掔増涓殑涓浜涢棿璺濆強鐩稿叧璁剧疆銆
+ 鍏蜂綋鍦拌锛屽惎鐢 \verb|pkuspace| 閫夐」鍚庝細鎸
+ \parencite{pku-thesisstyle} 涓殑瑕佹眰淇敼浠ヤ笅鍑犻」璁剧疆锛
+ \begin{itemize}
+ \item 姝f枃鐨勮璺濄
+ \item 鐩綍涓潯鐩殑缂╄繘鏂瑰紡銆
+ \item 鍥捐〃鏍囬鐨勫瓧鍙凤紝浠ュ強鏍囬涓紪鍙峰拰鏍囬鏂囧瓧涔嬮棿鐨勯棿闅旀柟寮
+ 锛堜緥濡傚浘 \ref{fig:example} 鎵绀猴級銆
+ \end{itemize}
+
+ \begin{figure}[htbp!]
+ \centering
+ \includegraphics[width = 0.5\textwidth]{pkuword}
+ \caption{绀轰緥鎻掑浘}\label{fig:example}
+ \end{figure}
+
+ \item \textbf{\texttt{[no]spacing}}\footnote{%
+ 鍥犱负浠g爜閲嶆瀯鐨勭紭鏁咃紝
+ 姝ら夐」鍚屾椂鎻愪緵 1.5.5 鍙婁互鍓嶇増鏈 pkuthss-extra 瀹忓寘
+ 涓 \texttt{[no]tightlist} 閫夐」鎵鎻愪緵鐨勫姛鑳姐%
+ }锛
+ 鏄惁閲囩敤涓浜涘父鐢ㄧ殑璋冩暣闂磋窛鐨勯澶栫増寮忚瀹氥
+ 鍏蜂綋鍦拌锛屽惎鐢 \verb|spacing| 閫夐」鍚庝細杩涜浠ヤ笅鍑犻」璁剧疆锛
+ \begin{itemize}
+ \item 鑷姩蹇界暐 CJK 鏂囧瓧涔嬮棿鐨勭┖鐧借
+ 淇濈暀锛圕JK 鏂囧瓧涓庤タ鏂囦箣闂寸瓑鐨勶級鍏跺畠绌虹櫧銆
+ \item 璋冪敤 setspace 瀹忓寘浠ヤ娇鏌愪簺缁嗚妭澶勭殑绌洪棿瀹夋帓鏇寸編瑙傘
+ \item 閲囩敤姣 \hologo{LaTeX} 榛樿璁惧畾鏇村姞绱у瘑鐨勬灇涓剧幆澧%
+ \footnote{%
+ 鍦ㄦ灇涓剧幆澧冿紙itemize銆乪numerate 鍜 description锛変腑锛
+ 姣忎釜鏉$洰鐨勫唴瀹硅緝灏戞椂锛屾潯鐩線寰鏄惧緱绋鐤忥紱
+ 鍦ㄥ弬鑰冩枃鐚垪琛ㄤ腑涔熸湁绫讳技鐨勭幇璞°
+ 鍚敤 \texttt{spacing} 閫夐」鍚庯紝
+ 灏嗗幓鎺夎繖浜涚幆澧冧腑棰濆澧炲姞鐨勶紙鍨傜洿锛夐棿闅斻%
+ }銆
+ \end{itemize}
+
+ \item \textbf{\texttt{[no]spechap}}\footnote{%
+ 鈥渟pechap鈥濇槸鈥淺textbf{spec}ial \textbf{chap}ter鈥濈殑缂╁啓銆%
+ }锛
+ 鏄惁鍚敤绗 \ref{ssec:misc} 灏忚妭涓粙缁嶇殑 \verb|\specialchap| 鍛戒护銆
+
+ \item \textbf{\texttt{[no]pdftoc}}\footnote{%
+ 姝ら夐」閮ㄥ垎绛変环浜 1.4 alpha2 鍙婁互鍓嶇増鏈 pkuthss-extra 瀹忓寘
+ 鐨 \texttt{[no]tocbibind} 閫夐」銆
+ 鍥犱负 tocbibind 瀹忓寘鍜 biblatex 瀹忓寘鍐茬獊锛%
+ pkuthss 鏂囨。绫讳笉鍐嶈皟鐢 tocbibind 瀹忓寘銆%
+ }锛
+ 鍚敤 \verb|pdftoc| 閫夐」鍚庯紝
+ 鐢 \verb|\tableofcontents| 鍛戒护鐢熸垚鐩綍鏃朵細鑷姩娣诲姞鈥滅洰褰曗濈殑 pdf 涔︾銆
+
+ \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{鍏朵綑鏂囨。绫婚夐」}锛%
+ 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}
+
+\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{鍏跺畠鍛戒护鍜岀幆澧儅\label{ssec:misc}
+
+\texttt{\bfseries cabstract} 鍜 \texttt{\bfseries eabstract}
+鐜鐢ㄤ簬缂栧啓涓タ鏂囨憳瑕併
+鐢ㄦ埛鍙』瑕佸啓鎽樿鐨勬鏂囷紱鏍囬銆佷綔鑰呫佸甯堛佷笓涓氱瓑閮ㄥ垎浼氳嚜鍔ㄧ敓鎴愩
+
+\texttt{\bfseries\string\specialchap} 鍛戒护
+鐢ㄤ簬寮濮嬩笉杩涜鏍囧彿浣嗚鍏ョ洰褰曠殑涓绔狅紝
+骞跺悎鐞嗗畨鎺掑叾椤电湁銆俓myemph{%
+ 娉ㄦ剰锛氶』瑕佸惎鐢 \texttt{spechap} 閫夐」鎵嶈兘浣跨敤姝ゅ懡浠ゃ
+ 鍙﹀锛屽湪姝ょ珷鍐呯殑鑺傛垨灏忚妭绛夊懡浠ゅ簲浣跨敤甯︽槦鍙风殑鐗堟湰锛
+ 渚嬪 \texttt{\string\section\string*} 绛夛紝
+ 浠ュ厤閫犳垚绔犺妭缂栧彿娣蜂贡銆%
+}%
+渚嬪锛屾湰鏂囨。涓殑鈥滃簭瑷鈥濅竴绔犲氨鏄敤 \verb|\specialchap{搴忚█}|
+杩欐潯鍛戒护寮濮嬬殑銆%
+
+\texttt{\bfseries\string\setpdfproperties} 鍛戒护
+鐢ㄤ簬鏍规嵁鐢ㄦ埛璁惧畾鐨勬枃妗d俊鎭嚜鍔ㄨ瀹氱敓鎴愮殑 pdf 鏂囨。鐨勫睘鎬с
+姝ゅ懡浠や細鍦ㄧ敤鎴疯皟鐢 \verb|\maketitle| 鍛戒护鏃惰鑷姩璋冪敤锛
+鍥犳閫氬父涓嶉』瑕佺敤鎴疯嚜宸变娇鐢紱
+浣嗙敤鎴锋湁鏃跺彲鑳戒笉椤昏杈撳嚭灏侀潰锛屼粠鑰屼笉浼氳皟鐢 \verb|\maketitle| 鍛戒护锛
+姝ゆ椂灏遍』瑕佸湪璁惧畾瀹屾枃妗d俊鎭箣鍚庤皟鐢 \verb|\setpdfproperties|銆%
+\myemph{娉ㄦ剰锛氶』瑕佸惎鐢 \texttt{pdfprop} 閫夐」鎵嶈兘浣跨敤姝ゅ懡浠ゃ倉
+
+\section{浠庡叾瀹冩枃妗g被鍜屽畯鍖呯户鎵跨殑鍔熻兘}\label{sec:thirdparty}
+
+pkuthss 鏂囨。绫诲缓绔嬪湪 ctexbook\supercite{ctex} 鏂囨。绫讳箣涓婏紝
+骞惰皟鐢ㄤ簡 geometry\supercite{geometry}銆乫ancyhdr\supercite{fancyhdr}銆%
+hyperref\supercite{hyperref}銆乬raphicx\supercite{graphicx}
+鍜 ulem\supercite{ulem} 绛夊嚑涓畯鍖呫
+鍥犳锛宑texbook 鏂囨。绫诲拰杩欎簺瀹忓寘鎵鎻愪緵鐨勫姛鑳藉潎鍙互浣跨敤銆
+
+渚嬪锛岀敤鎴峰鏋滄兂灏嗙洰褰曠殑鏍囬鏀逛负鈥滅洰{\quad\quad}褰曗濓紝
+鍒欏彲浠ヤ娇鐢 ctexbook 鏂囨。绫绘彁渚涚殑 \verb|\ctexset| 鍛戒护锛
+\begin{Verbatim}[frame = single]
+\ctexset[contentsname = {鐩畕\quad\quad}褰晑]
+\end{Verbatim}
+
+鍦ㄩ粯璁ょ殑閰嶇疆涓嬶紝%
+pkuthss 鏂囨。妯$増浣跨敤浣滆呯紪鍐欑殑 biblatex\supercite{biblatex} 鏍峰紡%
+\mbox{\supercite{biblatex-caspervector}}杩涜鍙傝冩枃鐚拰寮曠敤鐨勬帓鐗堬紝
+鐢ㄦ埛鍙互浣跨敤瀹冧互鍙 biblatex 鏈韩鎵鎻愪緵鐨勫姛鑳姐
+渚嬪锛岀敤鎴峰彲浠ュ垎鍒娇鐢 \verb|\cite|銆乗verb|\parencite| 鍜 \verb|\supercite|
+鐢熸垚鏈牸寮忓寲鐨勩佸甫鏂规嫭鍙风殑鍜屼笂鏍囦笖甯︽柟鎷彿鐨勫紩鐢ㄦ爣璁帮細
+\begin{Verbatim}[frame = single]
+\cite{ctex}锛孿parencite{ctex}锛孿supercite{ctex}
+\end{Verbatim}
+鍦ㄦ湰鏂囦腑灏嗕骇鐢熲淺cite{ctex}锛孿parencite{ctex}锛孿supercite{ctex}鈥濄
+
+灏辩洰鍓嶈岃█锛屽湪\myemph{闄 3.0--3.3 涔嬪鐗堟湰鐨剗 biblatex 涓紝
+閫氳繃鏇村鏉傜殑璁剧疆锛岃繕鍙互婊¤冻渚嬪琚紩鐢ㄧ殑鏂囩尞鎸夌収寮曠敤椤哄簭鎺掑簭锛
+鑰屾湭寮曠敤鐨勬枃鐚寜鐓цタ鏂囨枃鐚湪鍓嶃佷腑鏂囨枃鐚湪鍚庢帓搴忚繖鏍风殑闇姹傦紝
+璇﹁ biblatex-caspervector 鐨勬枃妗supercite{biblatex-caspervector}銆
+
+闄ゆ涔嬪锛宲kuthss 鏂囨。绫昏繕鍙兘璋冪敤浠ヤ笅杩欎簺瀹忓寘锛
+\begin{itemize}
+ \item 鍚敤 \verb|pkufont| 閫夐」鏃朵細璋冪敤
+ newtxtext 鍜 newtxmath\supercite{newtx} 瀹忓寘锛
+ 鍚﹀垯浼氳皟鐢 latexsym\supercite{latexsym} 瀹忓寘銆
+ \item 鍚敤 \verb|pkufoot| 閫夐」鏃朵細璋冪敤
+ tikz\supercite{tikz} 鍜 scrextend\supercite{scrextend} 瀹忓寘銆
+ \item 鍚敤 \verb|pkuspace| 閫夐」鏃朵細璋冪敤
+ tocloft\supercite{tocloft}銆乧aption\supercite{caption} 鍜
+ subcaption\supercite{subcaption} 瀹忓寘銆
+ \item 鍚敤 \verb|spacing| 閫夐」鏃朵細璋冪敤 setspace 鍜
+ enumitem\supercite{enumitem} 瀹忓寘銆
+\end{itemize}
+鍥犳鍦ㄥ惎鐢ㄧ浉搴旈夐」鏃讹紝鐢ㄦ埛鍙互浣跨敤瀵瑰簲瀹忓寘鎵鎻愪緵鐨勫姛鑳姐
+
+\section{楂樼骇璁剧疆}\label{sec:advanced}
+
+pkuthss 鏂囨。妯$増鐨勫疄鐜版槸绠娲併佹竻鏅般佺伒娲荤殑銆
+褰撲竴浜涚粏鑺傜殑鑷畾涔夋棤娉曢氳繃妯$増鎻愪緵鐨勫閮ㄦ帴鍙e疄鐜版椂锛
+鎴戜滑榧撳姳鐢ㄦ埛锛堝湪閫傚綋鐞嗚В鐩稿叧閮ㄥ垎浠g爜鐨勫墠鎻愪笅锛
+閫氳繃淇敼 pkuthss 鏂囨。绫荤殑婧愭枃浠惰繘琛岃嚜瀹氫箟銆
+鍦ㄧ洰鍓嶅父鐢ㄧ殑 \hologo{TeX} 绯荤粺涓紝
+鍋囪 pkuthss 鐨勮鏄庢枃妗f墍鍦ㄧ洰褰曞叿鏈変笅杩板舰寮忕殑璺緞锛
+\begin{Verbatim}[frame = single]
+# 璇存槑鏂囨。鎵鍦ㄧ洰褰曪紙$TEXMFDIST 鐨勫舰寮忚涓嬮潰鍑犺锛夛細
+$TEXMFDIST/doc/latex/pkuthss/
+# 鑻ョ敤鎴蜂娇鐢 Windows 涓嬬殑 TeX Live 绯荤粺锛屽垯 $TEXMFDIST 涓鑸被浼间簬锛
+C:\texlive\2015\texmf-dist
+# 鑻ョ敤鎴蜂娇鐢ㄧ被 Unix 涓嬬殑 TeX Live 绯荤粺锛屽垯 $TEXMFDIST 涓鑸被浼间簬锛
+/usr/local/texlive/2015/texmf-dist
+\end{Verbatim}
+鍒欏叾婧愭枃浠舵墍鍦ㄧ洰褰曞簲璇ヤ綅浜庝互涓嬬洰褰曪細
+\begin{Verbatim}[frame = single]
+$TEXMFDIST/tex/latex/pkuthss/
+\end{Verbatim}
+
+濡傛灉鐨勭‘椤昏淇敼 pkuthss 鏂囨。绫荤殑婧愭枃浠讹紝\myemph{%
+ 寤鸿鐢ㄦ埛灏 \texttt{pkuthss.cls} 鎴栧叾瀹冮渶瑕佷慨鏀圭殑鏂囦欢
+ 澶嶅埗鍒拌缂栬瘧鐨勪富鏂囦欢鎵鍦ㄧ殑鐩綍锛
+ 鐒跺悗瀵规鍓湰杩涜淇敼%
+}\footnote{%
+ 鑳借繖鏍峰仛鐨勫師鍥犳槸鐩墠甯哥敤鐨 \hologo{TeX} 绯荤粺鍦ㄨ鍙栫紪璇戠敤鍒扮殑鏂囦欢鏃讹紝
+ 浼氫紭鍏堣冭檻宸ヤ綔鐩綍锛堝嵆涓绘枃浠舵墍鍦ㄧ洰褰曪級涓殑鏂囦欢銆%
+}銆傝繖鏍峰仛鐨勭洰鐨勪富瑕佹槸浣跨敤鎴蜂笉蹇呭湪姣忔璋冩暣鏂囨。绫绘枃浠舵椂閮藉幓涓婅堪璺緞淇敼锛
+鍚屾椂杩欐牱涔熷彲浠ュ湪锛堜竾涓椤昏锛夋洿鏂 \hologo{TeX} 绯荤粺鏃讹紝
+闃叉鐢ㄦ埛淇敼杩囩殑鏂囨。绫绘枃浠跺湪鏇存柊涓鑷姩瑕嗙洊鎺夈
+
+涓涓父瑙佺殑闇姹傛槸灏侀潰涓儴鍒嗗唴瀹癸紙鐗瑰埆鏄鏂囩殑鏍囬銆佷笓涓氬拰鐮旂┒鏂瑰悜锛夊お闀匡紝
+瓒呭嚭浜嗗湪棰勮鐨勭┖闂淬
+姝ゆ椂锛岀敤鎴峰彲浠ヤ慨鏀 \verb|pkuthss.cls| 閲 \verb|\maketitle| 瀹氫箟涓
+\verb|\thss@int@fillinblank| 瀹忕殑鍙傛暟鏉ユ敼鍙
+甯︿笅鍒掔嚎鐨勭┖鐧界殑琛屾暟鍜岃瀹斤紝鍏惰娉曚负锛
+\begin{Verbatim}[frame = single]
+\thss@int@fillinblank{琛屾暟}{琛屽}{鍐呭}
+\end{Verbatim}
+渚嬪锛屽鏋溾滅爺绌舵柟鍚戔濅竴鏍忛渶瑕佷袱琛岀殑绌虹櫧锛
+鍙互灏 \verb|pkuthss.cls| 閲岀殑
+\begin{Verbatim}[frame = single]
+\thss@int@fillinblank{1}{\thss@tmp@len}{\kaishu\@direction}
+\end{Verbatim}
+鏀逛负
+\begin{Verbatim}[frame = single]
+\thss@int@fillinblank{2}{\thss@tmp@len}{\kaishu\@direction}
+\end{Verbatim}
+褰撶劧锛屼负浜嗙編瑙傦紝鍙互灏嗗浜庝竴琛岀殑閮ㄥ垎绉诲埌灏侀潰涓綔鑰呬俊鎭儴鍒嗙殑鏈涓嬫柟銆
+
+% vim:ts=4:sw=4
diff --git a/macros/latex/contrib/pkuthss/doc/readme/chap/pkuthss-chap3.tex b/macros/latex/contrib/pkuthss/doc/readme/chap/pkuthss-chap3.tex
new file mode 100644
index 0000000000..bde028dd98
--- /dev/null
+++ b/macros/latex/contrib/pkuthss/doc/readme/chap/pkuthss-chap3.tex
@@ -0,0 +1,142 @@
+% Documentation for pkuthss.
+%
+% Copyright (c) 2008-2009 solvethis
+% Copyright (c) 2010-2018 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
+% https://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.tex
+% chap/pkuthss-copy.tex
+% chap/pkuthss-abs.tex
+% chap/pkuthss-intro.tex
+% chap/pkuthss-chap1.tex
+% chap/pkuthss-chap2.tex
+% chap/pkuthss-chap3.tex
+% chap/pkuthss-concl.tex
+% chap/pkuthss-encl1.tex
+% chap/pkuthss-ack.tex
+
+\chapter{闂鍙婂叾瑙e喅}
+\section{鏂囨。涓凡缁忔彁鍒扮殑甯歌闂锛堟寜閲嶈鎬ф帓搴忥級}
+
+鏂囨。榛樿鎯呭喌涓嬫槸鍙岄潰妯″紡锛岀珷鏈彲鑳戒骇鐢熺┖鐧介〉锛
+瑙e喅鏂瑰紡瑙佺 \ref{sec:options} 鑺傘
+
+閫氳繃涓浜涜缃紝杩樺彲浠ユ弧瓒充緥濡傝寮曠敤鐨勬枃鐚寜鐓у紩鐢ㄩ『搴忔帓搴忥紝
+鑰屾湭寮曠敤鐨勬枃鐚寜鐓цタ鏂囨枃鐚湪鍓嶃佷腑鏂囨枃鐚湪鍚庢帓搴忚繖鏍风殑闇姹傦紝
+瑙佺 \ref{sec:thirdparty} 鑺傘
+
+涓浜涢珮绾ц缃紝濡傚皝闈腑閮ㄥ垎鍐呭闀垮害瓒呰繃棰勮绌洪棿瀹归噺鏃剁殑璁剧疆锛
+瑙佺 \ref{sec:advanced} 鑺傘
+
+涓枃瀛椾綋瀛楀簱涓嶅叏锛堝彧鍖呭惈 GB2312 瀛楃闆嗗唴瀛楃锛夋椂锛
+鐢熸垚鐨 pdf 鏂囨。涓彲鑳界己灏戦儴鍒嗗瓧绗︼紝瑙e喅鏂瑰紡瑙佺 \ref{sec:req} 鑺傘
+浣跨敤杩囨棫鐨 \hologo{TeX} 绯荤粺鍜屽悇瀹忓寘锛
+鎴栦娇鐢ㄦ煇浜 Linux 鍙戣鐗堣蒋浠朵粨搴撴墍鎻愪緵鐨 \hologo{TeX} Live 鏃讹紝
+鍙兘寮曡捣涓浜涢棶棰橈紝璇﹁绗 \ref{sec:req} 鑺傘
+
+Windows 鎵瑰鐞嗗浜 LF锛圽texttt{\string\n}锛夋崲琛岀殑鎵瑰鐞嗘枃浠舵敮鎸佹湁闂锛
+瑙e喅鏂瑰紡瑙佺 \ref{sec:compile} 鑺傘
+Windows 鐨勨滆浜嬫湰鈥濈▼搴忓湪鏌ョ湅 LF锛圽texttt{\string\n}锛
+鎹㈣鐨勬枃鏈枃浠舵椂瀛樺湪鐫涓浜涢棶棰橈紝
+鍥犳寤鸿鐢ㄦ埛浣跨敤鏀寔 LF 鎹㈣鐨勬枃鏈紪杈戝櫒缂栬緫鏂囦欢锛
+璇﹁绗 \ref{sec:doc-dir} 鑺傘
+
+\section{涓婃父瀹忓寘鍙兘寮曡捣鐨勯棶棰榼
+
+biblatex\supercite{biblatex} 瀹忓寘浼氳嚜琛岃瀹 \verb|\bibname|锛
+鏁呬細瑕嗙洊閫氳繃 \verb|\ctexset| 璁惧畾鐨勫弬鑰冩枃鐚垪琛ㄦ爣棰樸
+浣跨敤 biblatex 鐨勭敤鎴峰彲浠ヤ娇鐢 \verb|\printbibliography| 鐨
+\verb|title| 閫夐」鏉ユ墜鍔ㄨ瀹氬弬鑰冩枃鐚垪琛ㄧ殑鏍囬锛屼緥濡傦細
+\begin{Verbatim}[frame = single]
+\printbibliography[title = {鏂囩尞}, ...] % 鈥...鈥濅负鍏跺畠閫夐」銆
+\end{Verbatim}
+
+hyperref\supercite{hyperref} 瀹忓寘鍜屼竴浜涘畯鍖呭彲鑳藉彂鐢熷啿绐併
+鍏充簬濡備綍閬垮厤杩欎簺鍐茬獊锛
+鍙互鍙傝 hyperref 瀹忓寘 README 鏂囦欢涓殑鈥淧ackage Compatibility鈥濅竴鑺傘
+姝ゆ枃浠堕氬父鍜屾墽琛 \verb|texdoc hyperref|
+鏃舵墦寮鐨 pdf 鏂囦欢浣嶄簬鍚屼竴鐩綍涓
+
+浣跨敤 \hologo{XeLaTeX} 鐨勭敤鎴峰彲鑳藉湪宸茬粡瀹夎瀛椾綋鐨勬儏鍐典笅閬囧埌褰㈠锛堝叾涓
+\verb|xxxxxxxx| 涓哄叿浣撳瓧浣撳悕锛
+\begin{Verbatim}[frame = single, fontsize = {\small}]
+! fontspec error: "font-not-found"
+! The font "xxxxxxxx" cannot be found.
+! See the fontspec documentation for further information.
+! For immediate help type H <return>.
+\end{Verbatim}
+鐨勯敊璇
+杩欑閿欒涓鑸槸锛堜富瑕佹槸闈 Windows 骞冲彴鐨勶級鐢ㄦ埛閲囩敤浜嗚嚜瀹氫箟鐨
+锛堝寘鎷ぇ灏忓啓涓嶅悓浜庡師鏂囦欢鐨勶級瀛椾綋鏂囦欢鍚嶏紝
+骞舵敼鍔 \verb|ctex.cfg| 绛夐厤缃枃浠朵箣鍚庢病鏈夊湪璋冪敤
+pkuthss 鏂囨。绫绘椂鍔犲叆 \verb|nofonts| 閫夐」锛
+鍙堜娇鐢 \verb|xelatex| 缂栬瘧閫犳垚鐨勶紝浣跨敤
+\begin{Verbatim}[frame = single]
+\documentclass[nofonts, ...]{pkuthss} % 鈥...鈥濅唬琛ㄥ叾瀹冪殑閫夐」銆
+\end{Verbatim}
+鍗冲彲瑙e喅姝ら棶棰樸
+
+biber 杩愯鏃舵湁涓瀹氭鐜囧嚭鐜板舰濡傦紙鐩綍鍚嶅彲鑳界◢鏈変笉鍚岋級
+\begin{Verbatim}[frame = single, fontsize = {\small}]
+data source .../par-xxxxxxxx/cache-xxxxxxxx/
+ inc/lib/Biber/LaTeX/recode_data.xml not found in .
+\end{Verbatim}
+鐨勯敊璇
+杩欑閿欒涓鑸槸 biber 鍦ㄨ嚜瑙e帇闃舵琚粓姝箣鍚庯紝
+鏈垹闄 \verb|.../par-xxxxxxxx/| 杩欎釜涓存椂鐩綍灏遍噸鏂拌繍琛 biber 鏃跺嚭鐜般
+閬囧埌杩欑鎯呭喌鏃讹紝鍒犻櫎鎺変笂杩颁复鏃剁洰褰曞強鍏舵墍鏈夊唴瀹癸紝
+鍐嶉噸鏂拌繍琛 biber 閫氬父渚垮彲瑙e喅闂銆
+
+caption\supercite{caption} 瀹忓寘瀵逛簬鍏朵笉璁よ瘑鐨勫畯鍖呭潎浼氭彁绀
+\begin{Verbatim}[frame = single, fontsize = {\small}]
+Package caption Warning: Unsupported document class (or package) detected,
+(caption) usage of the caption package is not recommended.
+See the caption package documentation for explanation.
+\end{Verbatim}
+pkuthss 鏂囨。妯$増鍩轰簬 ctexbook 鏂囨。绫伙紝鑰屽悗鑰呭熀浜庢爣鍑嗙殑 book 鏂囨。绫伙紝
+鍥犳杩欎釜璀﹀憡骞朵笉褰卞搷鐢ㄦ埛姝e父浣跨敤\footnote{%
+ \url{http://bbs.ctex.org/forum.php?mod=redirect&goto=findpost&ptid=63117&pid=402145}.%
+}銆
+
+\section{鏂囨。鏍煎紡鍙兘瀛樺湪鐨勯棶棰榼
+
+瀛︽牎瀵瑰浣嶈鏂囨牸寮忕殑瑙勫畾\mbox{\supercite{pku-thesisstyle}}%
+鏄剧劧娌℃湁鑰冭檻鍒伴潪 MS Word 绫绘帓鐗堝伐鍏风殑宸ヤ綔鏂瑰紡锛
+鍥犳 pkuthss 鏂囨。妯$増鍙槸瀵瑰叾瑕佹眰鐨勬牸寮忚繘琛屾ā浠匡紝
+鑰屽湪涓浜涘皬鐨勭粏鑺備笂鍙兘鏈夋墍鍑哄叆銆
+
+biblatex-caspervector\supercite{biblatex-caspervector} 鎵瀹炵幇鐨勬牸寮忓拰
+\parencite{pku-thesisstyle} 鐨勮瀹氬苟涓嶄竴鑷达紝
+浣嗗叾浣滆呮殏鏃舵病鏈夌簿鍔涗篃涓嶆効鎰忓幓瀹炵幇鍚庤呮墍瑙勫畾鐨勬瘮鍘熸牸寮忔洿涓戦檵寰楀鐨勬牸寮忋
+
+\section{鍙嶉鎰忚鍜屽缓璁畗
+
+鍏充簬 pkuthss 鏂囨。妯$増鐨勬剰瑙佸拰寤鸿锛
+璇峰湪鍖楀ぇ鏈悕 BBS 鐨 MathTools 鐗堟垨 pkuthss 椤圭洰涓婚〉鐨 issue tracker%
+\footnote{\url{https://gitlab.com/CasperVector/pkuthss/issues}.}%
+涓婃彁鍑猴紝
+鎴栭氳繃鐢靛瓙閭欢\footnote%
+{\href{mailto:CasperVector@gmail.com}{\texttt{CasperVector@gmail.com}}.}%
+鍛婄煡妯$増缁存姢鑰呫
+涓婅堪涓夌鍙嶉鏂规硶涓紝寤鸿鐢ㄦ埛灏介噺閲囩敤闈犲墠鐨勬柟娉曘
+
+鍦ㄨ繘琛屽弽棣堟椂锛岃灏介噺纭繚宸茬粡浠旂粏闃呰鏈枃妗d腑鐨勮鏄庛
+濡傛灉鏄氳繃 BBS 鎴栫數瀛愰偖浠惰繘琛屽弽棣堬紝
+璇峰湪鏍囬涓鏄庢槸鍏充簬 pkuthss 鏂囨。妯$増鐨勫弽棣堬紱
+濡傛灉鏄敊璇姤鍛婏紝璇疯鏄庢墍浣跨敤 pkuthss 妯$増鐨勭増鏈
+鑷繁浣跨敤鐨勬搷浣滅郴缁熷拰 \hologo{TeX} 绯荤粺鐨勭被鍨嬪拰鐗堟湰锛
+鍚屾椂寮虹儓寤鸿闄勪笂涓涓嚭閿欑殑鏈灏忎緥瀛愬強鍏剁浉搴旂殑缂栬瘧鏃ュ織锛圽verb|.log| 鏂囦欢锛夛紝
+鍦ㄦ枃浠惰緝闀挎椂璇蜂娇鐢ㄩ檮浠躲
+
+% vim:ts=4:sw=4
diff --git a/macros/latex/contrib/pkuthss/doc/readme/chap/pkuthss-concl.tex b/macros/latex/contrib/pkuthss/doc/readme/chap/pkuthss-concl.tex
new file mode 100644
index 0000000000..4d71382198
--- /dev/null
+++ b/macros/latex/contrib/pkuthss/doc/readme/chap/pkuthss-concl.tex
@@ -0,0 +1,34 @@
+% Documentation for pkuthss.
+%
+% 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
+% https://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.tex
+% chap/pkuthss-copy.tex
+% chap/pkuthss-abs.tex
+% chap/pkuthss-intro.tex
+% chap/pkuthss-chap1.tex
+% chap/pkuthss-chap2.tex
+% chap/pkuthss-chap3.tex
+% chap/pkuthss-concl.tex
+% chap/pkuthss-encl1.tex
+% chap/pkuthss-ack.tex
+
+\specialchap{缁撹}
+
+pkuthss 鏂囨。妯$増缁撴瀯杈冧负绠娲併佹竻鏅般佺伒娲伙紝杈冧负鏄撲簬瀛︿範鍜屼娇鐢ㄣ
+甯屾湜瀹冭兘涓哄悇浣嶉』瑕佷娇鐢 \hologo{LaTeX} 鎾板啓瀛︿綅璁烘枃鐨勫悓瀛︽彁渚涗竴浜涘府鍔┿
+
+% vim:ts=4:sw=4
diff --git a/macros/latex/contrib/pkuthss/doc/readme/chap/pkuthss-copy.tex b/macros/latex/contrib/pkuthss/doc/readme/chap/pkuthss-copy.tex
new file mode 100644
index 0000000000..74b2cc186a
--- /dev/null
+++ b/macros/latex/contrib/pkuthss/doc/readme/chap/pkuthss-copy.tex
@@ -0,0 +1,47 @@
+% Documentation for pkuthss.
+%
+% Copyright (c) 2008-2009 solvethis
+% Copyright (c) 2010-2016 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
+% https://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.tex
+% chap/pkuthss-copy.tex
+% chap/pkuthss-abs.tex
+% chap/pkuthss-intro.tex
+% chap/pkuthss-chap1.tex
+% chap/pkuthss-chap2.tex
+% chap/pkuthss-chap3.tex
+% chap/pkuthss-concl.tex
+% chap/pkuthss-encl1.tex
+% chap/pkuthss-ack.tex
+
+\chapter*{鐗堟潈澹版槑}
+\thispagestyle{empty}
+
+鐗堟潈鎵鏈 \copyright\ 2008--2009 solvethis
+\par
+鐗堟潈鎵鏈 \copyright\ 2010--2017 Casper Ti. Vector
+\vskip 1em
+
+pkuthss 鏂囨。绫诲強鍏惰鏄庢枃妗e潎浠 \hologo{LaTeX} Project Public License 鍙戝竷銆
+闅 pkuthss 鎻愪緵鐨勬ā鐗堟簮浠g爜涓紝闄や互涓嬫枃浠
+\begin{itemize}
+ \item \verb|chap/copyright.tex|
+ \item \verb|chap/originauth.tex|
+\end{itemize}
+浠 New BSD License 鍙戝竷锛
+浠ュ強鍙傝冩枃鐚拰寮曠敤鍒楄〃浣跨敤鐨勬牱寮忔枃浠剁増鏉冨0鏄庤鐩稿簲鏂囦欢涓鏄庝互澶栵紝
+鍏朵綑鎵鏈夋枃浠跺彂甯冨湪鍏湁棰嗗煙锛坧ublic domain锛夈
+
+% vim:ts=4:sw=4
diff --git a/macros/latex/contrib/pkuthss/doc/readme/chap/pkuthss-encl1.tex b/macros/latex/contrib/pkuthss/doc/readme/chap/pkuthss-encl1.tex
new file mode 100644
index 0000000000..30c397b6e1
--- /dev/null
+++ b/macros/latex/contrib/pkuthss/doc/readme/chap/pkuthss-encl1.tex
@@ -0,0 +1,44 @@
+% Documentation for pkuthss.
+%
+% Copyright (c) 2008-2009 solvethis
+% Copyright (c) 2010-2012,2014 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
+% https://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.tex
+% chap/pkuthss-copy.tex
+% chap/pkuthss-abs.tex
+% chap/pkuthss-intro.tex
+% chap/pkuthss-chap1.tex
+% chap/pkuthss-chap2.tex
+% chap/pkuthss-chap3.tex
+% chap/pkuthss-concl.tex
+% chap/pkuthss-encl1.tex
+% chap/pkuthss-ack.tex
+
+\chapter{鏇存柊璁板綍}
+\raggedbottom
+
+\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
+
+% vim:ts=4:sw=4
diff --git a/macros/latex/contrib/pkuthss/doc/readme/chap/pkuthss-intro.tex b/macros/latex/contrib/pkuthss/doc/readme/chap/pkuthss-intro.tex
new file mode 100644
index 0000000000..db16f7776b
--- /dev/null
+++ b/macros/latex/contrib/pkuthss/doc/readme/chap/pkuthss-intro.tex
@@ -0,0 +1,67 @@
+% Documentation for pkuthss.
+%
+% Copyright (c) 2008-2009 solvethis
+% Copyright (c) 2010-2012,2014-2015,2018 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
+% https://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.tex
+% chap/pkuthss-copy.tex
+% chap/pkuthss-abs.tex
+% chap/pkuthss-intro.tex
+% chap/pkuthss-chap1.tex
+% chap/pkuthss-chap2.tex
+% chap/pkuthss-chap3.tex
+% chap/pkuthss-concl.tex
+% chap/pkuthss-encl1.tex
+% chap/pkuthss-ack.tex
+
+\specialchap{搴忚█}
+
+鏈枃妗f槸鍖椾含澶у璁烘枃鏂囨。妯$増 pkuthss 鐨勮鏄庢枃妗c
+
+pkuthss 鏂囨。妯$増鐢变笁閮ㄥ垎鏋勬垚锛
+\begin{itemize}
+ \item \textbf{pkuthss 鏂囨。绫粆锛
+ 鍏朵腑鏍规嵁瀛︽牎鐨勬牸寮忚鑼僜mbox{\supercite{pku-thesisstyle}}%
+ 瀹炵幇浜嗗浣嶈鏂囨墍闇鐨勫熀鏈牸寮忚姹傦紝
+ 涓昏鍖呮嫭瀵规帓鐗堟牸寮忕殑璁惧畾鍜屾彁渚涜缃鏂囦俊鎭殑鍛戒护锛
+ 姝ゅ涔熷疄鐜颁簡瀛︿綅璁烘枃涓敤鎴峰彲鑳借緝澶氱敤鍒扮殑涓浜涢澶栧姛鑳斤紝
+ 渚嬪鑷姩鍦ㄧ洰褰曚腑鍔犲叆鍙傝冩枃鐚拰绱㈠紩鐨勬潯鐩拰
+ 鑷姩鏍规嵁鐢ㄦ埛璁惧畾鐨勬枃妗d俊鎭鎵鐢熸垚 pdf 鐨勪綔鑰呫佹爣棰樼瓑灞炴ц繘琛岃缃瓑銆
+ \item \textbf{璇存槑鏂囨。}锛
+ 璇存槑鏂囨。鍗虫湰鏂囨。锛
+ 鍦ㄥ畨瑁咃紙瑙佺 \ref{sec:req} 鑺傦級涔嬪悗搴旇鍙互鐢 \hologo{TeX} 绯荤粺鎻愪緵鐨
+ \verb|texdoc| 鍛戒护璋冨嚭锛
+\begin{Verbatim}[frame = single]
+texdoc pkuthss
+\end{Verbatim}
+ \item \textbf{璁烘枃妯$増}锛
+ 妯$増鐨勬簮浠g爜锛堝強鐢辨鐢熸垚鐨 pdf 鏂囨。锛
+ 鍜屾湰鏂囨。鐨 pdf 鏂囦欢澶勪簬鍚屼竴鐩綍涓嬨
+ 鐢ㄦ埛鍙』鎸夌収妯$増涓殑妗嗘灦淇敼浠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 鏂囨。妯$増鐩墠鎵樼鍦 GitLab 涓婏紝
+鍏堕」鐩富椤垫槸锛歕\
+\hspace*{\parindent}\url{https://gitlab.com/CasperVector/pkuthss}
+
+% vim:ts=4:sw=4
diff --git a/macros/latex/contrib/pkuthss/doc/readme/pkuthss-english.patch b/macros/latex/contrib/pkuthss/doc/readme/pkuthss-english.patch
new file mode 100644
index 0000000000..a4c13c0357
--- /dev/null
+++ b/macros/latex/contrib/pkuthss/doc/readme/pkuthss-english.patch
@@ -0,0 +1,275 @@
+diff --git a/doc/example/chap/abs.tex b/doc/example/chap/abs.tex
+index b930654..cfa6cd3 100644
+--- a/doc/example/chap/abs.tex
++++ b/doc/example/chap/abs.tex
+@@ -2,7 +2,7 @@
+ % Public domain.
+
+ \begin{cabstract}
+- \pkuthssffaq % 涓枃娴嬭瘯鏂囧瓧
++ 涓枃鎽樿銆
+ \end{cabstract}
+
+ \begin{eabstract}
+diff --git a/doc/example/chap/ack.tex b/doc/example/chap/ack.tex
+index 4af4d39..09de33d 100644
+--- a/doc/example/chap/ack.tex
++++ b/doc/example/chap/ack.tex
+@@ -1,7 +1,7 @@
+ % Copyright (c) 2014,2016 Casper Ti. Vector
+ % Public domain.
+
+-\chapter{鑷磋阿}
+-\pkuthssffaq % 涓枃娴嬭瘯鏂囧瓧銆
++\chapter{Acknowledgements}
++Test text.
+
+ % vim:ts=4:sw=4
+diff --git a/doc/example/chap/chap1.tex b/doc/example/chap/chap1.tex
+index 3d631f3..6e46b13 100644
+--- a/doc/example/chap/chap1.tex
++++ b/doc/example/chap/chap1.tex
+@@ -1,7 +1,7 @@
+ % Copyright (c) 2014,2016,2018 Casper Ti. Vector
+ % Public domain.
+
+-\chapter{寮曡█}
+-\pkuthssffaq % 涓枃娴嬭瘯鏂囧瓧銆
++\chapter{Introduction}
++Test text.
+
+ % vim:ts=4:sw=4
+diff --git a/doc/example/chap/chap2.tex b/doc/example/chap/chap2.tex
+index 85f7008..da8c177 100644
+--- a/doc/example/chap/chap2.tex
++++ b/doc/example/chap/chap2.tex
+@@ -1,7 +1,7 @@
+ % Copyright (c) 2014,2016 Casper Ti. Vector
+ % Public domain.
+
+-\chapter{绔犺妭}
+-\pkuthssffaq % 涓枃娴嬭瘯鏂囧瓧銆
++\chapter{Some chapter}
++Test text.
+
+ % vim:ts=4:sw=4
+diff --git a/doc/example/chap/chap3.tex b/doc/example/chap/chap3.tex
+index ed66f12..ae221d6 100644
+--- a/doc/example/chap/chap3.tex
++++ b/doc/example/chap/chap3.tex
+@@ -1,7 +1,7 @@
+ % Copyright (c) 2014,2016,2018 Casper Ti. Vector
+ % Public domain.
+
+-\chapter{缁撹鍜屽睍鏈泒
+-\pkuthssffaq % 涓枃娴嬭瘯鏂囧瓧銆
++\chapter{Conclusion}
++Test text.
+
+ % vim:ts=4:sw=4
+diff --git a/doc/example/chap/encl1.tex b/doc/example/chap/encl1.tex
+index 9834829..4296e9a 100644
+--- a/doc/example/chap/encl1.tex
++++ b/doc/example/chap/encl1.tex
+@@ -1,7 +1,7 @@
+ % Copyright (c) 2014,2016 Casper Ti. Vector
+ % Public domain.
+
+-\chapter{闄勪欢}
+-\pkuthssffaq % 涓枃娴嬭瘯鏂囧瓧銆
++\chapter{Some appendix}
++Test text.
+
+ % vim:ts=4:sw=4
+diff --git a/doc/example/thesis.bib b/doc/example/thesis.bib
+index ac5b0c9..9d2ad60 100644
+--- a/doc/example/thesis.bib
++++ b/doc/example/thesis.bib
+@@ -7,13 +7,4 @@
+ language = {english},
+ }
+
+-@article{test-zh,
+- author = {浣滆厎,
+- title = {鏍囬},
+- type = {J},
+- journal = {鏈熷垔},
+- date = {2014-04-01},
+- language = {chinese},
+-}
+-
+ % vim:ts=4:sw=4
+diff --git a/doc/example/thesis.tex b/doc/example/thesis.tex
+index d7a575f..baed091 100644
+--- a/doc/example/thesis.tex
++++ b/doc/example/thesis.tex
+@@ -14,53 +14,44 @@
+ % 鍏跺畠鐢ㄦ埛涓嶇敤鍔犲叆 nofonts 閫夐」锛屽姞鍏ヤ箣鍚庡弽鑰屼細浜х敓閿欒銆
+ \documentclass[UTF8]{pkuthss}
+
+-% 浣跨敤 biblatex 鎺掔増鍙傝冩枃鐚紝骞惰瀹氬叾鏍煎紡锛堣瑙 biblatex-caspervector 鐨勬枃妗o級銆
+-% 杩欓噷鎸夌収瑗挎枃鏂囩尞鍦ㄥ墠锛屼腑鏂囨枃鐚湪鍚庢帓搴忥紙鈥渟orting = ecnyt鈥濓級锛
+-% 鑻ラ』鎸夌収涓枃鏂囩尞鍦ㄥ墠锛岃タ鏂囨枃鐚湪鍚庢帓搴忥紝璇疯缃渟orting = cenyt鈥濓紱
+-% 鑻ラ』鎸夌収寮曠敤椤哄簭鎺掑簭锛岃璁剧疆鈥渟orting = none鈥濄
+-% 鑻ラ』鍦ㄦ帓搴忎腑瀹炵幇鏇村鏉傜殑闇姹傦紝璇峰弬鑰 biblatex-caspervector 鐨勬枃妗c
+-\usepackage[backend = biber, style = caspervector, utf8, sorting = ecnyt]{biblatex}
++% 浣跨敤 biblatex 鎺掔増鍙傝冩枃鐚紝骞惰瀹氬叾鏍煎紡锛堣瑙 biblatex 鐨勬枃妗o級銆
++\usepackage[backend = biber]{biblatex}
+
+ % 鎸夊鏍¤姹傝瀹氬弬鑰冩枃鐚垪琛ㄤ腑鐨勬潯鐩箣鍐呭強涔嬮棿鐨勮窛绂汇
+ \setlength{\bibitemsep}{3bp}
+ % 瀵逛簬 linespread 鍊肩殑璁$畻杩囩▼鏈夊叴瓒g殑鍚屽鍙互鍙傝 pkuthss.cls銆
+ \renewcommand*{\bibfont}{\zihao{5}\linespread{1.27}\selectfont}
+
++\ctexset{
++ contentsname = {Contents},
++ listfigurename = {List of Figures},
++ listtablename = {List of Tables},
++ figurename = {Figure},
++ tablename = {Table},
++ indexname = {Index},
++ appendixname = {Appendix},
++ part/name = {\partname\space},
++ part/number = {\thepart},
++ chapter/name = {\chaptername\space},
++ chapter/number = {\thechapter},
++}
++
+ % 璁惧畾鏂囨。鐨勫熀鏈俊鎭
+ \pkuthssinfo{
+- cthesisname = {鍗氬+鐮旂┒鐢熷浣嶈鏂噠, ethesisname = {Doctor Thesis},
+- ctitle = {娴嬭瘯鏂囨。}, etitle = {Test Document},
+- cauthor = {鏌愭煇},
++ ethesisname = {Doctor Thesis},
++ etitle = {Test Document},
+ eauthor = {Test},
+ studentid = {0123456789},
+- date = {鏌愬勾鏌愭湀},
+- school = {鏌愭煇瀛﹂櫌},
+- cmajor = {鏌愭煇涓撲笟}, emajor = {Some Major},
+- direction = {鏌愭煇鏂瑰悜},
+- cmentor = {鏌愭煇鏁欐巿}, ementor = {Prof.\ Somebody},
++ date = {Some Date},
++ school = {Some School},
++ emajor = {Some Major},
++ direction = {Some Direction},
++ ementor = {Prof.\ Somebody},
+ ckeywords = {鍏朵竴锛屽叾浜寎, ekeywords = {First, Second}
+ }
+ % 杞藉叆鍙傝冩枃鐚暟鎹簱锛堟敞鎰忎笉瑕佺渷鐣モ.bib鈥濓級銆
+ \addbibresource{thesis.bib}
+
+-% 鏅氱敤鎴峰彲鍒犻櫎姝ゆ锛屽苟鐩稿簲鍦板垹闄 chap/*.tex 涓殑
+-% 鈥淺pkuthssffaq % 涓枃娴嬭瘯鏂囧瓧銆傗濅竴琛屻
+-\usepackage{color}
+-\def\pkuthssffaq{%
+- \emph{\textcolor{red}{pkuthss 鏂囨。妯$増鏈甯歌闂锛殅}
+-
+- \texttt{\string\cite}銆乗texttt{\string\parencite} %
+- 鍜 \texttt{\string\supercite} 涓変釜鍛戒护鍒嗗埆浜х敓%
+- 鏈牸寮忓寲鐨勩佸甫鏂规嫭鍙风殑鍜屼笂鏍囦笖甯︽柟鎷彿鐨勫紩鐢ㄦ爣璁帮細%
+- \cite{test-en}锛孿parencite{test-zh}銆乗supercite{test-en, test-zh}銆
+-
+- 鑻ヨ閬垮厤绔犳湯绌虹櫧椤碉紝璇峰湪璋冪敤 pkuthss 鏂囨。绫绘椂鍔犲叆 \texttt{openany} 閫夐」銆
+-
+- 濡傛灉缂栬瘧鏃朵笉鍑哄弬鑰冩枃鐚紝
+- 璇峰弬鑰 \texttt{texdoc pkuthss}鈥滈棶棰樺強鍏惰В鍐斥濅竴绔
+- 鈥滀笂娓稿畯鍖呭彲鑳藉紩璧风殑闂鈥濅竴鑺備腑鍏充簬 biber 鐨勮鏄庛%
+-}
+-
+ \begin{document}
+ % 浠ヤ笅涓烘鏂囦箣鍓嶇殑閮ㄥ垎锛岄粯璁や笉杩涜绔犺妭缂栧彿銆
+ \frontmatter
+@@ -94,7 +85,7 @@
+ \appendix
+ % 鎺掔増鍙傝冩枃鐚垪琛ㄣ俠ibintoc 閫夐」浣库滃弬鑰冩枃鐚濆嚭鐜板湪鐩綍涓紱
+ % 濡傛灉鍚屾椂瑕佷娇鍙傝冩枃鐚垪琛ㄥ弬涓庣珷鑺傜紪鍙凤紝鍙皢鈥渂ibintoc鈥濇敼涓衡渂ibnumbered鈥濄
+- \printbibliography[heading = bibintoc]
++ \printbibliography[heading = bibintoc, title = Reference]
+ % 鍚勯檮褰曘
+ \include{chap/encl1}
+
+diff --git a/tex/pkuthss-utf8.def b/tex/pkuthss-utf8.def
+index c2c951b..d453918 100644
+--- a/tex/pkuthss-utf8.def
++++ b/tex/pkuthss-utf8.def
+@@ -25,13 +25,13 @@
+ [2017/03/01 v1.7.4 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@cmentor{瀵糪hphantom{姹夊瓧}甯堬細}
++\def\label@ctitle{Title: }
++\def\label@cauthor{Name}
++\def\label@studentid{Student ID}
++\def\label@school{Affiliation}
++\def\label@cmajor{Major}
++\def\label@direction{Research Division}
++\def\label@cmentor{Supervisor}
+ \def\label@ementor{Directed by\ }
+ \def\label@ckeywords{鍏抽敭璇嶏細}
+ \def\label@ekeywords{KEYWORDS:\ }
+diff --git a/tex/pkuthss.cls b/tex/pkuthss.cls
+index 6208799..a785d69 100644
+--- a/tex/pkuthss.cls
++++ b/tex/pkuthss.cls
+@@ -300,7 +300,7 @@
+ \fancyhf{}\renewcommand*{\headrulewidth}{0.75bp}
+ \fancyfoot[C]{\zihao{5}\normalfont{\thepage}}
+ \if@twoside
+- \fancyhead[CE]{\zihao{5}\normalfont{\cuniversity\cthesisname}}
++ \fancyhead[CE]{\zihao{5}\normalfont{{\euniversity} {\ethesisname}}}
+ \fancyhead[CO]{\zihao{5}\normalfont\thss@int@setcase{\leftmark}}
+ \else
+ \fancyhead[C]{\zihao{5}\normalfont\thss@int@setcase{\leftmark}}
+@@ -349,13 +349,13 @@
+ \zihao{1}%
+ \includegraphics[height = 2.4em]{pkulogo}\hspace{0.4em}%
+ \raisebox{0.4em}{\includegraphics[height = 1.6em]{pkuword}}\\[0.8em]
+- {\bfseries{\cthesisname}}%
++ {\bfseries{\ethesisname}}%
+ }
+ \vfill
+ % Title of the thesis.
+ {%
+ \zihao{2}{\label@ctitle}%
+- \thss@int@fillinblank{2}{0.64\textwidth}{\textbf{\@ctitle}}%
++ \thss@int@fillinblank{2}{0.64\textwidth}{\textbf{\@etitle}}%
+ }
+ \vfill
+ % Information about the author.
+@@ -363,19 +363,19 @@
+ % Slightly adjust the line skip when using new font size.
+ \zihao{3}\linespread{1.75}\selectfont
+ \def\thss@tmp@len{0.56\textwidth}
+- \begin{tabular}{l@{\extracolsep{0.2em}}c}
+- {\bfseries\label@cauthor} &
+- \thss@int@fillinblank{1}{\thss@tmp@len}{\fangsong\@cauthor} \\
+- {\bfseries\label@studentid} &
++ \begin{tabular}{c@{\extracolsep{0.2em}}c@{\extracolsep{0.2em}}c}
++ {\bfseries\label@cauthor} & : &
++ \thss@int@fillinblank{1}{\thss@tmp@len}{\fangsong\@eauthor} \\
++ {\bfseries\label@studentid} & : &
+ \thss@int@fillinblank{1}{\thss@tmp@len}{\fangsong\@studentid} \\
+- {\bfseries\label@school} &
++ {\bfseries\label@school} & : &
+ \thss@int@fillinblank{1}{\thss@tmp@len}{\fangsong\@school} \\
+- {\bfseries\label@cmajor} &
+- \thss@int@fillinblank{1}{\thss@tmp@len}{\fangsong\@cmajor} \\
+- {\bfseries\label@direction} &
++ {\bfseries\label@cmajor} & : &
++ \thss@int@fillinblank{1}{\thss@tmp@len}{\fangsong\@emajor} \\
++ {\bfseries\label@direction} & : &
+ \thss@int@fillinblank{1}{\thss@tmp@len}{\fangsong\@direction} \\
+- {\bfseries\label@cmentor} &
+- \thss@int@fillinblank{1}{\thss@tmp@len}{\fangsong\@cmentor} \\
++ {\bfseries\label@cmentor} & : &
++ \thss@int@fillinblank{1}{\thss@tmp@len}{\fangsong\@ementor} \\
+ \end{tabular}%
+ }
+ \vfill
diff --git a/macros/latex/contrib/pkuthss/doc/readme/pkuthss.bib b/macros/latex/contrib/pkuthss/doc/readme/pkuthss.bib
new file mode 100644
index 0000000000..ea9e83124a
--- /dev/null
+++ b/macros/latex/contrib/pkuthss/doc/readme/pkuthss.bib
@@ -0,0 +1,252 @@
+@online{biber,
+ author = {Kime, Philip and Charette, Fran\c{c}ois},
+ title = {Biber: A backend bibliography processor for biblatex},
+ edition = {Ver.\ 2.7},
+ type = {M/OL},
+ date = {2016-12-05},
+ url = {https://ctan.org/pkg/biber},
+ urldate = {2017-03-01},
+ language = {english},
+}
+
+@online{biblatex,
+ author = {Lehman, Philipp},
+ title = {The biblatex Package: Programmable Bibliographies and Citations},
+ edition = {Ver.\ 3.7},
+ type = {M/OL},
+ date = {2016-11-16},
+ url = {https://ctan.org/pkg/biblatex},
+ urldate = {2017-03-01},
+ language = {english},
+}
+
+@online{biblatex-caspervector,
+ author = {Vector, Casper Ti.},
+ title = {biblatex 鍙傝冩枃鐚拰寮曠敤鏍峰紡锛歝aspervector},
+ edition = {Ver.\ 0.3.3},
+ type = {M/OL},
+ date = {2018-06-29},
+ url = {https://ctan.org/pkg/biblatex-caspervector},
+ urldate = {2018-07-02},
+ language = {chinese},
+}
+
+@online{caption,
+ author = {Sommerfeldt, Alex},
+ title = {Customizing captions of floating environments},
+ type = {M/OL},
+ date = {2011-11-02},
+ url = {https://ctan.org/pkg/caption},
+ urldate = {2017-03-01},
+ language = {english},
+}
+
+@online{ctex,
+ author = {{ctex.org}},
+ title = {\CTeX 瀹忛泦鎵嬪唽},
+ edition = {Ver.\ 2.4.8},
+ type = {M/OL},
+ date = {2017-02-23},
+ url = {https://ctan.org/pkg/ctex},
+ urldate = {2017-03-01},
+ language = {chinese},
+}
+
+@online{enumitem,
+ author = {Bezos, Javier},
+ title = {Customizing lists with the enumitem package (Version 3.5.2)},
+ type = {M/OL},
+ date = {2011-09-28},
+ url = {https://ctan.org/pkg/enumitem},
+ urldate = {2017-03-01},
+ language = {english},
+}
+
+@online{fancyhdr,
+ author = {van Oostrum, Piet},
+ title = {Page layout in \hologo{LaTeX}},
+ edition = {Ver.\ 3.8},
+ type = {M/OL},
+ date = {2016-09-06},
+ url = {https://ctan.org/pkg/fancyhdr},
+ urldate = {2017-03-01},
+ language = {english},
+}
+
+@online{geometry,
+ author = {Umeki, Hideo},
+ title = {The geometry package},
+ edition = {Ver.\ 5.6},
+ type = {M/OL},
+ date = {2010-09-12},
+ url = {https://ctan.org/pkg/geometry},
+ urldate = {2017-03-01},
+ language = {english},
+}
+
+@online{graphicx,
+ author = {Carlisle, D. P.},
+ title = {Packages in the `graphics' bundle},
+ type = {M/OL},
+ date = {2016-12-23},
+ url = {https://ctan.org/pkg/graphicx},
+ urldate = {2017-03-01},
+ language = {english},
+}
+
+@online{hyperref,
+ author = {Rahtz, Sebastian and Oberdiek, Heiko},
+ title = {Hypertext marks in \hologo{LaTeX}: a manual for hyperref},
+ edition = {Ver.\ 6.82q},
+ type = {M/OL},
+ date = {2012-11},
+ url = {https://ctan.org/pkg/hyperref},
+ urldate = {2017-03-01},
+ language = {english},
+}
+
+@online{latexsym,
+ author = {Mittelbach, Frank},
+ title = {The \hologo{LaTeX} symbol fonts for use with \hologo{LaTeX2e}},
+ edition = {Ver.\ 2.2e},
+ type = {M/OL},
+ date = {1998-08-17},
+ url = {https://ctan.org/tex-archive/macros/latex/base},
+ urldate = {2017-03-01},
+ language = {english},
+}
+
+@online{newtx,
+ author = {Sharpe, Michael},
+ title = {New TX font package},
+ type = {M/OL},
+ date = {2017-01-30},
+ url = {https://ctan.org/pkg/newtx},
+ urldate = {2017-03-01},
+ language = {english},
+}
+
+@online{scrextend,
+ author = {Kohm, Markus},
+ title = {KOMA-Script: a versatile \hologo{LaTeX2e} bundle},
+ type = {M/OL},
+ date = {2017-01-02},
+ url = {https://ctan.org/pkg/koma-script},
+ urldate = {2017-03-01},
+ language = {english},
+}
+
+@online{subcaption,
+ author = {Sommerfeldt, Alex},
+ title = {The subcaption package},
+ edition = {Ver.\ 1.1-75},
+ type = {M/OL},
+ date = {2013-04-16},
+ url = {https://ctan.org/pkg/subcaption},
+ urldate = {2017-03-01},
+ language = {english},
+}
+
+@online{tikz,
+ author = {Till Tantau},
+ title = {The TikZ and PGF Packages: Manual for version 3.0.1a},
+ type = {M/OL},
+ date = {2015-08-29},
+ url = {https://ctan.org/pkg/pgf},
+ urldate = {2017-03-01},
+ language = {english},
+}
+
+@online{tocloft,
+ author = {Robertson, Will},
+ title = {The tocloft package},
+ edition = {Ver.\ 2.3f},
+ type = {M/OL},
+ date = {2013-05-02},
+ url = {https://ctan.org/pkg/tocloft},
+ urldate = {2017-03-01},
+ language = {english},
+}
+
+@online{ulem,
+ author = {Arseneau, Donald},
+ title = {The ulem package: underlining for emphasis},
+ type = {M/OL},
+ date = {2011-03-18},
+ url = {https://ctan.org/pkg/ulem},
+ urldate = {2017-03-01},
+ language = {english},
+}
+
+@online{dypang,
+ author = {dypang},
+ title = {鍖椾含澶у纭曞崥璁烘枃妯$増锛堟祴璇曠増锛墋,
+ type = {EB/OL},
+ date = {2005-04-05},
+ url = {https://bdwm.net/a.php?b/Thesis/M.1112645491.A/D10F612.rar},
+ urldate = {2017-03-01},
+ language = {chinese},
+}
+
+@online{FerretL,
+ author = {FerretL},
+ title = {鏂扮殑 pku 鍗氬+璁烘枃妯℃澘},
+ type = {EB/OL},
+ date = {2007-03-27},
+ url = {https://bdwm.net/a.php?b/Thesis/M.1174982168.A/4270722.rar},
+ urldate = {2017-03-01},
+ language = {chinese},
+}
+
+@online{lwolf,
+ author = {lwolf},
+ title = {瀛﹀+锛堢/鍗氾級姣曚笟璁烘枃妯℃澘 [鍩轰簬 dypang 鐨勬ā鏉縘},
+ type = {EB/OL},
+ date = {2007-05-15},
+ url = {https://bdwm.net/a.php?b/MathTools/M.1179239165.A/5A2D5A2.rar},
+ urldate = {2017-03-01},
+ language = {chinese},
+}
+
+@online{Langpku,
+ author = {Langpku},
+ title = {Re: 鍏充簬缃簳妯$増鐨勯棶棰樺拰涓浜涗慨鏀箎,
+ type = {EB/OL},
+ date = {2007-06-01},
+ url = {https://bdwm.net/a.php?b/MathTools/M.1180676700.A/DBB7810.zip},
+ urldate = {2017-03-01},
+ language = {chinese},
+}
+
+@online{solvethis,
+ author = {solvethis},
+ title = {Re: 瀛︿綅璁烘枃妯℃澘鏇存柊},
+ type = {EB/OL},
+ date = {2008-03-13},
+ url = {https://bdwm.net/a.php?b/Thesis/M.1205377509.A/9413ED2.rar},
+ urldate = {2017-03-01},
+ language = {chinese},
+}
+
+@online{pku-originauth,
+ author = {鍖椾含澶у鐮旂┒鐢熼櫌},
+ title = {鍖椾含澶у瀛︿綅璁烘枃鍘熷垱鎬у0鏄庡拰浣跨敤鎺堟潈璇存槑锛堟湯椤甸檺閲嶆柊鐢宠瀛︿綅浣跨敤锛墋,
+ type = {M/OL},
+ date = {2014-04-16},
+ url = {http://grs.pku.edu.cn/document/20140416144734027222.doc},
+ urldate = {2015-04-26},
+ language = {chinese},
+}
+
+@online{pku-thesisstyle,
+ author = {鍖椾含澶у瀛︿綅鍔炲叕瀹,
+ title = {鍖椾含澶у鐮旂┒鐢熷浣嶈鏂囧啓浣滄寚鍗梷,
+ edition = {Ver.\ 2.0},
+ type = {M/OL},
+ date = {2015-06-11},
+ url = {http://grs.pku.edu.cn/document/20150611115317661150.pdf},
+ urldate = {2015-12-14},
+ language = {chinese},
+}
+
+% vim:ts=4:sw=4
diff --git a/macros/latex/contrib/pkuthss/doc/readme/pkuthss.tex b/macros/latex/contrib/pkuthss/doc/readme/pkuthss.tex
new file mode 100644
index 0000000000..bf0cd252a0
--- /dev/null
+++ b/macros/latex/contrib/pkuthss/doc/readme/pkuthss.tex
@@ -0,0 +1,96 @@
+% Documentation for pkuthss.
+%
+% Copyright (c) 2008-2009 solvethis
+% Copyright (c) 2010-2016,2018 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
+% https://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.tex
+% chap/pkuthss-copy.tex
+% chap/pkuthss-abs.tex
+% chap/pkuthss-intro.tex
+% chap/pkuthss-chap1.tex
+% chap/pkuthss-chap2.tex
+% chap/pkuthss-chap3.tex
+% chap/pkuthss-concl.tex
+% chap/pkuthss-encl1.tex
+% chap/pkuthss-ack.tex
+
+\documentclass[UTF8]{pkuthss}
+\usepackage[
+ backend = biber, style = caspervector, utf8,
+ sorting = ecnyt, giveninits = true, sortgiveninits = true
+]{biblatex}
+\usepackage{fancyvrb, hologo}
+
+\setlength{\hfuzz}{3pt}
+\ctexset{linestretch = 2\ccwd}
+\renewcommand*{\bibfont}{\zihao{5}\linespread{1.27}\selectfont}
+\setlength{\bibitemsep}{3bp}
+
+\hypersetup{colorlinks = true, allcolors = blue}
+\newcommand{\myemph}[1]{\emph{\textcolor{red}{#1}}}
+\newcommand{\unemph}[1]{\textup{\textcolor{black}{#1}}}
+\newcommand{\docversion}{v1.8.0}
+
+\pkuthssinfo{
+ cthesisname = {鏈鐢熸瘯涓氳鏂噠, ethesisname = {Undergraduate Thesis},
+ ctitle = {鍖椾含澶у瀛︿綅璁烘枃妯$増\\pkuthss \docversion},
+ etitle = {%
+ PKU dissertation document class\texorpdfstring{\\}{: }%
+ pkuthss \docversion%
+ },
+ cauthor = {鐩栬尐娉⒙烽挍路缁村厠鎵榼,
+ eauthor = {Casper Ti.\ Vector},
+ studentid = {00910???},
+ date = {\zhdigits{2018}骞碶zhnumber{7}鏈坿,
+ school = {鍖栧涓庡垎瀛愬伐绋嬪闄,
+ cmajor = {鍖栧锛堬紵锛墋, emajor = {Chemistry ... ?},
+ direction = {鎹 Casper 鑷繁涔熶笉鐭ラ亾},
+ cmentor = {XX 鏁欐巿}, ementor = {Prof.\ XX},
+ ckeywords = {\hologo{LaTeX2e}锛屾帓鐗堬紝鏂囨。绫伙紝\CTeX{}},
+ ekeywords = {\hologo{LaTeX2e}, Typesetting, Document class, \CTeX{}}
+}
+\addbibresource{pkuthss.bib}
+
+\begin{document}
+ \frontmatter
+ \pagestyle{empty}
+ \maketitle
+ \cleardoublepage
+ \include{chap/pkuthss-copy}
+
+ \cleardoublepage
+ \pagestyle{plain}
+ \setcounter{page}{0}
+ \pagenumbering{Roman}
+ \include{chap/pkuthss-abs}
+ \tableofcontents
+
+ \mainmatter
+ \include{chap/pkuthss-intro}
+ \include{chap/pkuthss-chap1}
+ \include{chap/pkuthss-chap2}
+ \include{chap/pkuthss-chap3}
+ \include{chap/pkuthss-concl}
+
+ \appendix
+ \printbibliography[heading = bibintoc]
+ \include{chap/pkuthss-encl1}
+
+ \backmatter
+ \include{chap/pkuthss-ack}
+ \include{chap/origin}
+\end{document}
+
+% vim:ts=4:sw=4