Skip to content

Commit

Permalink
fix contents indent #36. (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
LaureatePoet authored May 28, 2022
1 parent 701da11 commit 6f0efda
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions hfutthesis.cls
Original file line number Diff line number Diff line change
Expand Up @@ -2817,15 +2817,15 @@
\else
\titlecontents{chapter}
[\z@]{\bfseries\normalsize}
{\contentspush{\thecontentslabel\unskip\hspace{\ccwd}}}{}
{\contentspush{\thecontentslabel\unskip\hspace{0.5\ccwd}}}{}
{\hfut@leaders\contentspage}
\titlecontents{section}
[\ccwd]{\normalsize}
{\contentspush{\thecontentslabel\hspace{\ccwd}}}{}
[2\ccwd]{\normalsize}
{\contentspush{\thecontentslabel\hspace{0.5\ccwd}}}{}
{\hfut@leaders\contentspage}
\titlecontents{subsection}
[2\ccwd]{\normalsize}
{\contentspush{\thecontentslabel\hspace{\ccwd}}}{}
[4\ccwd]{\normalsize}
{\contentspush{\thecontentslabel\hspace{0.5\ccwd}}}{}
%\ifhfut@section@style@arabic\hspace{\ccwd}\else 、\fi}}{}
{\hfut@leaders\contentspage}
\fi
Expand Down Expand Up @@ -2859,7 +2859,7 @@
\newlength{\hfut@lof@label@width}
\newcommand\hfut@set@lof@format{%
\settowidth{\hfut@lof@label@width}{\figurename~9.99}%
\addtolength{\hfut@lof@label@width}{1em}%
\addtolength{\hfut@lof@label@width}{0.5\ccwd}%
\titlecontents{figure}%
[\hfut@lof@label@width]{\normalsize}%
{\contentslabel[\figurename~\thecontentslabel]{\hfut@lof@label@width}}{}%
Expand Down

0 comments on commit 6f0efda

Please sign in to comment.