summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/pkuthss/example-gbk/thesis.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/pkuthss/example-gbk/thesis.tex')
-rw-r--r--Master/texmf-dist/doc/latex/pkuthss/example-gbk/thesis.tex30
1 files changed, 23 insertions, 7 deletions
diff --git a/Master/texmf-dist/doc/latex/pkuthss/example-gbk/thesis.tex b/Master/texmf-dist/doc/latex/pkuthss/example-gbk/thesis.tex
index 6d91d1219b8..dda235d21c6 100644
--- a/Master/texmf-dist/doc/latex/pkuthss/example-gbk/thesis.tex
+++ b/Master/texmf-dist/doc/latex/pkuthss/example-gbk/thesis.tex
@@ -11,11 +11,13 @@
% texdoc biblatex-caspervector
% 调出。
-% 在黑白打印时彩色链接可能变成浅灰色,此时可将“colorlinks”改为“nocolorlinks”。
-%
% 采用了自定义的(包括大小写不同于原文件的)字体文件名,
% 并改动 ctex.cfg 等配置文件的用户请自行加入 nofonts 选项;
% 其它用户不用加入 nofonts 选项,加入之后反而会产生错误。
+%
+% 图书馆要求电子版论文的目录必须为黑色,
+% 且某些教务要求打印版论文的文字部分为纯黑色而非灰度打印,
+% 【因此最终打印和提交论文前,请将“colorlinks”改为“nocolorlinks”。】
\documentclass[GBK, colorlinks]{pkuthss}
% 使用 biblatex 排版参考文献,并规定其格式。
@@ -49,6 +51,24 @@
% 导入参考文献数据库(注意不要省略“.bib”)。
\addbibresource{thesis.bib}
+% 普通用户可删除此段。
+\def\pkuthssffaq{%
+ \emph{\textcolor{red}{pkuthss 文档模版最常见问题:}}
+
+ 最终打印和提交论文前,
+ 请将 pkuthss 文档类选项中的 %
+ \texttt{colorlinks} 改为 \texttt{nocolorlinks},
+ 因为图书馆要求电子版论文的目录必须为黑色,
+ 且某些教务要求打印版论文的文字部分为纯黑色而非灰度打印。
+
+ \texttt{\string\cite}、\texttt{\string\parencite} %
+ 和 \texttt{\string\supercite} 三个命令分别产生%
+ 未格式化的、带方括号的和上标且带方括号的引用标记:%
+ \cite{test-en},\parencite{test-zh}、\supercite{test-en, test-zh}。%
+
+ 若要避免章末空白页,请在调用 pkuthss 文档类时加入 \texttt{oneside} 选项。
+}
+
\begin{document}
% 以下为正文之前的部分。
\frontmatter
@@ -60,16 +80,12 @@
% 中英文摘要。
\include{chap/abstract}
% 自动生成目录。
- \begingroup
- % 使目录条目为黑色。
- \hypersetup{hidelinks}
\tableofcontents
- \endgroup
% 以下为正文。
\mainmatter
- % 绪言。
+ % 序言。
\include{chap/introduction}
% 各章节。
\include{chap/chap1}