楼主:
sppmg (sppmg)
2018-08-27 07:30:44你这不是又回到原点了吗?
\titlecontents 没有“附录”字样或是 \appendixname,你是直接贴上都没想过吧!
我之前文章说过了,重点就是不能让 numb 套件吃到字母,
所以不能在附录用 \CJKnumber
※ 引述《hau (小豪)》之铭言:
: 我用下面这样
: \usepackage{etoolbox}
: \apptocmd{\appendix} {
: \titleformat{\chapter}{\lefting\Huge\normal}{\appendixname\thechapter}{1em}
: {} % 改章首
: \titlecontents{chapter}[0pt]{\vspace{.5\baselineskip}}
: {第\CJKnumber{\thecontentslabel}章\quad}{}
{第X章}改{\appendixname\thecontentslabel}
: {\hspace{.5em}\titlerule*[10pt]{$\cdot$}\contentspage}
: }{}{}
: \tableofcontents
: 编好后,附录的地方出现“第A零章”,希望出现“附录A”。怎么改?