Skip to content

Commit d34b61c

Browse files
committed
更新说明文档
1 parent 124f76e commit d34b61c

8 files changed

+70
-28
lines changed

README.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,11 @@
1-
# CUGThesis
1+
# CUGThesis
2+
3+
这是中国地质大学(武汉)研究生学位论文的 TeX 模板.
4+
5+
更详细的内容请参考 demo.pdf 。
6+
7+
# Author
8+
9+
王震宇
10+
11+

demo.pdf

578 KB
Binary file not shown.

demo.tex

+59-27
Original file line numberDiff line numberDiff line change
@@ -30,23 +30,13 @@
3030

3131
\cugkeywords{中国地质大学; 学位论文; \LaTeX{} 模板; 研究生}{CUGThesis; \LaTeXe{} Template}
3232

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-
4333
\makefrontpages
4434

4535
\chapter{绪论}
4636

4737
\section{背景}
4838
\label{sec:bei_jing_}
49-
请允许我先简单介绍一下 \TeX{}, \LaTeX{}, CTeX, Texlive,
39+
请允许我先简单介绍一下 \TeX{}, \LaTeX{},
5040
因为可能很多人都没有听过这个软件, 自然就谈不上使用它了.
5141
\subsection{什么是 \TeX{}?}
5242
\label{sec:sub_what_is_tex_}
@@ -213,31 +203,50 @@ \subsection{模板下载}
213203

214204
下载完成后请将压缩包解压, 然后清点一下文件, 看是否残缺, 本模板主要文件如表\ref{tab:templatefiles}所示.
215205
\begin{ttab}{模板主要文件}{tab:templatefiles}
216-
\begin{tabular}{lll}
206+
\begin{tabular}{ll}
217207
\toprule
218-
文件名 & 相对路径 & 说明 \\
208+
文件名 & 说明 \\
219209
\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 自动化工具所需文件 \\
234224
\bottomrule
235225
\end{tabular}
236226
\end{ttab}
237227

238228
\subsection{\LaTeX{}系统安装使用}
239229
\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}
240248

249+
然后下载那个 pkg 安装包, 大约有 3.14 GB\@.
241250
\section{模板基本使用}
242251
\label{sec:mo_ban_ji_ben_shi_yong_}
243252
要使用本模板, 您首先得具备基本的 \LaTeX{} 知识, 本模板的存在只是尽可能让你在
@@ -388,6 +397,29 @@ \section{模板基本使用}
388397

389398
\chapter{正文排版建议以及一些示例}
390399

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}
391423
\chapter{Utilities}
392424

393425
\chapter{实现}

imgs/mactexdownload.png

115 KB
Loading

imgs/mactexpkg.png

32.4 KB
Loading

imgs/papercitekey.png

167 KB
Loading

imgs/zoteroexport1.png

242 KB
Loading

imgs/zoteroexportbibtex.png

163 KB
Loading

0 commit comments

Comments
 (0)