mirror of
https://github.com/ElegantLaTeX/ElegantBook.git
synced 2026-01-26 04:14:35 +08:00
fix toc width
This commit is contained in:
@@ -1439,7 +1439,10 @@
|
||||
\ifdefstring{\ELEGANT@lang}{cn}{
|
||||
% \renewcommand{\cftchappresnum}{\beforechap\space}
|
||||
% \renewcommand{\cftchapaftersnum}{\space\afterchap}
|
||||
\setlength{\cftchapnumwidth}{\widthof{\textbf{附录~999}}}
|
||||
% \setlength{\cftchapnumwidth}{\widthof{\textbf{附录~十一}}}
|
||||
\renewcommand{\numberline}[1]{%
|
||||
\@cftbsnum #1\@cftasnum~\@cftasnumb ~%
|
||||
}
|
||||
\g@addto@macro\appendix{%
|
||||
% recover \thechapter in the \NR@chapter's \numberline
|
||||
\ifELEGANT@Hy@later
|
||||
|
||||
Reference in New Issue
Block a user