
제 보고서에는 부록에 대한 별도의 목차가 필요합니다. 헬프 데스크에 연락한 후 그들은 실제로 작동하는 이 코드를 나에게 제공했습니다. :) ;
\usepackage[titles]{tocloft}
\newcommand{\listappendixname}{Contents Appendices}
\newlistof{appendix}{loa}{\listappendixname}
\usepackage{xpatch}
\makeatletter
\apptocmd{\appendix}{
\xpatchcmd{\ttl@addcontentsline}
{\addcontentsline{toc}}
{\addcontentsline{loa}}{}{}
}
\makeatother
문서 본문에서:
\appendix
\phantomsection % so that "Appendix" hyperlink in TOC is correct
\addcontentsline{toc}{chapter}{Appendix}
\listofappendix
그러나 이제 이 목록의 부록에서 내 장을 굵게 표시해야 하지만 내 섹션과 하위 섹션은 그렇지 않습니다. 누군가 이 작업을 수행하는 방법을 도와줄 수 있나요?
시도해 보았지만 작동하지 않습니다.
% Manually adjust the formatting for appendix entries in TOC
\renewcommand{\cftchappresnum}{\textbf} % Make chapter numbers bold
\renewcommand{\cftchapfont}{\bfseries} % Make chapter titles bold
감사해요! ' 잘 부탁해, 레아