Skip to content

Commit

Permalink
Stable Release v1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
HuangruiMo committed May 24, 2016
1 parent 5d40db0 commit d8ddf1a
Show file tree
Hide file tree
Showing 4 changed files with 67 additions and 7 deletions.
Binary file modified HowToUse.pdf
Binary file not shown.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,11 @@ LATEX thesis template for The University of Chinese Academy of Sciences 中国
Change log:
==========

2016-04-25 Stable Release v1.0
2016-05-24 Stable Release v1.0
==========

2016-05-24 Add dotted line for chapers in the table of contents.

2016-04-25 Use the pdf version of UCAS logo from "xiaoyao9933/UCASthesis". Use the GBT bibliography style from "ustctug/gbt-7714-2015".

2016-04-19 Correct the sequence of "List of Figures" and "List of Tables".
Expand Down
58 changes: 58 additions & 0 deletions Style/ucasthesis.cls
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,64 @@
\newcommand\englishkeywords[1]{%
\vspace{2ex}\noindent{\zihao{4}\bfseries \UCAS@label@englishkeywords} #1}
%%%%% --------------------------------------------------------------------------------
%%
%%%%**************************** Dotted Line in TOC **********************************
%%
%% define spacing and length
\def\@dotsep{1.5mu}% spacing for dots
\def\@pnumwidth{2em}% spacing between titles and page numbers
\def\@tocrmarg{2em}% right margin indentation
\def\@chaptervspace{8bp}% spacing between chapter titles
\def\@dottedtocline#1#2#3#4#5{%
\ifnum #1>\c@tocdepth \else
\vskip \z@ \@plus.2\p@
{\leftskip #2\relax \rightskip \@tocrmarg \parfillskip -\rightskip
\parindent #2\relax\@afterindenttrue
\interlinepenalty\@M
\leavevmode
\@tempdima #3\relax
\advance\leftskip \@tempdima \null\nobreak\hskip -\leftskip
{#4}\nobreak
\leaders\hbox{$\m@th\mkern \@dotsep \cdot\mkern \@dotsep$}\hfill
\nobreak
\hb@xt@\@pnumwidth{\hfil\normalfont \normalcolor #5}%
\par\penalty\@highpenalty}%
\fi}
\renewcommand*\l@part[2]{%
\ifnum \c@tocdepth >-2\relax
\addpenalty{-\@highpenalty}%
\addvspace{2.25em \@plus\p@}%
\setlength\@tempdima{3em}%
\begingroup
\parindent \z@ \rightskip \@pnumwidth
\parfillskip -\@pnumwidth
{\leavevmode
\large \bfseries #1
\leaders\hbox{$\m@th\mkern \@dotsep \cdot\mkern \@dotsep$}
\hfil \hb@xt@\@pnumwidth{\hss #2}}\par
\nobreak
\global\@nobreaktrue
\everypar{\global\@nobreakfalse\everypar{}}%
\endgroup
\fi}
\renewcommand*\l@chapter[2]{%
\ifnum \c@tocdepth >\m@ne
\addpenalty{-\@highpenalty}%
\vskip \@chaptervspace \@plus\p@
\setlength\@tempdima{1.5em}%
\begingroup
\parindent \z@ \rightskip \@pnumwidth
\parfillskip -\@pnumwidth
\leavevmode \bfseries
\advance\leftskip\@tempdima
\hskip -\leftskip
#1\nobreak
\leaders\hbox{$\m@th\mkern \@dotsep \cdot\mkern \@dotsep$}
\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par
\penalty\@highpenalty
\endgroup
\fi}
%%%%% --------------------------------------------------------------------------------
\endinput
%% End of file `ucasthesis.cls'.
%%%%% --------------------------------------------------------------------------------
12 changes: 6 additions & 6 deletions Tex/Frontpages.tex
Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,17 @@
%%
%%% >>> Abstract
%%
%\chapter{摘\quad 要}% does not show the title on the top
\begin{abstract}% will show the title on the top
\chapter{\quad}% does not show the title on the top
%\begin{abstract}% will show the title on the top
本文是中国科学院大学学位论文模板ucasthesis的使用说明文档。主要内容为介绍\LaTeX{}文档类ucasthesis的用法,以及如何使用\LaTeX{}快速高效地撰写学位论文。

\keywords{中国科学院大学,学位论文,\LaTeX{}模板}
\end{abstract}
%\end{abstract}


%\chapter{Abstract}% does not show the title on the top
\begin{englishabstract}% will show the title on the top
\chapter{Abstract}% does not show the title on the top
%\begin{englishabstract}% will show the title on the top
This paper is a help documentation for the \LaTeX{} class ucasthesis, which is a thesis template for the University of Chinese Academy of Sciences. The main content is about how to use the ucasthesis, as well as how to write thesis efficiently by using \LaTeX{}.

\englishkeywords{University of Chinese Academy of Sciences (UCAS), Thesis, \LaTeX{} Template}
\end{englishabstract}
%\end{englishabstract}

0 comments on commit d8ddf1a

Please sign in to comment.