summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/pkuthss/doc
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/pkuthss/doc')
-rw-r--r--macros/latex/contrib/pkuthss/doc/example.pdfbin95861 -> 102629 bytes
-rw-r--r--macros/latex/contrib/pkuthss/doc/example/chap/copy.tex4
-rw-r--r--macros/latex/contrib/pkuthss/doc/example/chap/origin.tex4
-rw-r--r--macros/latex/contrib/pkuthss/doc/example/thesis.tex13
-rw-r--r--macros/latex/contrib/pkuthss/doc/pkuthss.pdfbin325590 -> 326524 bytes
-rw-r--r--macros/latex/contrib/pkuthss/doc/readme/ChangeLog.txt19
-rw-r--r--macros/latex/contrib/pkuthss/doc/readme/chap/pkuthss-chap1.tex2
-rw-r--r--macros/latex/contrib/pkuthss/doc/readme/chap/pkuthss-chap2.tex18
-rw-r--r--macros/latex/contrib/pkuthss/doc/readme/chap/pkuthss-chap3.tex6
-rw-r--r--macros/latex/contrib/pkuthss/doc/readme/pkuthss-english.patch51
-rw-r--r--macros/latex/contrib/pkuthss/doc/readme/pkuthss.tex9
11 files changed, 77 insertions, 49 deletions
diff --git a/macros/latex/contrib/pkuthss/doc/example.pdf b/macros/latex/contrib/pkuthss/doc/example.pdf
index a548fbcc13..2c5c82ee3a 100644
--- a/macros/latex/contrib/pkuthss/doc/example.pdf
+++ b/macros/latex/contrib/pkuthss/doc/example.pdf
Binary files differ
diff --git a/macros/latex/contrib/pkuthss/doc/example/chap/copy.tex b/macros/latex/contrib/pkuthss/doc/example/chap/copy.tex
index 8204715289..4dd05b3b07 100644
--- a/macros/latex/contrib/pkuthss/doc/example/chap/copy.tex
+++ b/macros/latex/contrib/pkuthss/doc/example/chap/copy.tex
@@ -1,5 +1,5 @@
% Copyright (c) 2008-2009 solvethis
-% Copyright (c) 2010-2017 Casper Ti. Vector
+% Copyright (c) 2010-2017,2021 Casper Ti. Vector
% All rights reserved.
%
% Redistribution and use in source and binary forms, with or without
@@ -35,7 +35,7 @@
任何收存和保管本论文各种版本的单位和个人,
未经本论文作者同意,不得将本论文转借他人,
亦不得随意复制、抄录、拍照或以任何方式传播。
-否则一旦引起有碍作者著作权之问题,将可能承担法律责任。
+否则,引起有碍作者著作权之问题,将可能承担法律责任。
% 若须排版二维码,请将二维码图片重命名为“barcode”,
% 转为合适的图片格式,并放在当前目录下,然后去掉下面 2 行的注释。
diff --git a/macros/latex/contrib/pkuthss/doc/example/chap/origin.tex b/macros/latex/contrib/pkuthss/doc/example/chap/origin.tex
index b4103f1bf4..bf0cc33ef3 100644
--- a/macros/latex/contrib/pkuthss/doc/example/chap/origin.tex
+++ b/macros/latex/contrib/pkuthss/doc/example/chap/origin.tex
@@ -64,9 +64,9 @@
并提供目录检索与阅览服务,在校园网上提供服务;
\item 学校可以采用影印、缩印、数字化或其它复制手段保存论文;
\item 因某种特殊原因须要延迟发布学位论文电子版,
- 授权学校在 $\Box$\nobreakspace{}一年 /
+ 授权学校 $\Box$\nobreakspace{}一年 /
$\Box$\nobreakspace{}两年 /
- $\Box$\nobreakspace{}三年以后在校园网上全文发布。
+ $\Box$\nobreakspace{}三年以后,在校园网上全文发布。
\end{itemize}
\centerline{(保密论文在解密后遵守此规定)}
\vskip 1em
diff --git a/macros/latex/contrib/pkuthss/doc/example/thesis.tex b/macros/latex/contrib/pkuthss/doc/example/thesis.tex
index 30bc89d1aa..dbfd37994d 100644
--- a/macros/latex/contrib/pkuthss/doc/example/thesis.tex
+++ b/macros/latex/contrib/pkuthss/doc/example/thesis.tex
@@ -42,8 +42,9 @@
cauthor = {某某}, eauthor = {Test}, date = {某年某月},
studentid = {0123456789}, school = {某某学院},
cmajor = {某某专业}, emajor = {Some Major},
- direction = {某某方向},
- cmentor = {某某教授}, ementor = {Prof.\ Somebody},
+ direction = {某某方向}, mentorlines = {2},
+ cmentor = {某甲教授\\某乙教授},
+ ementor = {Prof.\ Somebody and Prof.\ Someone},
ckeywords = {其一,其二},
ekeywords = {First, Second},
% 以下两项无双盲评审需求的用户可保持原状。
@@ -64,6 +65,14 @@
未格式化的、带方括号的和上标且带方括号的引用标记:%
\cite{test-en},\parencite{test-zh}、\supercite{test-en, test-zh}。
+ 若格式审查时提示字号或其它格式细节问题,请启用 pkuthss 的 \texttt{ugly}
+ 选项,同时可以考虑启用 biblatex-caspervector 的 \texttt{ugly} 选项
+ 或者换用 biblatex-gb7714-2015,详见 \texttt{thesis.tex} 中相关注释。
+
+ 生成的 PDF 文件中标记链接的彩色框不会出现在打印版论文中。
+ 如仍须去掉,可在 \texttt{thesis.tex} 导言区加入
+ \texttt{\string\hypersetup\{hidelinks\}}。
+
若要避免章末空白页,请在调用 pkuthss 文档类时加入 \texttt{openany} 选项。
如果编译时不出参考文献,
diff --git a/macros/latex/contrib/pkuthss/doc/pkuthss.pdf b/macros/latex/contrib/pkuthss/doc/pkuthss.pdf
index 9d172c6554..63264f30d1 100644
--- a/macros/latex/contrib/pkuthss/doc/pkuthss.pdf
+++ b/macros/latex/contrib/pkuthss/doc/pkuthss.pdf
Binary files differ
diff --git a/macros/latex/contrib/pkuthss/doc/readme/ChangeLog.txt b/macros/latex/contrib/pkuthss/doc/readme/ChangeLog.txt
index 1d7835cf92..20a12257a5 100644
--- a/macros/latex/contrib/pkuthss/doc/readme/ChangeLog.txt
+++ b/macros/latex/contrib/pkuthss/doc/readme/ChangeLog.txt
@@ -1,4 +1,21 @@
-2010-03-29, v1.9.0
+2021-10-16, v1.9.1
+
+ * API changes:
+ - Support `mentorlines' like casthss.
+
+ * Changes to example template:
+ - thesis.tex: more obvious hints on `ugly', new note on `hidelinks'.
+ - copy.tex, origin.tex: minor update according to school requirements.
+
+ * Changes to package code:
+ - Merge common parts from pkuthss-*.def into pkuthss.def.
+ - Also "uglify" the keywords label.
+
+ * Misc:
+ - ChangeLog.txt: typo (thank @fjn308).
+ - Minor fixes and cosmetics.
+
+2021-03-29, v1.9.0
* API changes:
- Add support for double-blind review (thank @Kurapikov).
diff --git a/macros/latex/contrib/pkuthss/doc/readme/chap/pkuthss-chap1.tex b/macros/latex/contrib/pkuthss/doc/readme/chap/pkuthss-chap1.tex
index 232f427558..9d8e56ec33 100644
--- a/macros/latex/contrib/pkuthss/doc/readme/chap/pkuthss-chap1.tex
+++ b/macros/latex/contrib/pkuthss/doc/readme/chap/pkuthss-chap1.tex
@@ -72,7 +72,7 @@
\begin{Verbatim}
texdoc pkuthss
\end{Verbatim}
-所打开的 pdf 文件所在的同一目录中包含两个子目录和相应的两个 pdf 文件,
+打开的 pdf 文件所在目录中包含两个子目录和相应的两个 pdf 文件,
其中 \verb|readme/| 为说明文档(即本文档)的源代码,%
\verb|example/| 为文档模版的源代码,%
\verb|pkuthss.pdf| 和 \verb|example.pdf|
diff --git a/macros/latex/contrib/pkuthss/doc/readme/chap/pkuthss-chap2.tex b/macros/latex/contrib/pkuthss/doc/readme/chap/pkuthss-chap2.tex
index 5d2f91185b..bdc6af316f 100644
--- a/macros/latex/contrib/pkuthss/doc/readme/chap/pkuthss-chap2.tex
+++ b/macros/latex/contrib/pkuthss/doc/readme/chap/pkuthss-chap2.tex
@@ -207,6 +207,7 @@
出于兼容性的考虑,如果 \texttt{\string\thesiscover} 为空,
那么封面将显示 \texttt{\string\cthesisname}。%
}。
+ \item \texttt{\bfseries\string\mentorlines}:封面“导师”部分的行数。
\item \texttt{\bfseries\string\cabstractname}:摘要的中文标题。
\item \texttt{\bfseries\string\eabstractname}:摘要的西文标题。
\end{itemize}
@@ -353,20 +354,7 @@ $TEXMFDIST/tex/latex/pkuthss/
一个常见的需求是封面中部分内容(特别是论文的标题、专业和研究方向)太长,
超出了在预设的空间。
此时,用户可以修改 \verb|pkuthss.cls| 里 \verb|\maketitle| 定义中
-\verb|\thss@int@fillinblank| 宏的参数来改变
-带下划线的空白的行数和行宽,其语法为:
-\begin{Verbatim}
-\thss@int@fillinblank{行数}{行宽}{内容}
-\end{Verbatim}
-例如,如果“研究方向”一栏需要两行的空白,
-可以将 \verb|pkuthss.cls| 里的
-\begin{Verbatim}
-\thss@int@fillinblank{1}{\thss@tmp@len}{\kaishu\@direction}
-\end{Verbatim}
-改为
-\begin{Verbatim}
-\thss@int@fillinblank{2}{\thss@tmp@len}{\kaishu\@direction}
-\end{Verbatim}
-当然,为了美观,可以将多于一行的部分移到封面中作者信息部分的最下方。
+\verb|\thss@int@fillinblank| 宏的参数来改变带下划线的空白的行数和行宽,
+具体方法可以参考该文件中和 \verb|\mentorlines| 相关的代码。
% 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
index b5482a08eb..7dcf4ff855 100644
--- a/macros/latex/contrib/pkuthss/doc/readme/chap/pkuthss-chap3.tex
+++ b/macros/latex/contrib/pkuthss/doc/readme/chap/pkuthss-chap3.tex
@@ -71,6 +71,12 @@ hyperref\cupercite{hyperref} 宏包和一些宏包可能发生冲突。
可以参考 hyperref 宏包 README 文件中的“Package Compatibility”一节。
此文件通常和执行 \verb|texdoc hyperref|
时打开的 pdf 文件位于同一目录中。
+hyperref 默认会在输出的 pdf 文件中用彩色框来标记链接,
+这些彩色框只会显示在屏幕上,不会被打印出来;
+如有特殊需求,也可以在文章的导言区加入以下代码以完全去掉彩色框:
+\begin{Verbatim}
+\hypersetup{hidelinks}
+\end{Verbatim}
biber 运行时有一定概率出现形如(目录名可能稍有不同)
\begin{Verbatim}
diff --git a/macros/latex/contrib/pkuthss/doc/readme/pkuthss-english.patch b/macros/latex/contrib/pkuthss/doc/readme/pkuthss-english.patch
index 40b508c77c..c405437e53 100644
--- a/macros/latex/contrib/pkuthss/doc/readme/pkuthss-english.patch
+++ b/macros/latex/contrib/pkuthss/doc/readme/pkuthss-english.patch
@@ -1,5 +1,5 @@
diff --git a/doc/example/chap/abs.tex b/doc/example/chap/abs.tex
-index dcffe0e..8fd046f 100644
+index ea215a8..8ad4294 100644
--- a/doc/example/chap/abs.tex
+++ b/doc/example/chap/abs.tex
@@ -2,7 +2,7 @@
@@ -100,10 +100,10 @@ index ac5b0c9..9d2ad60 100644
-
% vim:ts=4:sw=4
diff --git a/doc/example/thesis.tex b/doc/example/thesis.tex
-index 0009fe6..3f2d945 100644
+index dbfd379..6a8767a 100644
--- a/doc/example/thesis.tex
+++ b/doc/example/thesis.tex
-@@ -14,36 +14,42 @@
+@@ -14,36 +14,43 @@
\documentclass[UTF8]{pkuthss}
% 如果的确须要使脚注按页编号的话,可以去掉后面 footmisc 包的注释。
%\usepackage[perpage]{footmisc}
@@ -152,18 +152,19 @@ index 0009fe6..3f2d945 100644
- cauthor = {某某}, eauthor = {Test}, date = {某年某月},
- studentid = {0123456789}, school = {某某学院},
- cmajor = {某某专业}, emajor = {Some Major},
-- direction = {某某方向},
-- cmentor = {某某教授}, ementor = {Prof.\ Somebody},
+- direction = {某某方向}, mentorlines = {2},
+- cmentor = {某甲教授\\某乙教授},
+ eauthor = {Test},
+ date = {Month Year}, studentid = {0123456789},
+ school = {Some School},
+ emajor = {Some Major},
-+ direction = {Some Direction},
-+ ementor = {Prof.\ Somebody},
++ direction = {Some Research Division},
++ mentorlines = {2},
++ cmentor = {Prof.\ Somebody\\Prof.\ Someone},
+ ementor = {Prof.\ Somebody and Prof.\ Someone},
ckeywords = {其一,其二},
ekeywords = {First, Second},
- % 以下两项无双盲评审需求的用户可保持原状。
-@@ -53,26 +59,6 @@
+@@ -54,34 +61,6 @@
% 载入参考文献数据库(注意不要省略“.bib”)。
\addbibresource{thesis.bib}
@@ -178,6 +179,14 @@ index 0009fe6..3f2d945 100644
- 未格式化的、带方括号的和上标且带方括号的引用标记:%
- \cite{test-en},\parencite{test-zh}、\supercite{test-en, test-zh}。
-
+- 若格式审查时提示字号或其它格式细节问题,请启用 pkuthss 的 \texttt{ugly}
+- 选项,同时可以考虑启用 biblatex-caspervector 的 \texttt{ugly} 选项
+- 或者换用 biblatex-gb7714-2015,详见 \texttt{thesis.tex} 中相关注释。
+-
+- 生成的 PDF 文件中标记链接的彩色框不会出现在打印版论文中。
+- 如仍须去掉,可在 \texttt{thesis.tex} 导言区加入
+- \texttt{\string\hypersetup\{hidelinks\}}。
+-
- 若要避免章末空白页,请在调用 pkuthss 文档类时加入 \texttt{openany} 选项。
-
- 如果编译时不出参考文献,
@@ -191,11 +200,11 @@ index 0009fe6..3f2d945 100644
% 以下为正文之前的部分,默认不进行章节编号。
\frontmatter
diff --git a/tex/pkuthss-utf8.def b/tex/pkuthss-utf8.def
-index d968f90..f99a891 100644
+index afed37b..e74e4bf 100644
--- a/tex/pkuthss-utf8.def
+++ b/tex/pkuthss-utf8.def
-@@ -26,13 +26,13 @@
- [2020/11/02 v1.8.3 Labels and captions in UTF-8 encoding
+@@ -27,13 +27,13 @@
+ [2021/03/29 v1.9.0 Labels and captions in UTF-8 encoding
for the pkuthss document class]
-\def\label@ctitle{题目:}
@@ -212,14 +221,14 @@ index d968f90..f99a891 100644
+\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:\ }
+ \def\label@blindcover{(匿名评阅论文封面)}
+ \def\label@blindctitle{中文题目:}
diff --git a/tex/pkuthss.cls b/tex/pkuthss.cls
-index 4499528..e6311cb 100644
+index 6ee4e69..5f782f6 100644
--- a/tex/pkuthss.cls
+++ b/tex/pkuthss.cls
-@@ -317,7 +317,7 @@
+@@ -305,7 +305,7 @@
\fancyhf{}\renewcommand*{\headrulewidth}{0.75bp}
\fancyfoot[C]{\zihao{5}\normalfont{\thepage}}
\if@twoside
@@ -228,7 +237,7 @@ index 4499528..e6311cb 100644
\fancyhead[CO]{\zihao{5}\normalfont\thss@int@setcase{\leftmark}}
\else
\fancyhead[C]{\zihao{5}\normalfont\thss@int@setcase{\leftmark}}
-@@ -367,14 +367,14 @@
+@@ -355,14 +355,14 @@
\zihao{1}\includegraphics[height = 2.4em]{pkulogo}\hspace{0.4em}%
\raisebox{0.4em}{\includegraphics[height = 1.6em]{pkuword}}\\[0.8em]
\fi%
@@ -245,7 +254,7 @@ index 4499528..e6311cb 100644
}
\vfill
% Information about the author.
-@@ -382,19 +382,19 @@
+@@ -370,18 +370,18 @@
% Slightly adjust the line skip when using new font size.
\zihao{3}\linespread{1.75}\selectfont
\def\thss@tmp@len{0.56\textwidth}
@@ -269,9 +278,7 @@ index 4499528..e6311cb 100644
+ {\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} \\
+ \thss@int@fillinblank{\mentorlines}%
+ {\thss@tmp@len}{\fangsong\@cmentor} \\
\end{tabular}%
- }
- \vfill
diff --git a/macros/latex/contrib/pkuthss/doc/readme/pkuthss.tex b/macros/latex/contrib/pkuthss/doc/readme/pkuthss.tex
index 8305720841..9a8e1de8c9 100644
--- a/macros/latex/contrib/pkuthss/doc/readme/pkuthss.tex
+++ b/macros/latex/contrib/pkuthss/doc/readme/pkuthss.tex
@@ -51,7 +51,7 @@
}
\newif\ifblind\blindfalse
-\newcommand*{\docversion}{v1.9.0}
+\newcommand*{\docversion}{v1.9.1}
\pkuthssinfo{
cthesisname = {本科生毕业论文}, ethesisname = {Undergraduate Thesis},
ctitle = {北京大学学位论文模版{\thssnl}pkuthss \docversion},
@@ -60,11 +60,12 @@
\texorpdfstring{\thssnl}{: }pkuthss \docversion%
},
cauthor = {盖茨波·钛·维克托}, eauthor = {Casper Ti.\ Vector},
- date = {\zhdigits{2021}年\zhnumber{3}月},
+ date = {\zhdigits{2021}年\zhnumber{10}月},
studentid = {00910???}, school = {化学与分子工程学院},
cmajor = {应用化学}, emajor = {Applied Chemistry},
- direction = {据说 Casper 自己也不知道},
- cmentor = {XX 教授}, ementor = {Prof.\ XX},
+ direction = {据说 Casper 自己也不知道}, mentorlines = {2},
+ cmentor = {XX 教授\\YY 教授},
+ ementor = {Prof.\ XX and Prof.\ YY},
ckeywords = {\hologo{LaTeX},排版,文档类,\CTeX{}},
ekeywords = {\hologo{LaTeX}, Typesetting, Document class, \CTeX{}},
blindid = {???01900}, discipline = {化学}