Skip to content

Commit

Permalink
add some minor details
Browse files Browse the repository at this point in the history
Former-commit-id: 89e99d0
  • Loading branch information
HuangruiMo committed Nov 27, 2019
1 parent c317ccb commit 338d98c
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 12 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

## 重要建议

* 关于 LaTeX 的知识性问题,请查阅 [ucasthesis 知识小站](https://github.com/mohuangrui/ucasthesis/wiki)[LaTeX Wikibook](https://en.wikibooks.org/wiki/LaTeX)
* 关于模板编译和样式设计的问题,请先仔细阅读 **模板使用说明.pdf** 并遵从提问流程
* 关于 LaTeX 的知识性问题,请查阅 [LaTeX 知识小站](https://github.com/mohuangrui/ucasthesis/wiki)[LaTeX Wikibook](https://en.wikibooks.org/wiki/LaTeX),如发问需前往 [CTeX Forum](https://github.com/CTeX-org/forum)
* 关于 ucasthesis 编译和设计的问题,请先读 **模板使用说明.pdf**,如发问需遵从[提问流程](https://github.com/mohuangrui/ucasthesis/wiki/%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98)
* 使用邮件传播 ucasthesis 时,请先删除 `artratex.bat` 以防范 Dos 脚本的潜在风险。
* 开题报告请见:[ucasproposal: 中国科学院大学开题报告 LaTeX 模板](https://github.com/mohuangrui/ucasproposal)
* 书脊制作请见:[latexspine: LaTeX 书脊模板](https://github.com/mohuangrui/latexspine)
Expand Down
28 changes: 22 additions & 6 deletions Style/artracom.sty
Original file line number Diff line number Diff line change
Expand Up @@ -27,21 +27,37 @@
%-
\ProcessOptions\relax%
%---------------------------------------------------------------------------%
%->> User added packages
%---------------------------------------------------------------------------%
%- this part adds normal packages
%\RequirePackage{chemfig}% draw 2D chemical structures
%\RequirePackage{mhchem}% typeset chemical formulae [mhchem|chemformula]

%- this part adds packages that should be loaded at the very end
\AtEndPreamble{%
%\RequirePackage{cleveref}% clever cross-referencing
}
%---------------------------------------------------------------------------%
%->> User defined commands
%---------------------------------------------------------------------------%
%-
%-> General information
%-
%- \def\macroname#1<sep1>#2<sep2>{macro content, use of argument #1, #2 ...}
%- each parameter #n is the shortest possible input sequence that matches the
%- macro definition, separators included. Without separators, then Plain TeX
%- macros are used just as LaTeX macros (without default parameter):
%- \def\macroname#1#2#3{...} -> \newcommand{macroname}[3]{...}
%- \def: define a command whether new or predefined, equivalent to
%- \providecommand{macroname}{}%
%- \renewcommand*{macroname}[number of arguments][default value]{definition}
%- \long\def: define a command whether new or predefined, equivalent to
%- \providecommand{macroname}{}%
%- \renewcommand{macroname}[number of arguments][default value]{definition}
%- \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
%- *-forms: enable error check for missing arguments or arguments contain \par
%- \def: define a command whether new or predefined, equivalent to
%- \providecommand{name}{}%
%- \renewcommand*{name}[number of arguments][default value]{definition}
%- \long\def: define a command whether new or predefined, equivalent to
%- \providecommand{name}{}%
%- \renewcommand{name}[number of arguments][default value]{definition}
%- *-forms that are usually the better form to use when defining commands with
%- arguments, unless any of these arguments is intended to contain whole paragraphs
%- of text. If you need to use the non-star form then you should ask whether that
Expand Down
4 changes: 2 additions & 2 deletions Style/artratex.sty
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@
\setCJKsansfont{SimHei}[AutoFakeBold=2.5]%
\setCJKmonofont{FangSong}%
\else\ifartx@mac%
\setCJKmainfont{Songti SC}[
\setCJKmainfont{Songti SC}[%
UprightFont = * Light,
BoldFont = * Bold,
ItalicFont = Kaiti SC,
Expand Down Expand Up @@ -543,7 +543,7 @@
\RequirePackage{hyperref}% load at last
\hypersetup{% set hyperlinks
pdfencoding=auto,% allows non-Latin based languages in bookmarks
%psdextra=true,% extra support for math symbols in bookmarks
psdextra=true,% extra support for math symbols in bookmarks
%bookmarks=true,% show bookmarks bar
bookmarksnumbered=true,% put section numbers in bookmarks
pdftitle={\@title},% title
Expand Down
2 changes: 1 addition & 1 deletion Style/ucasthesis.cls
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@
\def\maketitle{\maketitle@pdc}
\def\MAKETITLE{\MAKETITLE@pdc}
}{%
\ClassError{ucasthesis}{Invalid value of '\string\DEGREE'}{Please check the spelling}%
\ClassWarning{ucasthesis}{Invalid value of '\string\DEGREE', please check the spelling}%
}}}}%
}
%-
Expand Down
7 changes: 6 additions & 1 deletion Tex/Backmatter.tex
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,12 @@ \subsection*{ucasthesis作者}

\section*{已发表(或正式接受)的学术论文:}

[1] ucasthesis: A LaTeX Thesis Template for the University of Chinese Academy of Sciences, 2014.
{
\setlist[enumerate]{}% restore default behavior
\begin{enumerate}[nosep]
\item ucasthesis: A LaTeX Thesis Template for the University of Chinese Academy of Sciences, 2014.
\end{enumerate}
}

\section*{申请或已获得的专利:}

Expand Down

0 comments on commit 338d98c

Please sign in to comment.