2017-07-17 85 views
0

我是連續的章節序列,但我想分段而不改變數字。例如當前的索引如下。如何使用乳膠分段索引?

Chapter 1 
Chapter 2 
Chapter 3 
Chapter 4 
Chapter 5 

現在讓我想要第2章和第3章在一個部分,而4到5在其他部分。我希望我的索引如下所示(不改變實際的章節編號)。此外,如果可能的話,我想在第2章和第4章之前添加完整頁面以指示這些段。

Chapter 1 
**--SEGMENT 1----** 
Chapter 2 
Chapter 3 
**--SEGMENT 2---** 
Chapter 4 
Chapter 5 

你能告訴我一個辦法嗎?

回答

0

的一種方法是使用tocloft包:

\documentclass{book} 
\usepackage{tocloft} 

\renewcommand{\thepart}{\arabic{part}} 

\begin{document} 

\tableofcontents 

\part{Fauna} 
\chapter{Native fauna} 
\chapter{Introduced fauna} 
\chapter{Extinct fauna} 

\part{Flora} 
\chapter{Native plants} 
\chapter{Invasive plants} 

\end{document} 

其產生內容的表:如果你想表的內容,以顯示「分段」和「章」 enter image description here

你可以在前言中使用類似這樣的詞語:

\renewcommand{\cftpartpresnum}{SEGMENT~} 
\renewcommand{\cftchappresnum}{Chapter~} 
\renewcommand{\cftchapnumwidth}{2.5cm}