|
30 | 30 |
|
31 | 31 | \cugkeywords{中国地质大学; 学位论文; \LaTeX{} 模板; 研究生}{CUGThesis; \LaTeXe{} Template}
|
32 | 32 |
|
33 |
| -%\cugenabstract{This article is a description of the \LaTeXe{} template for a graduate dissertation of the |
34 |
| - %China University of Geosciences (Wuhan). This article mainly introduces |
35 |
| - %The template's writing background, writing purpose, usages, and a little introduction about |
36 |
| - %how this template is written, of course there is also some useful utilities written by myself. |
37 |
| - %This article can also be used as a \LaTeXe{} model for graduate students of the China University of Geosciences (Wuhan). |
38 |
| - %the sample files for the board, because the content of this paper basically complies |
39 |
| - %with the ``Chinese University of Geosciences (Wuhan) Graduate Dissertation Writing Regulations |
40 |
| - %Van ''(Version 2015).} |
41 |
| -%\enkeywords{CUGThesis; \LaTeXe{} Template} |
42 |
| - |
43 | 33 | \makefrontpages
|
44 | 34 |
|
45 | 35 | \chapter{绪论}
|
46 | 36 |
|
47 | 37 | \section{背景}
|
48 | 38 | \label{sec:bei_jing_}
|
49 |
| - 请允许我先简单介绍一下 \TeX{}, \LaTeX{}, CTeX, Texlive, |
| 39 | + 请允许我先简单介绍一下 \TeX{}, \LaTeX{}, |
50 | 40 | 因为可能很多人都没有听过这个软件, 自然就谈不上使用它了.
|
51 | 41 | \subsection{什么是 \TeX{}?}
|
52 | 42 | \label{sec:sub_what_is_tex_}
|
@@ -213,31 +203,50 @@ \subsection{模板下载}
|
213 | 203 |
|
214 | 204 | 下载完成后请将压缩包解压, 然后清点一下文件, 看是否残缺, 本模板主要文件如表\ref{tab:templatefiles}所示.
|
215 | 205 | \begin{ttab}{模板主要文件}{tab:templatefiles}
|
216 |
| - \begin{tabular}{lll} |
| 206 | + \begin{tabular}{ll} |
217 | 207 | \toprule
|
218 |
| - 文件名 & 相对路径 & 说明 \\ |
| 208 | + 文件名 & 说明 \\ |
219 | 209 | \midrule
|
220 |
| - cugthesis.cls & ./ & 模板文档类主要文件 \\ |
221 |
| - cugthesisfont.sty & ./ & 模板字体设置 \\ |
222 |
| - authorcv.tex & ./ & 作者简介 \\ |
223 |
| - gbt77140-2005.bst & ./ & 参考文献样式 \\ |
224 |
| - demo.tex & ./ & 本说明文档的 tex 源码文件 \\ |
225 |
| - demo.pdf & ./ & 本说明文档 \\ |
226 |
| - example.tex & ./ & 示例源码文件 \\ |
227 |
| - example.pdf & ./ & 示例文档 \\ |
228 |
| - tex.bib & ./ & 本文档引用的参考文献数据库 \\ |
229 |
| - ttools.sty & ./ & 小工具宏包 \\ |
230 |
| - tcode.sty & ./ & 代码环境设置 \\ |
231 |
| - LICENSE & ./ & 协议文件 \\ |
232 |
| - README.md & ./ & readme \\ |
233 |
| - Makefile & ./ & make 自动化工具所需文件 \\ |
| 210 | + cugthesis.cls & 模板文档类主要文件 \\ |
| 211 | + cugthesisfont.sty & 模板字体设置 \\ |
| 212 | + authorcv.tex & 作者简介 \\ |
| 213 | + gbt77140-2005.bst & 参考文献样式 \\ |
| 214 | + demo.tex & 本说明文档的 tex 源码文件 \\ |
| 215 | + demo.pdf & 本说明文档 \\ |
| 216 | + example.tex & 示例源码文件 \\ |
| 217 | + example.pdf & 示例文档 \\ |
| 218 | + tex.bib & 本文档引用的参考文献数据库 \\ |
| 219 | + ttools.sty & 小工具宏包 \\ |
| 220 | + tcode.sty & 代码环境设置 \\ |
| 221 | + LICENSE & 协议文件 \\ |
| 222 | + README.md & readme \\ |
| 223 | + Makefile & make 自动化工具所需文件 \\ |
234 | 224 | \bottomrule
|
235 | 225 | \end{tabular}
|
236 | 226 | \end{ttab}
|
237 | 227 |
|
238 | 228 | \subsection{\LaTeX{}系统安装使用}
|
239 | 229 | \label{sub:xi_tong_an_zhuang_shi_yong_}
|
| 230 | +\subsubsection{Windows \& Linux} |
| 231 | +\label{ssub:Windows_Linux} |
| 232 | +你可以在华科大开源镜像站获取到 texlive\footnote{\url{http://mirrors.ustc.edu.cn/CTAN/systems/texlive/Images/}} |
| 233 | +的镜像文件. |
| 234 | + |
| 235 | +\subsubsection{Mac OSX} |
| 236 | +\label{ssub:Mac_OSX} |
| 237 | +Mac 用户请使用 MacTex\footnote{\url{https://www.tug.org/mactex/}}. |
| 238 | + |
| 239 | +\begin{tfig}{MacTeX 下载首页}{fig:mactexdownload} |
| 240 | + \includegraphics[width=\textwidth]{./imgs//mactexdownload.png} |
| 241 | +\end{tfig} |
| 242 | + |
| 243 | +点击图中红色标出的链接, 进入下一页, 如图\ref{fig:mactexpkg}. |
| 244 | + |
| 245 | +\begin{tfig}{MacTeX pkg 下载}{fig:mactexpkg} |
| 246 | + \includegraphics[width=.6\textwidth]{./imgs/mactexpkg.png} |
| 247 | +\end{tfig} |
240 | 248 |
|
| 249 | +然后下载那个 pkg 安装包, 大约有 3.14 GB\@. |
241 | 250 | \section{模板基本使用}
|
242 | 251 | \label{sec:mo_ban_ji_ben_shi_yong_}
|
243 | 252 | 要使用本模板, 您首先得具备基本的 \LaTeX{} 知识, 本模板的存在只是尽可能让你在
|
@@ -388,6 +397,29 @@ \section{模板基本使用}
|
388 | 397 |
|
389 | 398 | \chapter{正文排版建议以及一些示例}
|
390 | 399 |
|
| 400 | +\section{参考文献} |
| 401 | +\label{sec:can_kao_wen_xian_} |
| 402 | + |
| 403 | +本模板引入参考文献的命令是\tcodeinline{tex}{\cugthesisbib{bib_file_name}}. |
| 404 | +会自动添加 ``参考文献'' 章节标题以及目录项, 所以不用你额外再写诸如\tcodeinline{tex}{\chapter{参考文献}}之类的代码. |
| 405 | + |
| 406 | +\emph{bib\_file\_name} 是指你的参考文献数据库. |
| 407 | + |
| 408 | +关于参考文献数据库你可以自己手动录入, 也可以使用工具自动生成. 比如说 Zotero, JabRef, Mendeley 这些参考文献 |
| 409 | +管理工具. 如图\ref{fig:bibtoolexport}所示是我用 Zotero 导出文献引用数据. |
| 410 | +\begin{tfig}{Zotero导出参考文献引用数据}{fig:bibtoolexport} |
| 411 | + \begin{minipage}{.66\textwidth} |
| 412 | + \includegraphics[width=\textwidth]{./imgs/zoteroexport1.png} |
| 413 | + \end{minipage}% |
| 414 | + \begin{minipage}{.33\textwidth} |
| 415 | + \includegraphics[width=\textwidth]{./imgs/zoteroexportbibtex.png} |
| 416 | + \end{minipage} |
| 417 | +\end{tfig} |
| 418 | + |
| 419 | +你也可以在下载参考文献的时候下载其对应的 cite key, 如图\ref{fig:bibcitekey}. |
| 420 | +\begin{tfig}{文献 bibtex}{fig:bibcitekey} |
| 421 | + \includegraphics[width=.7\textwidth]{./imgs/papercitekey.png} |
| 422 | +\end{tfig} |
391 | 423 | \chapter{Utilities}
|
392 | 424 |
|
393 | 425 | \chapter{实现}
|
|
0 commit comments