Skip to content

Commit

Permalink
Fix toc name of listoffigures/tables for graduate
Browse files Browse the repository at this point in the history
  • Loading branch information
TheNetAdmin committed Sep 11, 2019
1 parent df1c5cb commit b65c097
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions config/format/general/layout.tex
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,22 @@
\setlength{\cftbeforechapskip} {0em}
}

% graduate template listoffigures/tables
\ifthenelse{\equal{\Degree}{graduate}}
{
% listoffigures
\newlength{\listoffiguresnamelen}
\renewcommand{\cftfigpresnum}{\figurename\enspace}
\settowidth{\listoffiguresnamelen}{\cftfigpresnum\cftfigaftersnum}
\addtolength{\cftfignumwidth}{\listoffiguresnamelen}
% listoftables
\newlength{\listoftablesnamelen}
\renewcommand{\cfttabpresnum}{\tablename\enspace}
\settowidth{\listoftablesnamelen}{\cfttabpresnum\cfttabaftersnum}
\addtolength{\cfttabnumwidth}{\listoftablesnamelen}
}
{}

% Change biblography title style for `biblatex`
\ifthenelse{\equal{\Degree}{undergraduate}}
{
Expand Down
2 changes: 1 addition & 1 deletion config/version.tex
Original file line number Diff line number Diff line change
@@ -1 +1 @@
\newcommand{\zjuthesisversion}{4.0.4}
\newcommand{\zjuthesisversion}{4.1.0}

0 comments on commit b65c097

Please sign in to comment.