![在目录和第一个内容之间写入文本](https://linux22.com/image/378949/%E5%9C%A8%E7%9B%AE%E5%BD%95%E5%92%8C%E7%AC%AC%E4%B8%80%E4%B8%AA%E5%86%85%E5%AE%B9%E4%B9%8B%E9%97%B4%E5%86%99%E5%85%A5%E6%96%87%E6%9C%AC.png)
您好,我想在目录 (İÇİ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
在目录中的页码上方。