diff options
author | Norbert Preining <norbert@preining.info> | 2021-03-30 03:00:56 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2021-03-30 03:00:56 +0000 |
commit | 93809c868bf15852ddc7b50542713131a5d8c05f (patch) | |
tree | 3c741be9d43fdee2f3ecdb17d463deb188d881a8 /macros/latex/contrib/pkuthss/doc/readme/pkuthss-english.patch | |
parent | 3c5dd0d2f091e5e866af1de0327171b253ec9178 (diff) |
CTAN sync 202103300300
Diffstat (limited to 'macros/latex/contrib/pkuthss/doc/readme/pkuthss-english.patch')
-rw-r--r-- | macros/latex/contrib/pkuthss/doc/readme/pkuthss-english.patch | 68 |
1 files changed, 39 insertions, 29 deletions
diff --git a/macros/latex/contrib/pkuthss/doc/readme/pkuthss-english.patch b/macros/latex/contrib/pkuthss/doc/readme/pkuthss-english.patch index ee9cadcad2..40b508c77c 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 305792f..cfa6cd3 100644 +index dcffe0e..8fd046f 100644 --- a/doc/example/chap/abs.tex +++ b/doc/example/chap/abs.tex @@ -2,7 +2,7 @@ @@ -10,7 +10,7 @@ index 305792f..cfa6cd3 100644 + 中文摘要。 \end{cabstract} - \begin{eabstract} + \ifblind\begin{beabstract}\else\begin{eabstract}\fi diff --git a/doc/example/chap/ack.tex b/doc/example/chap/ack.tex index 4af4d39..09de33d 100644 --- a/doc/example/chap/ack.tex @@ -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 9c5f042..a54d01f 100644 +index 0009fe6..3f2d945 100644 --- a/doc/example/thesis.tex +++ b/doc/example/thesis.tex -@@ -12,54 +12,44 @@ +@@ -14,36 +14,42 @@ \documentclass[UTF8]{pkuthss} % 如果的确须要使脚注按页编号的话,可以去掉后面 footmisc 包的注释。 %\usepackage[perpage]{footmisc} @@ -113,6 +113,8 @@ index 9c5f042..a54d01f 100644 -% 若须按照中文文献在前,西文文献在后排序,请设置“sorting = cenyt”; -% 若须按照引用顺序排序,请设置“sorting = none”。 -% 若须在排序中实现更复杂的需求,请参考 biblatex-caspervector 的文档。 +-% biblatex-caspervector 也有一个“ugly”选项,使其更像国标格式;此外也可考虑 +-% 改用 style = gb7714-2015 并去掉之后两选项,详见 biblatex-gb7714-2015 的文档。 -\usepackage[backend = biber, style = caspervector, utf8, sorting = ecnyt]{biblatex} +% 使用 biblatex 排版参考文献,并规定其格式(详见 biblatex 的文档)。 +\usepackage[backend = biber]{biblatex} @@ -136,27 +138,32 @@ index 9c5f042..a54d01f 100644 + chapter/number = {\thechapter}, +} + + % 如是双盲版论文,将 \blindfalse 改为 \blindtrue。后面可用 + % \ifblind 根据是否双盲来条件地启用代码(参见本文件后面部分)。 + \newif\ifblind\blindfalse % 设定文档的基本信息。 \pkuthssinfo{ -- cthesisname = {博士研究生学位论文}, ethesisname = {Doctor Thesis}, -- ctitle = {测试文档}, etitle = {Test Document}, -- cauthor = {某某}, +- cthesisname = {博士学位论文}, ethesisname = {Doctor Thesis}, +- thesiscover = {博士研究生学位论文}, + ethesisname = {Doctor Thesis}, -+ etitle = {Test Document}, - eauthor = {Test}, - studentid = {0123456789}, -- date = {某年某月}, -- school = {某某学院}, + % 长标题可用 \thssnl 强制换行,不能用“\\”(双盲版会出错)。 +- ctitle = {测试文档}, + etitle = {Test Document}, +- cauthor = {某某}, eauthor = {Test}, date = {某年某月}, +- studentid = {0123456789}, school = {某某学院}, - cmajor = {某某专业}, emajor = {Some Major}, - direction = {某某方向}, - cmentor = {某某教授}, ementor = {Prof.\ Somebody}, -+ date = {Some Date}, ++ eauthor = {Test}, ++ date = {Month Year}, studentid = {0123456789}, + school = {Some School}, + emajor = {Some Major}, + direction = {Some Direction}, + ementor = {Prof.\ Somebody}, - ckeywords = {其一,其二}, ekeywords = {First, Second} - } + ckeywords = {其一,其二}, + ekeywords = {First, Second}, + % 以下两项无双盲评审需求的用户可保持原状。 +@@ -53,26 +59,6 @@ % 载入参考文献数据库(注意不要省略“.bib”)。 \addbibresource{thesis.bib} @@ -175,18 +182,20 @@ index 9c5f042..a54d01f 100644 - - 如果编译时不出参考文献, - 请参考 \texttt{texdoc pkuthss}“问题及其解决”一章 -- “上游宏包可能引起的问题”一节中关于 biber 的说明。% +- “上游宏包可能引起的问题”一节中关于 biber 的说明。 +- +- 因无法假定用户使用哪种方式排版表格,用户须自行保证表格字号符合学校规定。% -} - \begin{document} % 以下为正文之前的部分,默认不进行章节编号。 \frontmatter diff --git a/tex/pkuthss-utf8.def b/tex/pkuthss-utf8.def -index 9bc6000..7650e53 100644 +index d968f90..f99a891 100644 --- a/tex/pkuthss-utf8.def +++ b/tex/pkuthss-utf8.def -@@ -25,13 +25,13 @@ - [2019/11/17 v1.8.2 Labels and captions in UTF-8 encoding +@@ -26,13 +26,13 @@ + [2020/11/02 v1.8.3 Labels and captions in UTF-8 encoding for the pkuthss document class] -\def\label@ctitle{题目:} @@ -207,10 +216,10 @@ index 9bc6000..7650e53 100644 \def\label@ckeywords{关键词:} \def\label@ekeywords{KEYWORDS:\ } diff --git a/tex/pkuthss.cls b/tex/pkuthss.cls -index e34fe2d..477b3f4 100644 +index 4499528..e6311cb 100644 --- a/tex/pkuthss.cls +++ b/tex/pkuthss.cls -@@ -304,7 +304,7 @@ +@@ -317,7 +317,7 @@ \fancyhf{}\renewcommand*{\headrulewidth}{0.75bp} \fancyfoot[C]{\zihao{5}\normalfont{\thepage}} \if@twoside @@ -219,23 +228,24 @@ index e34fe2d..477b3f4 100644 \fancyhead[CO]{\zihao{5}\normalfont\thss@int@setcase{\leftmark}} \else \fancyhead[C]{\zihao{5}\normalfont\thss@int@setcase{\leftmark}} -@@ -350,13 +350,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}}% +@@ -367,14 +367,14 @@ + \zihao{1}\includegraphics[height = 2.4em]{pkulogo}\hspace{0.4em}% + \raisebox{0.4em}{\includegraphics[height = 1.6em]{pkuword}}\\[0.8em] + \fi% +- {\bfseries\ifx\thesiscover\empty{\cthesisname}\else{\thesiscover}\fi}% ++ {\bfseries\ethesisname}% } \vfill % Title of the thesis. {% - \zihao{2}{\label@ctitle}\linespread{1.6}\selectfont% + \ifthss@opt@ugly\zihao{-1}\else\zihao{2}\fi% + \linespread{1.6}\selectfont{\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. -@@ -364,19 +364,19 @@ +@@ -382,19 +382,19 @@ % Slightly adjust the line skip when using new font size. \zihao{3}\linespread{1.75}\selectfont \def\thss@tmp@len{0.56\textwidth} |