summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/pkuthss
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2024-03-08 03:01:54 +0000
committerNorbert Preining <norbert@preining.info>2024-03-08 03:01:54 +0000
commit0eba0875b1bcc4a022360ed72a29a81e041cd467 (patch)
treef13d24b9b87f5b08056e445eb7c206d9a3a902a8 /macros/latex/contrib/pkuthss
parentdc177b2cd4ed993d65860adc66d256969c1bb6ad (diff)
CTAN sync 202403080301
Diffstat (limited to 'macros/latex/contrib/pkuthss')
-rw-r--r--macros/latex/contrib/pkuthss/doc/example.pdfbin103719 -> 102756 bytes
-rw-r--r--macros/latex/contrib/pkuthss/doc/example/thesis.tex6
-rw-r--r--macros/latex/contrib/pkuthss/doc/pkuthss.pdfbin348380 -> 349080 bytes
-rw-r--r--macros/latex/contrib/pkuthss/doc/readme/ChangeLog.txt11
-rw-r--r--macros/latex/contrib/pkuthss/doc/readme/chap/pkuthss-ack.tex4
-rw-r--r--macros/latex/contrib/pkuthss/doc/readme/chap/pkuthss-chap2.tex6
-rw-r--r--macros/latex/contrib/pkuthss/doc/readme/chap/pkuthss-copy.tex2
-rw-r--r--macros/latex/contrib/pkuthss/doc/readme/chap/pkuthss-intro.tex4
-rw-r--r--macros/latex/contrib/pkuthss/doc/readme/pkuthss.bib39
-rw-r--r--macros/latex/contrib/pkuthss/doc/readme/pkuthss.tex8
-rw-r--r--macros/latex/contrib/pkuthss/tex/pkulogo.pdfbin3530 -> 3532 bytes
-rw-r--r--macros/latex/contrib/pkuthss/tex/pkuthss-gbk.def6
-rw-r--r--macros/latex/contrib/pkuthss/tex/pkuthss-utf8.def6
-rw-r--r--macros/latex/contrib/pkuthss/tex/pkuthss.cls23
-rw-r--r--macros/latex/contrib/pkuthss/tex/pkuthss.def4
-rw-r--r--macros/latex/contrib/pkuthss/tex/pkuword.pdfbin6280 -> 6282 bytes
16 files changed, 76 insertions, 43 deletions
diff --git a/macros/latex/contrib/pkuthss/doc/example.pdf b/macros/latex/contrib/pkuthss/doc/example.pdf
index 18b82d1f72..3d0b0d21df 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/thesis.tex b/macros/latex/contrib/pkuthss/doc/example/thesis.tex
index f12e379aff..8eb66bb097 100644
--- a/macros/latex/contrib/pkuthss/doc/example/thesis.tex
+++ b/macros/latex/contrib/pkuthss/doc/example/thesis.tex
@@ -1,5 +1,5 @@
% Copyright (c) 2008-2009 solvethis
-% Copyright (c) 2010-2016,2018-2019,2021-2022 Casper Ti. Vector
+% Copyright (c) 2010-2016,2018-2019,2021-2022,2024 Casper Ti. Vector
% Copyright (c) 2021 Kurapica
% Public domain.
%
@@ -47,6 +47,8 @@
ementor = {Prof.\ Somebody and Prof.\ Someone},
ckeywords = {其一,其二},
ekeywords = {First, Second},
+ % 1:学术学位,2:专业学位,0:不显示学位类型。
+ degreetype = {1},
% 以下两项无双盲评审需求的用户可保持原状。
% 注意 discipline/major 分别指一/二级学科。
blindid = {9876543210}, discipline = {某某学科}
@@ -115,7 +117,7 @@
\appendix
% 排版参考文献列表。bibintoc 选项使“参考文献”出现在目录中;
% 如果同时要使参考文献列表参与章节编号,可将“bibintoc”改为“bibnumbered”。
- \printbibliography[heading = bibintoc]
+ \printbibliography[heading = bibintoc, title = {参考文献}]
% 各附录。
\include{chap/encl1}
diff --git a/macros/latex/contrib/pkuthss/doc/pkuthss.pdf b/macros/latex/contrib/pkuthss/doc/pkuthss.pdf
index d81143c642..9d49e093e0 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 89e7fcb899..90ef30e8a3 100644
--- a/macros/latex/contrib/pkuthss/doc/readme/ChangeLog.txt
+++ b/macros/latex/contrib/pkuthss/doc/readme/ChangeLog.txt
@@ -1,3 +1,14 @@
+2024-03-07, v1.9.4
+
+ * API changes:
+ - Display the degree type on the cover page.
+
+ * Changes to example template:
+ - thesis.tex: also set bibliography title with eg. gb7714.
+
+ * Misc:
+ - Minor fixes and cosmetics.
+
2022-10-30, v1.9.3
* Changes to package code:
diff --git a/macros/latex/contrib/pkuthss/doc/readme/chap/pkuthss-ack.tex b/macros/latex/contrib/pkuthss/doc/readme/chap/pkuthss-ack.tex
index cd2deb28e9..778ed4124c 100644
--- a/macros/latex/contrib/pkuthss/doc/readme/chap/pkuthss-ack.tex
+++ b/macros/latex/contrib/pkuthss/doc/readme/chap/pkuthss-ack.tex
@@ -1,7 +1,7 @@
% Documentation for pkuthss.
%
% Copyright (c) 2008-2009 solvethis
-% Copyright (c) 2010-2012,2015,2021 Casper Ti. Vector
+% Copyright (c) 2010-2012,2015,2021,2024 Casper Ti. Vector
%
% This work may be distributed and/or modified under the conditions of the
% LaTeX Project Public License, either version 1.3 of this license or (at
@@ -34,7 +34,7 @@
不断地对 Casper 提出的诸多问题予以解答的 cauchy 网友,
以及在论文格式合规性和双盲版论文格式上有主要贡献的 Kurapica 网友~:)
-此外还要感谢 \parencite{pku-thesisstyle} 的作者,
+此外还要感谢 \parencite{pku-thesisstyle, pku-degreetype} 的作者,
让我校在学位论文格式要求的繁复程度上离隔壁更近了一步,
同时还达成了用 \hologo{TeX} 排版出和 M\$ Word 一样审美水平论文的伟大成就。
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 de7aa296ee..ea35f622ce 100644
--- a/macros/latex/contrib/pkuthss/doc/readme/chap/pkuthss-chap2.tex
+++ b/macros/latex/contrib/pkuthss/doc/readme/chap/pkuthss-chap2.tex
@@ -1,7 +1,7 @@
% Documentation for pkuthss.
%
% Copyright (c) 2008-2009 solvethis
-% Copyright (c) 2010-2019,2021-2022 Casper Ti. Vector
+% Copyright (c) 2010-2019,2021-2022,2024 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
@@ -177,6 +177,8 @@
\item \texttt{\bfseries\string\ementor}:设定导师的西文名;
\item \texttt{\bfseries\string\ckeywords}:设定中文关键词;
\item \texttt{\bfseries\string\ekeywords}:设定西文关键词;
+ \item \texttt{\bfseries\string\degreetype}:
+ 设定学位类型(1 为学术学位,2 为专业学位,设为 0 则不显示学位类型);
\item \texttt{\bfseries\string\blindid}:设定论文编号(双盲评审用);
\item \texttt{\bfseries\string\discipline}:设定一级学科(双盲评审用)。
\end{itemize}
@@ -310,7 +312,7 @@ pkuthss 文档模版使用作者编写的 biblatex\cupercite{biblatex} 样式%
\cupercite{unicode-math} 宏包(\hologo{XeLaTeX} 编译)或
mathptmx/helvet\cupercite{psnfss} 和 textcomp 宏包(非
\hologo{XeLaTeX} 编译),此外在非 \hologo{XeLaTeX} 编译或不启用
- \verb|pkufont| 选项时均会调用 latexsym\cupercite{latexsym} 宏包。
+ \verb|pkufont| 选项时均会调用 amssymb\cupercite{amssymb} 宏包。
\item 启用 \verb|pkufoot| 选项时会调用
tikz\cupercite{tikz} 和 scrextend\cupercite{scrextend} 宏包。
\item 启用 \verb|pkuspace| 选项时会调用
diff --git a/macros/latex/contrib/pkuthss/doc/readme/chap/pkuthss-copy.tex b/macros/latex/contrib/pkuthss/doc/readme/chap/pkuthss-copy.tex
index e9cecd08d3..973ab27913 100644
--- a/macros/latex/contrib/pkuthss/doc/readme/chap/pkuthss-copy.tex
+++ b/macros/latex/contrib/pkuthss/doc/readme/chap/pkuthss-copy.tex
@@ -32,7 +32,7 @@
版权所有 \copyright\ 2008--2009 solvethis
\par
-版权所有 \copyright\ 2010--2021 Casper Ti. Vector
+版权所有 \copyright\ 2010--2022 Casper Ti. Vector
\par
版权所有 \copyright\ 2021 Kurapica
\vskip 1em
diff --git a/macros/latex/contrib/pkuthss/doc/readme/chap/pkuthss-intro.tex b/macros/latex/contrib/pkuthss/doc/readme/chap/pkuthss-intro.tex
index 70f4bf5360..1470657006 100644
--- a/macros/latex/contrib/pkuthss/doc/readme/chap/pkuthss-intro.tex
+++ b/macros/latex/contrib/pkuthss/doc/readme/chap/pkuthss-intro.tex
@@ -1,7 +1,7 @@
% Documentation for pkuthss.
%
% Copyright (c) 2008-2009 solvethis
-% Copyright (c) 2010-2012,2014-2015,2018-2019,2022 Casper Ti. Vector
+% Copyright (c) 2010-2012,2014-2015,2018-2019,2022,2024 Casper Ti. Vector
%
% This work may be distributed and/or modified under the conditions of the
% LaTeX Project Public License, either version 1.3 of this license or (at
@@ -34,7 +34,7 @@
pkuthss 文档模版由三部分构成:
\begin{itemize}
\item \textbf{pkuthss 文档类}:
- 其中根据学校的格式规范\cupercite{pku-thesisstyle}%
+ 其中根据学校的格式规范\cupercite{pku-thesisstyle, pku-degreetype}%
实现了学位论文所需的基本格式要求,
主要包括对排版格式的设定和提供设置论文信息的命令;
此外也实现了学位论文中用户可能较多用到的一些额外功能,
diff --git a/macros/latex/contrib/pkuthss/doc/readme/pkuthss.bib b/macros/latex/contrib/pkuthss/doc/readme/pkuthss.bib
index 6f7e3d323c..de04266362 100644
--- a/macros/latex/contrib/pkuthss/doc/readme/pkuthss.bib
+++ b/macros/latex/contrib/pkuthss/doc/readme/pkuthss.bib
@@ -1,7 +1,7 @@
% Documentation for pkuthss.
%
% Copyright (c) 2008-2009 solvethis
-% Copyright (c) 2010-2022 Casper Ti. Vector
+% Copyright (c) 2010-2022,2024 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
@@ -27,14 +27,14 @@
% chap/pkuthss-encl1.tex
% chap/pkuthss-ack.tex
-@online{amsthm,
- author = {{Publications Technical Group, American Mathematical Society}},
- title = {Using the amsthm Package},
- edition = {Ver.~2.20.3},
+@online{amssymb,
+ author = {{American Mathematical Society}},
+ title = {The amssymb package},
+ edition = {Ver.~3.0.1},
type = {M/OL},
- date = {2017-09},
- url = {https://ctan.org/pkg/amsthm},
- urldate = {2019-11-15},
+ date = {2013-01-14},
+ url = {https://ctan.org/pkg/amsfonts},
+ urldate = {2024-02-28},
language = {english},
}
@@ -159,17 +159,6 @@
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{psnfss,
author = {Schmidt, Walter},
title = {Using common PostScript fonts with \hologo{LaTeX}},
@@ -296,10 +285,20 @@
language = {chinese},
}
+@online{pku-degreetype,
+ author = {北京大学学位办公室},
+ title = {关于完善研究生学位论文封面的通知},
+ type = {EB/OL},
+ date = {2024-02-28},
+ url = {https://grs.pku.edu.cn/xwgz11/xwsy11/bsxw111/gztz09/376720.htm},
+ urldate = {2024-03-07},
+ language = {chinese},
+}
+
@online{pku-originauth,
author = {北京大学研究生院},
title = {北京大学学位论文原创性声明和使用授权说明(末页限重新申请学位使用)},
- type = {M/OL},
+ type = {EB/OL},
date = {2014-04-16},
url = {http://grs.pku.edu.cn/document/20140416144734027222.doc},
urldate = {2015-04-26},
diff --git a/macros/latex/contrib/pkuthss/doc/readme/pkuthss.tex b/macros/latex/contrib/pkuthss/doc/readme/pkuthss.tex
index 2def8ad843..566aa496cd 100644
--- a/macros/latex/contrib/pkuthss/doc/readme/pkuthss.tex
+++ b/macros/latex/contrib/pkuthss/doc/readme/pkuthss.tex
@@ -1,7 +1,7 @@
% Documentation for pkuthss.
%
% Copyright (c) 2008-2009 solvethis
-% Copyright (c) 2010-2016,2018-2019,2021 Casper Ti. Vector
+% Copyright (c) 2010-2016,2018-2019,2021,2024 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
@@ -51,7 +51,7 @@
}
\newif\ifblind\blindfalse
-\newcommand*{\docversion}{v1.9.3}
+\newcommand*{\docversion}{v1.9.4}
\pkuthssinfo{
cthesisname = {本科生毕业论文}, ethesisname = {Undergraduate Thesis},
ctitle = {北京大学学位论文模版{\thssnl}pkuthss \docversion},
@@ -60,7 +60,7 @@
\texorpdfstring{\thssnl}{: }pkuthss \docversion%
},
cauthor = {盖茨波·钛·维克托}, eauthor = {Casper Ti.\ Vector},
- date = {\zhdigits{2022}年\zhnumber{10}月},
+ date = {\zhdigits{2024}年\zhnumber{3}月},
studentid = {00910???}, school = {化学与分子工程学院},
cmajor = {应用化学}, emajor = {Applied Chemistry},
direction = {据说 Casper 自己也不知道}, mentorlines = {2},
@@ -68,7 +68,7 @@
ementor = {Prof.\ XX and Prof.\ YY},
ckeywords = {\hologo{LaTeX},排版,文档类,\CTeX{}},
ekeywords = {\hologo{LaTeX}, Typesetting, Document class, \CTeX{}},
- blindid = {???01900}, discipline = {化学}
+ degreetype = {0}, blindid = {???01900}, discipline = {化学}
}
\addbibresource{pkuthss.bib}
diff --git a/macros/latex/contrib/pkuthss/tex/pkulogo.pdf b/macros/latex/contrib/pkuthss/tex/pkulogo.pdf
index 8160a06564..dd283f5a4e 100644
--- a/macros/latex/contrib/pkuthss/tex/pkulogo.pdf
+++ b/macros/latex/contrib/pkuthss/tex/pkulogo.pdf
Binary files differ
diff --git a/macros/latex/contrib/pkuthss/tex/pkuthss-gbk.def b/macros/latex/contrib/pkuthss/tex/pkuthss-gbk.def
index 46b20d974d..20490ca5c7 100644
--- a/macros/latex/contrib/pkuthss/tex/pkuthss-gbk.def
+++ b/macros/latex/contrib/pkuthss/tex/pkuthss-gbk.def
@@ -1,7 +1,7 @@
% Peking University dissertation document class
%
% Copyright (c) 2008-2009 solvethis
-% Copyright (c) 2010-2013,2015,2021 Casper Ti. Vector
+% Copyright (c) 2010-2013,2015,2021,2024 Casper Ti. Vector
% Copyright (c) 2021 Kurapica
%
% This work may be distributed and/or modified under the conditions of the
@@ -24,7 +24,7 @@
% pkuword.eps
\ProvidesFile{pkuthss-gbk.def}
- [2022/10/30 v1.9.3 Labels and captions in GBK encoding
+ [2024/03/07 v1.9.4 Labels and captions in GBK encoding
for the pkuthss document class]
\def\label@ctitle{Ŀ}
@@ -41,6 +41,8 @@
\def\label@blinddiscipline{һѧƣ}
\def\label@blindmajor{ѧƣ}
\def\label@blindid{ıţ}
+\def\label@academic{ѧѧλ}
+\def\label@technical{רҵѧλ}
\def\titlepagename{}
\def\cuniversity{ѧ}
diff --git a/macros/latex/contrib/pkuthss/tex/pkuthss-utf8.def b/macros/latex/contrib/pkuthss/tex/pkuthss-utf8.def
index e0358eb18e..7643ae8bd2 100644
--- a/macros/latex/contrib/pkuthss/tex/pkuthss-utf8.def
+++ b/macros/latex/contrib/pkuthss/tex/pkuthss-utf8.def
@@ -1,7 +1,7 @@
% Peking University dissertation document class
%
% Copyright (c) 2008-2009 solvethis
-% Copyright (c) 2010-2013,2015,2021 Casper Ti. Vector
+% Copyright (c) 2010-2013,2015,2021,2024 Casper Ti. Vector
% Copyright (c) 2021 Kurapica
%
% This work may be distributed and/or modified under the conditions of the
@@ -24,7 +24,7 @@
% pkuword.eps
\ProvidesFile{pkuthss-utf8.def}
- [2022/10/30 v1.9.3 Labels and captions in UTF-8 encoding
+ [2024/03/07 v1.9.4 Labels and captions in UTF-8 encoding
for the pkuthss document class]
\def\label@ctitle{题目:}
@@ -41,6 +41,8 @@
\def\label@blinddiscipline{一级学科:}
\def\label@blindmajor{二级学科:}
\def\label@blindid{论文编号:}
+\def\label@academic{学术学位}
+\def\label@technical{专业学位}
\def\titlepagename{封面}
\def\cuniversity{北京大学}
diff --git a/macros/latex/contrib/pkuthss/tex/pkuthss.cls b/macros/latex/contrib/pkuthss/tex/pkuthss.cls
index ad3945afba..85676f1eba 100644
--- a/macros/latex/contrib/pkuthss/tex/pkuthss.cls
+++ b/macros/latex/contrib/pkuthss/tex/pkuthss.cls
@@ -1,7 +1,7 @@
% Peking University dissertation document class
%
% Copyright (c) 2008-2009 solvethis
-% Copyright (c) 2010-2022 Casper Ti. Vector
+% Copyright (c) 2010-2022,2024 Casper Ti. Vector
% Copyright (c) 2021 Kurapica
%
% This work may be distributed and/or modified under the conditions of the
@@ -25,7 +25,7 @@
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesClass{pkuthss}
- [2022/10/30 v1.9.3 Peking University dissertation document class]
+ [2024/03/07 v1.9.4 Peking University dissertation document class]
% eg. `\thss@int@boolopt{spacing}{true}' will expand to:
% \newif\ifthss@opt@spacing \thss@opt@spacingtrue
@@ -99,6 +99,7 @@
\DeclareMathSymbol{\sumop}{\mathop}{CMlargesymbols}{"50}
\DeclareMathSymbol{\prodop}{\mathop}{CMlargesymbols}{"51}
\renewcommand{\Box}{\mdlgwhtsquare}
+ \newcommand{\blacksquare}{\mdlgblksquare}
\setmainfont[
Extension = .otf,
@@ -116,12 +117,12 @@
Scale = 0.95
]{texgyreheros}
\else
- \RequirePackage{textcomp, mathptmx, latexsym}
+ \RequirePackage{textcomp, mathptmx, amssymb}
\RequirePackage[scaled = 0.95]{helvet}
\fi
\else
% Provides `\Box' for originauth.tex if unicode-math is absent.
- \RequirePackage{latexsym}
+ \RequirePackage{amssymb}
\fi
\ifthss@opt@pkufoot
@@ -253,6 +254,7 @@
\thss@int@infoitema{ementor}
\thss@int@infoitema{ckeywords}
\thss@int@infoitema{ekeywords}
+\thss@int@infoitema{degreetype}
\thss@int@infoitema{blindid}
\thss@int@infoitema{discipline}
\thss@int@infoitemb{cuniversity}
@@ -412,6 +414,14 @@
\end{tabular}%
}
\vfill
+ % Degree type.
+ \ifnum\@degreetype=1%
+ {\zihao{3}\fangsong$\blacksquare$ \label@academic\qquad%
+ $\Box$ \label@technical}\vfill
+ \fi\ifnum\@degreetype=2%
+ {\zihao{3}\fangsong$\Box$ \label@academic\qquad%
+ $\blacksquare$ \label@technical}\vfill
+ \fi%
% Date.
{\ifthss@opt@ugly\zihao{3}\else\zihao{-2}\fi\@date}
\par\end{titlepage}%
@@ -433,6 +443,11 @@
\label@blindmajor & {\@cmajor} \\
\label@blindid & {\@blindid} \\
\end{tabular}\par\vfill
+ \ifnum\@degreetype=1%
+ $\blacksquare$ \label@academic\qquad$\Box$ \label@technical%
+ \fi\ifnum\@degreetype=2%
+ $\Box$ \label@academic\qquad$\blacksquare$ \label@technical%
+ \fi\par\vfill
{\@date}\par\vspace*{0.5cm}
\end{titlepage}%
}
diff --git a/macros/latex/contrib/pkuthss/tex/pkuthss.def b/macros/latex/contrib/pkuthss/tex/pkuthss.def
index c4b2681745..72c62dea9f 100644
--- a/macros/latex/contrib/pkuthss/tex/pkuthss.def
+++ b/macros/latex/contrib/pkuthss/tex/pkuthss.def
@@ -1,7 +1,7 @@
% Peking University dissertation document class
%
% Copyright (c) 2008-2009 solvethis
-% Copyright (c) 2010-2013,2015,2021 Casper Ti. Vector
+% Copyright (c) 2010-2013,2015,2021,2024 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
@@ -23,7 +23,7 @@
% pkuword.eps
\ProvidesFile{pkuthss.def}
- [2022/10/30 v1.9.3 Labels and captions for the pkuthss document class]
+ [2024/03/07 v1.9.4 Labels and captions for the pkuthss document class]
\def\label@ementor{Directed by\ }
\def\euniversity{Peking University}
diff --git a/macros/latex/contrib/pkuthss/tex/pkuword.pdf b/macros/latex/contrib/pkuthss/tex/pkuword.pdf
index e608ef5def..904595ac47 100644
--- a/macros/latex/contrib/pkuthss/tex/pkuword.pdf
+++ b/macros/latex/contrib/pkuthss/tex/pkuword.pdf
Binary files differ