
おそらく、このクローズドな質問と同じ問題を抱えています:目次に目次を追加する
目次に「目次」という行をページ番号などとともに表示したいです。
\addcontentsline{toc}{chapter}{Table of contents}
以下のコマンドを実行してみました\tableofcontents
が、結果は得られませんでした。
これが私のMWEです
\documentclass{report}
\begin{document}
\tableofcontents
\addcontentsline{toc}{chapter}{Table of contents}
\chapter*{Introduction}
\addcontentsline{toc}{chapter}{Introduction}
\end{document}
答え1
\documentclass{report}
\usepackage{tocbasic}
\setuptoc{toc}{totoc}
\begin{document}
\listoftoc[Something like the Table of \contentsname]{toc}
\chapter*{Introduction}
\addcontentsline{toc}{chapter}{Introduction}
\end{document}
Something like the Table of \contentsname
「 」を目次のタイトルに置き換えることができます。タイトルを変更した後、少なくとも 2 回の LaTeX 実行が必要です。