Skip to content

Commit

Permalink
Merge pull request #43 from putianyi889/patch-3
Browse files Browse the repository at this point in the history
增加打印版目录深度
  • Loading branch information
putianyi889 authored Dec 31, 2023
2 parents fb9b691 + 21bfd56 commit 3021cea
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion main.tex
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@
\lstset{language={C++}}

\AtBeginDocument{
\setcounter{tocdepth}{0}
\if\rendermode2
\setcounter{tocdepth}{3}
\else
\setcounter{tocdepth}{0}
\fi
}

\setcounter{totalnumber}{100}
Expand Down

0 comments on commit 3021cea

Please sign in to comment.