diff --git a/Compile.bat b/Compile.bat index 7a845f1c..2702cc0e 100755 --- a/Compile.bat +++ b/Compile.bat @@ -5,7 +5,7 @@ @rem ****************************************** @rem ********* Set target compiler ************ @rem ****************************************** -set CompilerOrder="2" +set CompilerOrder="1" @rem ****************************************** if %CompilerOrder% == "1" ( set CompileName="pdflatex" diff --git a/HowToUse.pdf b/HowToUse.pdf index 1a123a61..13e0388f 100644 Binary files a/HowToUse.pdf and b/HowToUse.pdf differ diff --git a/README.md b/README.md index 013404d7..0fbabc47 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ LATEX thesis template for The University of Chinese Academy of Sciences 中国 考虑到大多数用户并无LaTeX使用经验,本模板将LaTeX的复杂性尽可能地进行了封装,开放出简单的接口,以便于使用者可以轻易地使用,同时,对使用LaTeX撰写论文所遇到的一些主要难题,如插入图片、文献索引等,进行了详细的说明,并提供了相应的代码样本,理解了上述问题后,对于初学者而言,使用此模板撰写其学文论文将不存在实质性的困难,所以,如果您是初学者,请不要直接放弃,因为同样作为初学者,十分明白让LaTeX变得简单易用的重要性,而这正是本模板所体现的. -此中国科学院大学学位论文模板ucasthesis基于吴凌云的CASthesis模板发展而来,ucasthesis文档类的基础架构为ctexbook文档类。当前ucasthesis 模板满足最新的中国科学院大学学位论文撰写要求和封面设定。模板提供了pdflatex 或xelatex (默认) 编译方式,完美地支持中文书签、中文渲染、中文粗体显示、拷贝pdf中的文本到其他文本编辑器等特性,此外,对模板的文档结构进行了精心设计,撰写了编译脚本提高模板的易用性和使用效率。 +此中国科学院大学学位论文模板ucasthesis基于吴凌云的CASthesis模板发展而来,ucasthesis文档类的基础架构为ctexbook文档类。当前ucasthesis 模板满足最新的中国科学院大学学位论文撰写要求和封面设定。模板同时兼容~pdflatex~和~xelatex~ 编译方式,完美地支持中文书签、中文渲染、中文粗体显示、拷贝pdf中的文本到其他文本编辑器等特性,此外,对模板的文档结构进行了精心设计,撰写了编译脚本提高模板的易用性和使用效率。 宏包的目的是简化学位论文的撰写,模板文档的默认设定是十分规范的,从而论文作者可以将精力集中到论文的内容上,而不需要在版面设置上花费精力。 同时,在编写模板的LaTeX文档代码过程中,作者对各结构和命令进行了十分详细的注解,并提供了整洁一致的代码结构,对文档的仔细阅读可以为初学的您提供一个学习LaTeX的窗口。除此之外,整个模板的架构十分注重通用性,事实上,本模板不仅是中国科学院大学学文论文模板,同时,也是使用LaTeX撰写中英文article或book的通用模板,并为使用者的个性化设定提供了接口和相应的代码。 @@ -18,9 +18,11 @@ LATEX thesis template for The University of Chinese Academy of Sciences 中国 Change log: ========== -2016-03-30 Stable Release v1.0 +2016-04-03 Stable Release v1.0 ========== +2016-04-03 Adjust the template to be directly compilable by Tex Editors such as WinEdit, since the majority users prefer this. + 2016-03-29 Update ucasthesis.cls to set the color of underline to black rather than blue. 2016-03-18 Update custom.sty and Thesis.tex to ensure correct page reference for "List of Figures", "List of Tables", and "Reference". diff --git a/Style/commons.sty b/Style/commons.sty index bdd1d8c5..6b048df1 100644 --- a/Style/commons.sty +++ b/Style/commons.sty @@ -1,6 +1,6 @@ %%%%% -------------------------------------------------------------------------------- %% -%%%%***************************** version information ******************************** +%%%%***************************** Version Information ******************************** %% %% this is the "commons.sty" package used for configure document styles %% Copyright (C) 2014-2018 Huangrui Mo @@ -15,7 +15,7 @@ macros package] %%%%% -------------------------------------------------------------------------------- %% -%%%%********************************Declare Options*********************************** +%%%%******************************* Declare Options ********************************** %% \newif\ifCOMMONS@myhdr \COMMONS@myhdrfalse \DeclareOption{myhdr}{% user defined header and footer style @@ -81,7 +81,7 @@ macros package] \ProcessOptions\relax %%%%% -------------------------------------------------------------------------------- %% -%%%%********************************Required Packages********************************* +%%%%******************************* Required Packages ******************************** %% %% Language Setting \RequirePackage{ifpdf,ifxetex} @@ -89,7 +89,7 @@ macros package] \ifxetex % running xelatex in PDF mode %%%%% -------------------------------------------------------------------------------- %% -%%%%***********************************xelatex**************************************** +%%%%********************************** Xelatex *************************************** %% %%% >>> System Font Environment %% @@ -115,7 +115,7 @@ macros package] \ifpdf % running pdfTeX in PDF mode %%%%% -------------------------------------------------------------------------------- %% -%%%%*********************************pdflatex***************************************** +%%%%******************************** Pdflatex **************************************** %% %%% >>> Input encoding and the font encoding %% @@ -128,23 +128,16 @@ macros package] \RequirePackage[utf8]{inputenc}% make sure your document is saved using the UTF-8 encoding. %\RequirePackage[latin1]{inputenc}% latin encoding %% Font encoding. -\RequirePackage[T1]{fontenc} +\RequirePackage[T1]{fontenc}% enable modern font encoding %% Font package. -\RequirePackage{mathptmx} +\RequirePackage{newtxtext,newtxmath} %% Options: -%% Need \RequirePackage[T1]{fontenc}: -%% - \RequirePackage{lmodern}, modern font. -%% - \RequirePackage{concrete}, text: Concrete, math: Concrete italic + Euler VM symbols. -%% - \RequirePackage{concmath}, text: Concrete, math: Concrete italic + Concmath symbols. -%% No need \RequirePackage[T1]{fontenc}: -%% Text: Helvetica, Math: Helvetica italic + Euler VM symbols: -%% - \RequirePackage{eulervm} + \RequirePackage[scaled]{helvet} -%% Text: Palatino, Math: Palatino italic + Euler VM symbols: -%% - \RequirePackage{palatino} or {mathpazo} + \RequirePackage{eulervm} -%% Text + Math: Times, not a good font for screen presentation: -%% - \RequirePackage{mathptmx} -%% Text: Bradhley Hand writing, Math: mathpazo symbols: -%% - \RequirePackage{mathpazo} % Mathpazo symbols + \renewcommand{\rmdefault}{ibh} % Bradhley Hand. +%% Text + Math: Adobe Times Roman (Recommended) +%% - \RequirePackage{newtxtext,newtxmath} +%% Text + Math: Palatino +%% - \RequirePackage{palatino} +%% Text + Math: Adobe Times Roman +%% - \RequirePackage{mathptmx,newtxmath} \fi \fi %% @@ -220,7 +213,6 @@ macros package] %% \ifCOMMONS@math% enable some extra math package \RequirePackage{mathtools,amstext,amsfonts,amssymb} - \RequirePackage{siunitx}% typeset numbers and units in an easy way \fi %% %% >>> Tkiz @@ -277,7 +269,7 @@ macros package] %% other packages but prior to other settings. %%%%% -------------------------------------------------------------------------------- %% -%%%%*****************************Configuration Command******************************** +%%%%**************************** Configuration Command ******************************* %% %% >>> Extensions and Directories for graphics %% @@ -293,7 +285,7 @@ macros package] %% on the command line only, rather than embedding into source files. \fi \fi -\graphicspath{{./Img/}}% search path for figures, no need if use scripts to compile +\graphicspath{{Img/}}% search path for figures %% %%% >>> Page background: %% diff --git a/Style/custom.sty b/Style/custom.sty index 17be3368..f244f170 100644 --- a/Style/custom.sty +++ b/Style/custom.sty @@ -1,6 +1,6 @@ %%%%% -------------------------------------------------------------------------------- %% -%%%%***************************** version information ******************************** +%%%%***************************** Version Information ******************************** %% %% Copyright (C) 2014-2018 Huangrui Mo %% This is free software: you can redistribute it and/or modify it @@ -14,7 +14,7 @@ macros package] %%%%% -------------------------------------------------------------------------------- %% -%%%%********************************Declare Options*********************************** +%%%%******************************* Declare Options ********************************** %% %% end-user parameters, each option is declared by one declare option command \DeclareOption*{% handle non-implemented options @@ -24,12 +24,53 @@ macros package] \ProcessOptions\relax %%%%% -------------------------------------------------------------------------------- %% -%%%%***************************User Defined Command*********************************** +%%%%************************** User Defined Command ********************************** +%% +%%% >>> Notice +%% +%% -- \newcommand: defines a new command, makes an error if already defined +%% -- \renewcommand: redefines a predefined command, makes an error if not yet defined +%% -- \providecommand: defines a new command, if already defined, keep old definition +%% -- \def: define a command whether new or predefined, equivalent to +%% \providecommand{name}{}% +%% \renewcommand{name}[number of arguments][default value]{definition} +%% +%%% >>> Math functions +%% +%% International standard layout rules (from isomath package) +%% -- The overall rule is that symbols representing math quantities or variables should +%% be italicised, symbols representing units or labels are unitalicised (roman). +%% -- Symbols for vectors and matrices are bold italic, symbols for tensors are +%% sans-serif bold italic. +%% -- The above rules apply equally to letter symbols from the Greek and +%% the Latin alphabet. +%% -- More information may be found in <> +%% However, math typefaces vary from field to field. To keep consistent typography +%% and easy adaption, it it always best to create a corresponding command for +%% variables in each math category. +%\providecommand{\Scalar}[1]{#1}% Scalar is the normal math typeset, italic +\providecommand{\Vector}[1]{\boldsymbol{#1}}% General vectors in bold italic +%\renewcommand{\vec}[1]{\Vector{#1}}% redefine predefined vector if needed +\providecommand{\unitVector}[1]{\boldsymbol{\mathbf{#1}}}% Unit vectors in bold roman +\providecommand{\Tensor}[1]{\boldsymbol{\mathsf{#1}}}% Tensor in sans-serif bold italic +\providecommand{\unitTensor}[1]{\boldsymbol{{\mathsf{#1}}}}% Identity tensor in sans-serif bold +\providecommand{\Matrix}[1]{\boldsymbol{\mathbf{#1}}}% Matrix in bold roman +\providecommand{\unitMatrix}[1]{\boldsymbol{\mathbf{#1}}}% Identity matrix in bold roman +\providecommand{\Unit}[1]{\,\mathrm{#1}}% Units in roman +\providecommand{\Const}[1]{\mathrm{#1}}% Math constants, functions, operators +\providecommand{\Set}[1]{\mathbb{#1}}% Special sets (e.g. real numbers) in blackboard bold +\providecommand{\Div}[1]{\operatorname{div}\left(#1\right)}% divergence math operator %% %%% >>> Graphic Length Factor %% -\newcommand*{\MyFactor}{0.6}% for single figure -\newcommand*{\MySubFactor}{0.4}% for subfigure +\newcommand*{\MyFactor}{0.8}% for single figure +\newcommand*{\MySubFactor}{0.48}% for subfigure +%% +%%% >>> Nomenclature item +%% +\newcommand{\nomenclatureitem}[3][ ]{% + \noindent\makebox[0.15\textwidth][l]{#2}{{#3}\hfill{#1}}\par +} %% %%% >>> Add content link to the table of content and bookmark %% @@ -41,15 +82,9 @@ macros package] \phantomsection% use for adobe bookmark. \addcontentsline{toc}{#1}{#2}% add content #2 to toc as #1 } -%% -%%% >>> Define a command for Nomenclature -%% -\newcommand{\nomenclatureitem}[3][ ]{ - \noindent\makebox[0.15\textwidth][l]{#2}{{#3}\hfill{#1}}\par -} %%%%% -------------------------------------------------------------------------------- %% -%%%%*****************************User Configuration*********************************** +%%%%**************************** User Configuration ********************************** %% %% %%% >>> Space and Skip diff --git a/Style/ucasthesis.cfg b/Style/ucasthesis.cfg index 8181464b..953ab02d 100644 --- a/Style/ucasthesis.cfg +++ b/Style/ucasthesis.cfg @@ -9,11 +9,11 @@ %%%% This is the configuration file of the ucasthesis package. %% \ProvidesFile{ucasthesis.cfg} - [2016/03/05 v1.0 ucasthesis + [2014/10/01 v1.0 ucasthesis configuration file] %%%%% -------------------------------------------------------------------------------- %% -%%%%******************** config chinese labels in ctex ******************************* +%%%%******************** Config Chinese Labels in Ctex ******************************* %% \renewcommand*{\contentsname}{目\quad 录} \renewcommand*{\listfigurename}{图形列表} @@ -21,7 +21,7 @@ \renewcommand*{\bibname}{参考文献} %%%%% -------------------------------------------------------------------------------- %% -%%%%********************** labels in chinese titlepage ******************************* +%%%%********************** Labels in Chinese Titlepage ******************************* %% \def\UCAS@label@confidential{密级:} \def\UCAS@label@thesis{学位论文} @@ -32,7 +32,7 @@ \def\UCAS@label@institute{培养单位:} %%%%% -------------------------------------------------------------------------------- %% -%%%%********************** values in chinese titlepage ******************************* +%%%%********************** Values in Chinese Titlepage ******************************* %% \def\UCAS@value@confidential{} \def\UCAS@value@schoollogo{} @@ -48,12 +48,12 @@ \def\UCAS@value@chinesedate{\the\year~年~\the\month~月} %%%%% -------------------------------------------------------------------------------- %% -%%%%********************** labels in english titlepage ******************************* +%%%%********************** Labels in English Titlepage ******************************* %% %\def\UCAS@label@englishadvisor{Supervisor:} %%%%% -------------------------------------------------------------------------------- %% -%%%%********************** values in english titlepage ******************************* +%%%%********************** Values in English Titlepage ******************************* %% \def\UCAS@value@englishtitle{(English Title of Thesis)} \def\UCAS@value@englishauthor{(Author Name)} @@ -73,7 +73,7 @@ \UCAS@value@englishdegree\ of \UCAS@value@englishmajor} %%%%% -------------------------------------------------------------------------------- %% -%%%%********************** values in author's declaration **************************** +%%%%********************** Values in Author's Declaration **************************** %% \def\UCAS@value@declare@create{学位论文独创性声明} \def\UCAS@value@declare@creativity{% @@ -94,7 +94,7 @@ \def\UCAS@value@declare@rule{(保密的论文在解密后应遵守此规定)} %%%%% -------------------------------------------------------------------------------- %% -%%%%***************** configure labels of some environments ************************** +%%%%***************** Configure Labels of Some Environments ************************** %% \def\UCAS@label@abstract{摘\quad 要} \def\UCAS@label@englishabstract{Abstract} @@ -102,7 +102,7 @@ \def\UCAS@label@englishkeywords{Keywords:\ } %%%%% -------------------------------------------------------------------------------- %% -%%%%********************** configure structure environments ************************** +%%%%********************** Configure Structure Elements ****************************** %% %% chapter \def\CTEX@chapter@nameformat{\heiti\zihao{3}} diff --git a/Style/ucasthesis.cls b/Style/ucasthesis.cls index 6133686f..992cd923 100644 --- a/Style/ucasthesis.cls +++ b/Style/ucasthesis.cls @@ -1,6 +1,6 @@ %%%%% -------------------------------------------------------------------------------- %% -%%%%***************************** version information ******************************** +%%%%***************************** Version Information ******************************** %% %% Copyright (C) 2014-2018 Huangrui Mo %% This is free software: you can redistribute it and/or modify it @@ -10,7 +10,7 @@ %% \NeedsTeXFormat{LaTeX2e}[1995/12/01] \ProvidesClass{ucasthesis} - [2016/03/05 v1.0 ucasthesis + [2014/10/01 v1.0 ucasthesis document class] %%%%% -------------------------------------------------------------------------------- %% @@ -41,7 +41,7 @@ \ProcessOptions\relax %%%%% -------------------------------------------------------------------------------- %% -%%%%*************************** loadclass infomation ********************************* +%%%%*************************** Loadclass Infomation ********************************* %% \ifUCAS@doublesided% if double-sided printing enabled \LoadClass[UTF8,a4paper,twoside,fntef,12pt]{ctexbook} @@ -50,7 +50,7 @@ \fi %%%%% -------------------------------------------------------------------------------- %% -%%%%***************************** package infomation ********************************* +%%%%***************************** Package Infomation ********************************* %% %% color packages \RequirePackage[usenames,dvipsnames,table]{xcolor}% @@ -58,16 +58,16 @@ \RequirePackage{amsmath,amssymb,amstext} %%%%% -------------------------------------------------------------------------------- %% -%%%%************************ load class configuretion ******************************** +%%%%************************ Load Class Configuretion ******************************** %% \AtEndOfPackage{%class cfg loaded after package, makes commands at preamble take effect \makeatletter - \InputIfFileExists{ucasthesis.cfg}{}{} + \InputIfFileExists{Style/ucasthesis.cfg}{}{} \makeatother } %%%%% -------------------------------------------------------------------------------- %% -%%%%******************************* page layout ************************************** +%%%%******************************* Page Layout ************************************** %% %% part one -- horizontal widths %% left side width + textwidth + right side width = paperwidth @@ -101,7 +101,7 @@ \pagestyle{plain} %%%%% -------------------------------------------------------------------------------- %% -%%%%********************* some style control commands ******************************** +%%%%********************* Some Style Control Commands ******************************** %% %% redefine cleardoublepage to empty pages \def\cleardoublepage{\clearpage\if@twoside \ifodd\c@page\else @@ -114,7 +114,7 @@ \def\UCASunderline{\@ifnextchar[\UCAS@underline\CJKunderline} %%%%% -------------------------------------------------------------------------------- %% -%%%%********************** chinese titlepage items *********************************** +%%%%********************** Chinese Titlepage Items *********************************** %% \newcommand\confidential[1]{\def\UCAS@value@confidential{#1}} \newcommand\schoollogo[2]{\def\UCAS@value@schoollogo{\includegraphics[#1]{#2}}} @@ -133,7 +133,7 @@ \newcommand\chinesedate[1]{\def\UCAS@value@chinesedate{#1}} %%%%% -------------------------------------------------------------------------------- %% -%%%%**************************** make chinese titlepage ****************************** +%%%%**************************** Make Chinese Titlepage ****************************** %% \renewcommand\maketitle{% \cleardoublepage @@ -192,7 +192,7 @@ } %%%%% -------------------------------------------------------------------------------- %% -%%%%*********************** english titlepage items ********************************** +%%%%*********************** English Titlepage Items ********************************** %% \newcommand\englishtitle[1]{\def\UCAS@value@englishtitle{#1}} \newcommand\englishauthor[1]{\def\UCAS@value@englishauthor{#1}} @@ -203,7 +203,7 @@ \newcommand\englishdate[1]{\def\UCAS@value@englishdate{#1}} %%%%% -------------------------------------------------------------------------------- %% -%%%%*********************** make english titlepage *********************************** +%%%%*********************** Make English Titlepage *********************************** %% \newcommand\makeenglishtitle{% \cleardoublepage @@ -231,7 +231,7 @@ } %%%%% -------------------------------------------------------------------------------- %% -%%%%*********************** make author declaration *********************************** +%%%%*********************** Make Author Declaration *********************************** %% \newcommand\makedeclaration{% \cleardoublepage @@ -264,7 +264,7 @@ } %%%%% -------------------------------------------------------------------------------- %% -%%%%****************************** new environments ********************************** +%%%%****************************** New Environments ********************************** %% %% define chinese abstract \newenvironment{abstract} diff --git a/Tex/Chap_Guide.tex b/Tex/Chap_Guide.tex index e11823a0..2d331aac 100644 --- a/Tex/Chap_Guide.tex +++ b/Tex/Chap_Guide.tex @@ -33,7 +33,6 @@ \section{常见使用问题} 中的“Enable ANSI Format...”选项。 \item 若编译过程中出现无法找到某些“package”的错误,如无法找到“xcolor.sty”,程序一般可以自动下载和安装相应的文件,否则,请进入~\LaTeX{}软件的“package manager”下载,安装,并更新你的\LaTeX{}包裹库。 - \item 若不使用Compile.bat等编译脚本对本模板进行编译,则编译会出现无法找到相应文件的错误。 请在 "Thesis.tex" 和 "Main\textunderscore Content.tex" 中为所有文件提供完整的搜索路径。 如 \verb+\input{Appendix}+ 应改为 \verb+\input{./Tex/Appeddix}+。 \end{enumerate} \section{各文档及目录简介} @@ -44,7 +43,7 @@ \subsection{Thesis.tex文档 } \subsection{Compile.bat} -Compile.bat为编译此模板的Dos脚本,通过双击运行此脚本即可获得编译后的PDF文档,编译生成的文档及临时文件皆位于Tmp文件夹内。在此脚本中可以设定编译器为“pdflatex” or “xelatex” (default)。 +Compile.bat为编译此模板的Dos脚本,通过双击运行此脚本即可获得编译后的PDF文档,编译生成的文档及临时文件皆位于Tmp文件夹内。在此脚本中可以设定编译器为“pdflatex” or “xelatex”。你也可以选择不使用此脚本编译,如直接使用 WinEdit 编译。 \subsection{Tmp文件夹} @@ -85,7 +84,7 @@ \section{数学公式、图片插入、参考文献等功能} \subsection{数学公式} -常用数学公式的命令代码模板,请见如下WiKi:\url{http://zh.wikipedia.org/wiki/Help:%E6%95%B0%E5%AD%A6%E5%85%AC%E5%BC%8F} +常用数学公式的命令代码模板,请见如下WiKi:\url{https://en.wikibooks.org/wiki/LaTeX/Mathematics} \subsection{图片插入} diff --git a/Tex/Chap_Intro.tex b/Tex/Chap_Intro.tex index 38e4607c..744c043e 100644 --- a/Tex/Chap_Intro.tex +++ b/Tex/Chap_Intro.tex @@ -4,7 +4,7 @@ \chapter{引言} 考虑到大多数用户并无~\LaTeX{}~使用经验,本模板将~\LaTeX{}~的复杂性尽可能地进行了封装,开放出简单的接口,以便于使用者可以轻易地使用,同时,对使用~\LaTeX{}~撰写论文所遇到的一些主要难题,如插入图片、文献索引等,进行了详细的说明,并提供了相应的代码样本,理解了上述问题后,对于初学者而言,使用此模板撰写其学文论文将不存在实质性的困难,所以,如果您是初学者,请不要直接放弃,因为同样作为初学者的我,十分明白让~\LaTeX{}~变得简单易用的重要性,而这正是本模板所体现的. -此中国科学院大学学位论文模板~\texttt{ucasthesis}~基于吴凌云的~\texttt{CASthesis}~模板发展而来,~ucasthesis~文档类的基础架构为~ctexbook~文档类。当前~ucasthesis~ 模板满足最新的中国科学院大学学位论文撰写要求和封面设定。模板提供了~pdflatex~或~xelatex~(默认) 编译方式,完美地支持中文书签、中文渲染、中文粗体显示、拷贝~pdf~中的文本到其他文本编辑器等特性,此外,对模板的文档结构进行了精心设计,撰写了编译脚本提高模板的易用性和使用效率。 +此中国科学院大学学位论文模板~\texttt{ucasthesis}~基于吴凌云的~\texttt{CASthesis}~模板发展而来,~ucasthesis~文档类的基础架构为~ctexbook~文档类。当前~ucasthesis~ 模板满足最新的中国科学院大学学位论文撰写要求和封面设定。模板同时兼容~pdflatex~和~xelatex~ 编译方式,完美地支持中文书签、中文渲染、中文粗体显示、拷贝~pdf~中的文本到其他文本编辑器等特性,此外,对模板的文档结构进行了精心设计,撰写了编译脚本提高模板的易用性和使用效率。 宏包的目的是简化学位论文的撰写,模板文档的默认设定是十分规范的,从而论文作者可以将精力集中到论文的内容上,而不需要在版面设置上花费精力。 同时,在编写模板的~\LaTeX{}~文档代码过程中,作者对各结构和命令进行了十分详细的注解,并提供了整洁一致的代码结构,对文档的仔细阅读可以为初学的您提供一个学习~\LaTeX{}~的窗口。除此之外,整个模板的架构十分注重通用性,事实上,本模板不仅是中国科学院大学学文论文模板,同时,也是使用~\LaTeX{}~撰写中英文~article~或~book~的通用模板,并为使用者的个性化设定提供了接口和相应的代码。 @@ -16,6 +16,8 @@ \section{问题反馈} \begin{center} 莫晃锐 (mohuangrui) \quad mohuangrui@gmail.com + +模版下载地址: \url{https://github.com/mohuangrui/ucasthesis} \end{center} 欢迎大家反馈自己的使用情况,使我们可以不断改进宏包。 diff --git a/Tex/Main_Content.tex b/Tex/Main_Content.tex index c893c673..106a7481 100644 --- a/Tex/Main_Content.tex +++ b/Tex/Main_Content.tex @@ -1,8 +1,8 @@ %%%%% -------------------------------------------------------------------------------- %% -%%%%********************************Main Content************************************** +%%%%******************************* Main Content ************************************* %% %%% ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -\input{Chap_Intro} -\input{Chap_Guide} +\input{Tex/Chap_Intro} +\input{Tex/Chap_Guide} %%% ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ diff --git a/Tex/Prematter.tex b/Tex/Prematter.tex index 56a302c6..961a68a9 100644 --- a/Tex/Prematter.tex +++ b/Tex/Prematter.tex @@ -5,23 +5,60 @@ \chapter{符号列表} \section*{Characters} \nomenclatureitem[\textbf{Unit}]{\textbf{Symbol}}{\textbf{Description}} -\nomenclatureitem{$a$}{empirical stoichiometric coefficient} -\nomenclatureitem[$m/s$]{$c$}{frozon sound speed} -\nomenclatureitem{$\alpha$}{velocity transmission factor} -\nomenclatureitem{$\beta$}{temperature transmission factor} - -\section*{Subscripts} -\nomenclatureitem{\textbf{Symbol}}{\textbf{Description}} -\nomenclatureitem{$CJ$}{Chapman-Jouguet state} -\nomenclatureitem{$c$}{convection} +\nomenclatureitem[$\Unit{m^{2} \cdot s^{-2} \cdot K^{-1}}$]{$R$}{the gas constant} +\nomenclatureitem[$\Unit{m^{2} \cdot s^{-2} \cdot K^{-1}}$]{$C_v$}{specific heat capacity at constant volume} +\nomenclatureitem[$\Unit{m^{2} \cdot s^{-2} \cdot K^{-1}}$]{$C_p$}{specific heat capacity at constant pressure} +\nomenclatureitem[$\Unit{m^{2} \cdot s^{-2}}$]{$e_T$}{specific total energy} +\nomenclatureitem[$\Unit{m^{2} \cdot s^{-2}}$]{$e$}{specific internal energy} +\nomenclatureitem[$\Unit{m^{2} \cdot s^{-2}}$]{$h_T$}{specific total enthalpy} +\nomenclatureitem[$\Unit{m^{2} \cdot s^{-2}}$]{$h$}{specific enthalpy} +\nomenclatureitem[$\Unit{kg \cdot m \cdot s^{-3} \cdot K^{-1}}$]{$k$}{thermal conductivity} +\nomenclatureitem[$\Unit{K}$]{$T$}{temperature} +\nomenclatureitem[$\Unit{s}$]{$t$}{time} +\nomenclatureitem[$\Unit{kg \cdot m^{-1} \cdot s^{-2}}$]{$p$}{thermodynamic pressure} +\nomenclatureitem[$\Unit{kg \cdot m^{-1} \cdot s^{-2}}$]{$\hat{p}$}{hydrostatic pressure} +\nomenclatureitem[$\Unit{kg \cdot m^{-2} \cdot s^{-2}}$]{$\Vector{f}_b$}{body force} +\nomenclatureitem[$\Unit{m^2}$]{$\mathrm{S}$}{boundary surface} +\nomenclatureitem[$\Unit{m^3}$]{$\mathrm{V}$}{volume} +\nomenclatureitem[$\Unit{m \cdot s^{-1}}$]{$\Vector{V}$}{velocity vector} +\nomenclatureitem[$\Unit{m \cdot s^{-1}}$]{$u$}{x component of velocity} +\nomenclatureitem[$\Unit{m \cdot s^{-1}}$]{$v$}{y component of velocity} +\nomenclatureitem[$\Unit{m \cdot s^{-1}}$]{$w$}{z component of velocity} +\nomenclatureitem[$\Unit{m \cdot s^{-1}}$]{$c$}{speed of sound} +\nomenclatureitem[$\Unit{m}$]{$\Vector{r}$}{position vector} +\nomenclatureitem[$\Unit{1}$]{$\unitVector{n}$}{unit normal vector} +\nomenclatureitem[$\Unit{1}$]{$\hat{\unitVector{t}}$}{unit tangent vector} +\nomenclatureitem[$\Unit{1}$]{$\tilde{\unitVector{t}}$}{unit bitangent vector} +\nomenclatureitem[$\Unit{1}$]{$C_R$}{coefficient of restitution} +\nomenclatureitem[$\Unit{1}$]{$Re$}{Reynolds number} +\nomenclatureitem[$\Unit{1}$]{$Pr$}{Prandtl number} +\nomenclatureitem[$\Unit{1}$]{$Ma$}{Mach number} +\nomenclatureitem[$\Unit{m^2 \cdot s^{-1}}$]{$\alpha$}{thermal diffusivity} +\nomenclatureitem[$\Unit{kg \cdot m^{-1} \cdot s^{-1}}$]{$\mu$}{dynamic viscosity} +\nomenclatureitem[$\Unit{m^2 \cdot s^{-1}}$]{$\nu$}{kinematic viscosity} +\nomenclatureitem[$\Unit{1}$]{$\gamma$}{heat capacity ratio} +\nomenclatureitem[$\Unit{kg \cdot m^{-3}}$]{$\rho$}{density} +\nomenclatureitem[$\Unit{kg \cdot m^{-1} \cdot s^{-2}}$]{$\sigma_{ij}$}{stress tensor} +\nomenclatureitem[$\Unit{kg \cdot m^{-1} \cdot s^{-2}}$]{$S_{ij}$}{deviatoric stress tensor} +\nomenclatureitem[$\Unit{kg \cdot m^{-1} \cdot s^{-2}}$]{$\tau_{ij}$}{viscous stress tensor} +\nomenclatureitem[$\Unit{1}$]{$\delta_{ij}$}{Kronecker tensor} +\nomenclatureitem[$\Unit{1}$]{$I_{ij}$}{identity tensor} \section*{Operators} \nomenclatureitem{\textbf{Symbol}}{\textbf{Description}} -\nomenclatureitem{$\triangledown$}{difference} +\nomenclatureitem{$\Delta$}{difference} \nomenclatureitem{$\nabla$}{gradient operator} +\nomenclatureitem{$\delta^{\pm}$}{upwind-biased interpolation scheme} \section*{Abbreviations} \nomenclatureitem{\textbf{Acronym}}{\textbf{Description}} +\nomenclatureitem{ANFO}{Ammonium Nitrate Fuel Oil} +\nomenclatureitem{CFD}{Computational Fluid Dynamics} +\nomenclatureitem{CFL}{Courant-Friedrichs-Lewy} \nomenclatureitem{CJ}{Chapman-Jouguet} +\nomenclatureitem{EOS}{Equation of State} +\nomenclatureitem{JWL}{Jones-Wilkins-Lee} +\nomenclatureitem{TVD}{Total Variation Diminishing} +\nomenclatureitem{WENO}{Weighted Essentially Non-oscillatory} \nomenclatureitem{ZND}{Zel'dovich-von Neumann-Doering} diff --git a/Thesis.tex b/Thesis.tex index f26638bc..3b4ed2c7 100644 --- a/Thesis.tex +++ b/Thesis.tex @@ -10,9 +10,9 @@ %% (at your option) any later version. %%%%% -------------------------------------------------------------------------------- %% -%%%%*************************Document Class Declaration******************************* +%%%%************************ Document Class Declaration ****************************** %% -\documentclass[doublesided]{ucasthesis}% thesis template of UCAS +\documentclass[doublesided]{Style/ucasthesis}% thesis template of UCAS %% Multiple optional arguments: %% [scheme = plain] % for thesis writing of international students %% [] % single-sided, double-sided, or print layout @@ -21,9 +21,9 @@ %% [standard options for ctex class] %%%%% -------------------------------------------------------------------------------- %% -%%%%**************************Command Define and Settings***************************** +%%%%************************* Command Define and Settings **************************** %% -\usepackage[myhdr]{commons}% common settings +\usepackage[myhdr]{Style/commons}% common settings %% usage: \usepackage[option1,option2,...,optionN]{commons} %% Multiple optional arguments: %% [] % citation and reference style @@ -38,24 +38,24 @@ %% [background] % enable page background, will auto enable color package %% [tikz] % enable tikz for complex diagrams, will auto enbale color package %% [table] % enable a table package for complex tables, default is ctable -%% [math] % enable some extra math packages for typesetting numbers and units -\usepackage{custom}% user defined commands +%% [math] % enable some extra math packages +\usepackage{Style/custom}% user defined commands %%%%% -------------------------------------------------------------------------------- %% -%%%%*********************************Content****************************************** +%%%%******************************** Content ***************************************** %% \begin{document} %% %%%%% -------------------------------------------------------------------------------- %% -%%%%*********************************Frontmatter************************************** +%%%%******************************** Frontmatter ************************************* %% %% Frontmatter of Title page, Table of contents, Preface chapter. \frontmatter %% %% >>> Frontpages %% -\input{Frontpages} +\input{Tex/Frontpages} %% %%% >>> List of Content %% @@ -67,28 +67,28 @@ %% %% >>> prematter %% -\input{Prematter}% list of symbols, preface of books +\input{Tex/Prematter}% list of symbols, preface of books %% %%%%% -------------------------------------------------------------------------------- %% -%%%%*********************************Mainmatter*************************************** +%%%%******************************** Mainmatter ************************************** %% %% Main topics. \mainmatter %% %%% >>> Main Contents %% -\input{Main_Content}% +\input{Tex/Main_Content}% %%%%% -------------------------------------------------------------------------------- %% -%%%%*********************************Appendix***************************************** +%%%%******************************** Appendix **************************************** %% %% Some subordinate chapters. \appendix% -\input{Appendix}% +\input{Tex/Appendix}% %%%%% -------------------------------------------------------------------------------- %% -%%%%********************************Backmatter**************************************** +%%%%******************************* Backmatter *************************************** %% %% Matters of Bibliography, Glossary, Index. \backmatter @@ -96,11 +96,11 @@ %%% >>> Bibliography %% \intotoc{参考文献}% add a corresponding item to the contents table and bookmark -\bibliography{Myrefs}% +\bibliography{Biblio/Myrefs}% %% %%% >>> Other contents %% -\input{Backmatter} +\input{Tex/Backmatter} %% \end{document} %%%%% --------------------------------------------------------------------------------