적용했는데 minitoc
목차가 다음 페이지로 넘치면 자동으로 상단에 정렬되지 않고 전체 페이지를 채웁니다.
\documentclass[12pt]{book}
\usepackage{minitoc} % for mini content page
\setcounter{minitocdepth}{2}
\dominitoc[n] % for mini content page
\begin{document}
\faketableofcontents
\chapter{Chapter 1}
\minitoc
\pagebreak[4]
\section{Section 1}
This is section 1.
\subsection{Subsection 1}
This is subsection 1.
\subsection{Subsection 2}
This is subsection 2.
\subsection{Subsection 3}
This is subsection 3.
\section{Section 2}
\subsection{Subsection 1}
\subsection{Subsection 2}
\subsection{Subsection 3}
\section{Section 3}
\subsection{Subsection 1}
\subsection{Subsection 2}
\subsection{Subsection 3}
\section{Section 4}
\subsection{Subsection 1}
\subsection{Subsection 2}
\subsection{Subsection 3}
\section{Section 5}
\subsection{Subsection 1}
\subsection{Subsection 2}
\subsection{Subsection 3}
\section{Section 6}
\subsection{Subsection 1}
\subsection{Subsection 2}
\subsection{Subsection 3}
\end{document}
답변1
다음을 사용하여 이 동작을 요청했습니다.
\pagebreak[4]
사용
\clearpage
페이지를 짧게 남기고 싶다면. 줄 바꿈과 \linebreak
및 사이의 차이점도 동일합니다 \newline
.