目录的单独/手册页码

目录的单独/手册页码

问题解答

例子:

\documentclass[12pt]{article}
\setcounter{secnumdepth}{5}
\setcounter{tocdepth}{5}
\usepackage{tocloft}

\begin{document}

\tableofcontents
\newpage

\part{List of Figures} %(required page number "i")
\part{List of Tables}  %(required page number "ii")
\part{Abbreviations}   %(required page number "iii")
\part{Declaration}     %(required page number "iv")

\section{Introdution} 


\subsection{Start}   %(required page number "1")
\subsection{Start2}      %(required page number "3")
\subsection{Start 3} %(required page number "5")
\subsection{Start 4} %(required page number "8")

\section{Literature Review} %(required page number "10")

\subsection{Focal theories} %(required page number "10")

\subsubsection{Theorie 1} %(required page number "11")

\paragraph{Theorie 1a} %(required page number "11")
\paragrap{Theorie 1b} %(required page number "25")
\paragraph{Theorie 1c} %(required page number "28")

\end{document}

答案1

准备两个文件。

第一个文件faketoc.tex

\documentclass[12pt]{article}
\setcounter{secnumdepth}{5}
\setcounter{tocdepth}{5}
\usepackage{tocloft}

%\includeonly{}
\begin{document}


\tableofcontents

\include{\jobname-include}

\end{document}

第二个文件faketoc-include.tex

\pagenumbering{roman}

\part{List of Figures} %(required page number "i")
\clearpage
\part{List of Tables}  %(required page number "ii")
\clearpage
\part{Abbreviations}   %(required page number "iii")
\clearpage
\part{Declaration}     %(required page number "iv")
\clearpage

\pagenumbering{arabic}

%\setcounter{page}{1} %redundant
\section{Introduction}
\subsection{Research problem}   %(required page number "1")
\clearpage\setcounter{page}{3}
\subsection{Research aims}      %(required page number "3")
\clearpage\setcounter{page}{5}
\subsection{Research questions} %(required page number "5")
\clearpage\setcounter{page}{8}
\subsection{Organisation of the dissertation} %(required page number "8")

\clearpage\setcounter{page}{10}
\section{Literature Review} %(required page number "10")

\subsection{Focal theories} %(required page number "10")

\clearpage\setcounter{page}{11}
\subsubsection{The five competitive forces} %(required page number "11")

\paragraph{Definition and concept} %(required page number "11")
\clearpage\setcounter{page}{25}
\paragraph{Critical review} %(required page number "25")
\clearpage\setcounter{page}{28}
\paragraph{Linkage to competitive advantage} %(required page number "28")

程序

  1. 编译faketoc.tex

  2. 删除%之前的\includeonly{}

  3. 再次编译faketoc.tex

结果将是仅包含目录的 PDF

在此处输入图片描述

相关内容