
我正在為我的論文使用報告文件。在每一章開始之前,我想使用中間包含以下內容的頁面,而不使用頁碼,但頁碼應在下一頁中繼續。同樣,對於每個章節。
第一章簡介
答案1
一種選擇是將包fancyhdr
和結合titlesec
:
\documentclass{book}
\usepackage{lipsum,titlesec,fancyhdr}
% Redefine the plain page style, which is used for the chapter page
\fancypagestyle{plain}{%
\fancyhf{}%
\renewcommand{\headrulewidth}{0pt}% Line at the header invisible
\renewcommand{\footrulewidth}{0pt}% Line at the footer invisible
}
% use titlesec to adjust the chapter page layout and insert a \clearpage
\titleformat{\chapter}[display]% remove [display] to get everything on the same line
{\normalfont\Large\bfseries}{\chaptertitlename\ \thechapter}{20pt}{\Large}%
% change \Large to \LARGE or whatever you prefer
[\clearpage\ignorespaces]%
\begin{document}
\chapter{Another day in paradise}
\lipsum[1-2]
\end{document}