Revise colours.
This commit is contained in:
parent
fc83092f62
commit
3de40eb86b
@ -6,7 +6,7 @@
|
||||
|
||||
\begin{cabstract}
|
||||
|
||||
本文介绍了 \emph{pkuthss} 这个文档模版所提供的功能,
|
||||
本文介绍了 pkuthss 文档模版所提供的功能,
|
||||
并以自身为例演示了该模版的使用。
|
||||
|
||||
\end{cabstract}
|
||||
@ -14,7 +14,7 @@
|
||||
\begin{eabstract}
|
||||
|
||||
This paper describes the the functions provided by
|
||||
the \emph{pkuthss} document template,
|
||||
the pkuthss document template,
|
||||
and provides itself as an example to illustrate
|
||||
the usage of the document class.
|
||||
|
||||
|
||||
@ -70,7 +70,8 @@
|
||||
\item 一个基本的 \TeX{} 发行版。
|
||||
\item CJK 或 XeCJK(供 Xe\LaTeX{} 使用)宏包。
|
||||
\item ctex 宏包\cite{ctex,ctex-faq}(提供了 ctexbook 文档类)。
|
||||
\item 中文字体\footnote{\emph{%
|
||||
\item 中文字体。\emph{%
|
||||
注:
|
||||
一些中文字体的字库不全,
|
||||
只有 GB2312 字符集内字符的字体信息。
|
||||
这种情况通常会造成编译生成的 pdf 文件中缺少部分字符,
|
||||
@ -80,7 +81,7 @@
|
||||
宋体、黑体、楷体和仿宋体,
|
||||
以及 Microsoft Office 2003 及其以后版本提供的隶书和幼圆体,
|
||||
这些字体是 GB18030 字符集的,不存在上述问题。%
|
||||
}}。
|
||||
}
|
||||
\item 如果需要使用 Makefile 来实现自动编译,还需要 Make 工具;
|
||||
但如果使用由批处理实现的伪“Makefile”就不用了。
|
||||
\end{itemize}
|
||||
|
||||
@ -37,12 +37,11 @@
|
||||
本文档的源代码中大部分已经有了较为详细的注释,
|
||||
故请直接参照相应文件中的注释。
|
||||
|
||||
\emph
|
||||
{%
|
||||
\emph{%
|
||||
注:%
|
||||
\texttt{img/} 目录中的 \texttt{Makefile} 和%
|
||||
两个 PostScript(\texttt{.eps})文件(都是文本文件)中%
|
||||
也有详细的注释哦 :)
|
||||
也有详细的注释哦 :)%
|
||||
}
|
||||
|
||||
\flushbottom % 取消 \raggedbottom 的作用。
|
||||
|
||||
@ -3,9 +3,11 @@
|
||||
% Copyright (c) 2008-2009 solvethis
|
||||
% Copyright (c) 2010-2012 Casper Ti. Vector
|
||||
% Public domain.
|
||||
%
|
||||
% 使用前请先仔细阅读文档,特别是其中的 FAQ 部分和用红色强调的部分,谢谢!
|
||||
|
||||
% 在黑白打印时彩色链接可能变成浅灰色,此时可将“colorlinks”改为“nocolorlinks”。
|
||||
\documentclass[UTF8,colorlinks]{pkuthss}
|
||||
\documentclass[UTF8, colorlinks]{pkuthss}
|
||||
|
||||
% 使得打字机粗体可以被使用。
|
||||
\usepackage{lmodern}
|
||||
@ -13,11 +15,17 @@
|
||||
\usepackage{amssymb}
|
||||
% 提供 Verbatim 环境和 \VerbatimInput 命令。
|
||||
\usepackage{fancyvrb}
|
||||
% pkuthss 文档模版的版本。
|
||||
\newcommand{\docversion}{v1.4 alpha2}
|
||||
% 提供改变文字颜色的支持。
|
||||
\usepackage{xcolor}
|
||||
|
||||
% 使被强调的内容为红色。
|
||||
\let\oldemph\emph
|
||||
\renewcommand{\emph}[1]{\oldemph{\textcolor{red}{#1}}}
|
||||
% 参考文献格式。
|
||||
\bibliographystyle{ref/chinesebst-mod}
|
||||
|
||||
% pkuthss 文档模版的版本。
|
||||
\newcommand{\docversion}{v1.4 alpha2}
|
||||
% 设定文档的基本信息。
|
||||
\pkuthssinfo{
|
||||
cthesisname = {本科生毕业论文}, ethesisname = {Undergraduate Thesis},
|
||||
@ -35,7 +43,8 @@
|
||||
studentid = {00910???},
|
||||
date = {二〇一二年五月},
|
||||
school = {化学与分子工程学院},
|
||||
cmajor = {化学}, emajor = {Chemistry}, direction = {XX 化学},
|
||||
cmajor = {化学}, emajor = {Chemistry},
|
||||
direction = {据说 Casper 自己也不知道},
|
||||
cmentor = {XX 教授}, ementor = {Prof.\ XX},
|
||||
ckeywords = {\LaTeX2e{},排版,文档类,\CTeX{}},
|
||||
ekeywords = {\LaTeX2e{}, typesetting, document class, \CTeX{}}
|
||||
|
||||
@ -165,7 +165,7 @@
|
||||
|
||||
\ifpkuthssextra@opt@colorlinks
|
||||
% Use coloured hyperlinks in generated PDF.
|
||||
\hypersetup{colorlinks = true}
|
||||
\hypersetup{colorlinks = true, allcolors = blue}
|
||||
\else
|
||||
% Set hyperlink colour to black in order to prevent hyperlinks from being too
|
||||
% hard-to-recognise in printed thesis.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user