example: use the most frequent asked questions as the sample text.

This commit is contained in:
Casper Ti. Vector 2014-07-07 21:07:33 +08:00
parent 727dd1c6af
commit 243fd554c1
7 changed files with 29 additions and 15 deletions

View File

@ -3,10 +3,10 @@
% Public domain.
\begin{cabstract}
测试一下。
\pkuthssffaq
\end{cabstract}
\begin{eabstract}
Have a test.
Test of the English abstract.
\end{eabstract}

View File

@ -3,6 +3,5 @@
% Public domain.
\chapter{致谢}
感谢党,感谢国家;感谢 CCTV感谢 MTV。
\pkuthssffaq

View File

@ -3,7 +3,5 @@
% Public domain.
\chapter{章节}
% 三个命令分别产生未格式化的、带方括号的和上标且带方括号的引用标记。
测试一下:\cite{test-en}\parencite{test-zh}\supercite{test-en, test-zh}
\pkuthssffaq

View File

@ -3,6 +3,5 @@
% Public domain.
\specialchap{结论}
测试一下。
\pkuthssffaq

View File

@ -3,6 +3,5 @@
% Public domain.
\chapter{附件}
测试一下。
\pkuthssffaq

View File

@ -3,6 +3,5 @@
% Public domain.
\specialchap{序言}
测试一下。
\pkuthssffaq

View File

@ -11,11 +11,13 @@
% texdoc biblatex-caspervector
% 调出。
% 在黑白打印时彩色链接可能变成浅灰色此时可将“colorlinks”改为“nocolorlinks”。
%
% 采用了自定义的(包括大小写不同于原文件的)字体文件名,
% 并改动 ctex.cfg 等配置文件的用户请自行加入 nofonts 选项;
% 其它用户不用加入 nofonts 选项,加入之后反而会产生错误。
%
% 图书馆要求电子版论文的目录必须为黑色,
% 且某些教务要求打印版论文的文字部分为纯黑色而非灰度打印,
% 【因此最终打印和提交论文前请将“colorlinks”改为“nocolorlinks”。】
\documentclass[UTF8, 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