Skip to content

Commit

Permalink
sjtuthesis.cls: reset algorithm counter
Browse files Browse the repository at this point in the history
Closes #186
Thanks https://github.com/goodbest

Signed-off-by: Ce Gao <ce.gao@outlook.com>
  • Loading branch information
gaocegege authored and weijianwen committed May 28, 2017
1 parent 8ede6b0 commit c0a3a65
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sjtuthesis.cls
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,9 @@

}

% Ref https://github.com/weijianwen/SJTUThesis/issues/186
\@addtoreset{algorithm}{chapter}% algorithm counter resets every chapter

% Floating parameters
\renewcommand{\textfraction}{0.15}
\renewcommand{\topfraction}{0.85}
Expand Down

0 comments on commit c0a3a65

Please # to comment.