diff options
author | Karl Berry <karl@freefriends.org> | 2020-01-10 21:41:08 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-01-10 21:41:08 +0000 |
commit | f53dd329bdfa3a20947143b0ab7fc79dd58127dd (patch) | |
tree | a138ae65bfe465367d90fe556187589a38ff3d1b /Master/texmf-dist/tex/latex/hithesis/hithesis.cls | |
parent | 3989bfaa1733823f10b6b69a2e61c3905ae8492a (diff) |
hithesis (10jan20)
git-svn-id: svn://tug.org/texlive/trunk@53362 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/hithesis/hithesis.cls')
-rw-r--r-- | Master/texmf-dist/tex/latex/hithesis/hithesis.cls | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/latex/hithesis/hithesis.cls b/Master/texmf-dist/tex/latex/hithesis/hithesis.cls index e9dc36c4c86..03b9b1d3059 100644 --- a/Master/texmf-dist/tex/latex/hithesis/hithesis.cls +++ b/Master/texmf-dist/tex/latex/hithesis/hithesis.cls @@ -8,7 +8,7 @@ %% %% This is a generated file. %% -%% Copyright (C) 2017-2019 by Chu Yanshuo <yanshuoc@gmail.com> +%% Copyright (C) 2017-2020 by Chu Yanshuo <yanshuoc@gmail.com> %% %% This file may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3a @@ -25,7 +25,7 @@ %% \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesClass{hithesis} -[2018/12/05 2.0.6 Harbin Institute of Technology Thesis Template] +[2019/06/27 2.0.11 Harbin Institute of Technology Thesis Template] \RequirePackage{ifthen} \RequirePackage{kvoptions} \SetupKeyvalOptions{ @@ -58,6 +58,7 @@ \DeclareBoolOption[false]{subtitle} \DeclareBoolOption[false]{debug} \DeclareBoolOption[false]{openright} +\DeclareBoolOption[false]{library} \DeclareBoolOption[false]{capcenterlast} \DeclareBoolOption[false]{subcapcenterlast} \DeclareBoolOption[false]{absupper} @@ -211,6 +212,7 @@ foot=8.5true mm \newindex[]{china} \newindex[]{english} \RequirePackage{xltxtra} +\ifhit@library\hit@openrightfalse\else\relax\fi \let\hit@cleardoublepage\cleardoublepage \newcommand{\hit@clearemptydoublepage}{% \clearpage{\pagestyle{hit@empty}\hit@cleardoublepage} @@ -222,18 +224,20 @@ foot=8.5true mm \pagenumbering{Roman} \pagestyle{hit@empty} } - \renewcommand\mainmatter{% \ifhit@tocblank% \addtocontents{toc}{\vspace{\baselineskip}} %规范中并没有这一要求,此处不应该加 \addtocontents{toe}{\vspace{\baselineskip}} \fi% - \ifhit@openright\cleardoublepage\else\clearpage\fi + \ifhit@doctor% + \ifhit@library\clearpage\else\cleardoublepage\fi + \else% + \clearpage + \fi% \@mainmattertrue \pagenumbering{arabic} \pagestyle{hit@headings} } - \renewcommand\backmatter{% \ifhit@openright\cleardoublepage\else\clearpage\fi \@mainmattertrue} @@ -246,6 +250,7 @@ foot=8.5true mm \def\hit@def@fontsize#1#2{% \expandafter\newcommand\csname #1\endcsname[1][1.3]{% \fontsize{#2}{##1\dimexpr #2}\selectfont}} +\hit@def@fontsize{dachu}{58bp} \hit@def@fontsize{chuhao}{42bp} \hit@def@fontsize{xiaochu}{36bp} \hit@def@fontsize{yihao}{26bp} @@ -356,7 +361,7 @@ foot=8.5true mm \renewcommand{\eqref}[1]{\textup{(\ref{#1})}} \setlength{\intextsep}{\ifhit@glue 8.50398bp \@plus 2.83465bp \@minus 0bp\else 8.50398bp\fi} \setlength{\textfloatsep}{\ifhit@glue 8.50398bp \@plus 2.83465bp \@minus 0bp\else 8.50398bp\fi} -\setlength{\floatsep}{\ifhit@glue 20.50398bp \@plus 2.83465bp \@minus 0bp\else 20.50398bp\fi} +\setlength{\floatsep}{\ifhit@glue 12bp \@plus 2.83465bp \@minus 0bp\else 12bp\fi} \g@addto@macro\appendix{\renewcommand*{\thefigure}{\thechapter-\arabic{figure}}} \g@addto@macro\appendix{\renewcommand*{\thetable}{\thechapter-\arabic{table}}} \g@addto@macro\appendix{\renewcommand*{\theequation}{\thechapter-\arabic{equation}}} @@ -834,16 +839,16 @@ foot=8.5true mm \xiaosi[1]% \begin{titlepage} \hit@first@titlepage - \cleardoublepage + \ifhit@library\clearpage\else\cleardoublepage\fi \hit@second@titlepage - \cleardoublepage + \ifhit@library\clearpage\else\cleardoublepage\fi \ifhit@bachelor \relax \else \phantomsection \pdfbookmark[0]{\hit@etitle}{etitle} \hit@engcover - \cleardoublepage + \ifhit@library\clearpage\else\cleardoublepage\fi \fi \end{titlepage} \normalsize @@ -924,7 +929,7 @@ foot=8.5true mm \advance\leftskip\@tempdima \hskip -\leftskip % numberline is called here, and it uses \@tempdima - {\ifhit@bachelor\sffamily\else\csname hit@toc@font\endcsname\fi\heiti #1} + {\ifhit@bachelor\rmfamily\else\csname hit@toc@font\endcsname\fi\heiti #1} \leaders\hbox{$\m@th\mkern \@dotsep mu\hbox{.}\mkern \@dotsep mu$}\hfill \nobreak{\normalfont\normalcolor #2}\par \penalty\@highpenalty @@ -1068,6 +1073,7 @@ foot=8.5true mm \let\p@enumiv\@empty \renewcommand\theenumiv{\@arabic\c@enumiv}}% \sloppy\frenchspacing + \flushbottom \ifhit@splitbibitem \clubpenalty0 \@clubpenalty \clubpenalty |