Closed raytaylorlin closed 8 years ago
明白了,使用以下代码即可
\let\origcftsecpagefont\cftsecpagefont
\let\origcftsecafterpnum\cftsecafterpnum
\renewcommand{\cftsecpagefont}{(\origcftsecpagefont}
\renewcommand{\cftsecafterpnum}{\origcftsecafterpnum)}
\addtocontents{toc}{\cftpagenumbersoff{chapter}}
这样的确可以去掉chaper的页码,以及为section加括号,但是摘要和参考文献等页码也没有了啊?
导师说目录中大章后面不写页码,小节的页码用小括号括起来,像下面这样。请问下模板应该怎么改?