Skip to content

Commit

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

Signed-off-by: Ce Gao <[email protected]>
  • Loading branch information
gaocegege committed Jan 9, 2018
1 parent 49e2915 commit b190f6b
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 b190f6b

Please sign in to comment.