您好,我想在目录 (İÇİNDEKİLER) 和 ÖNSÖZ 之间添加文本,如上所示。代码如下。有什么办法可以解决这个问题吗?谢谢。
%%% Automatically generated.
%****************************************
% TABLE OF CONTENTS
\phantomsection
\addcontentsline{toc}{chapter}{İÇİNDEKİLER}
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}
\renewcommand{\cftchapleader}{\cftdotfill{\cftdotsep}} % dots for chapters
\renewcommand{\cfttoctitlefont}{\MakeUppercase\hfil\bfseries\fontsize{14pt}
{14pt}\selectfont}
\renewcommand\cftchapfont{\mdseries}
\renewcommand\cftchappagefont{\mdseries}
%\renewcommand{\cftchappresnum}{CHAPTER\space}
\renewcommand{\cftchapaftersnum}{:}
\setlength{\cftbeforetoctitleskip}{10mm}
\setlength{\cftaftertoctitleskip}{3\baselineskip}
%\setlength{\cftchapnumwidth}{7em}
%\addtolength{\cftchapnumwidth}{\cftchappresnum\cftchapaftersnum}
%%% Spacing between items
\setlength{\cftbeforesecskip}{\cftbeforechapskip}
\setlength{\cftbeforesubsecskip}{\cftbeforechapskip}
\begin{singlespace}
\tableofcontents
\end{singlespace}
\clearpage
%........................................
答案1
我以为:
\addtocontents{toc}{\hfill Stuff\par}
\tableofcontents
放置Stuff
在目录中的页码上方。