특정 페이지에서 페이지 번호 매기기를 제거하지만 이후에는 페이지 번호 매기기를 계속합니다.

특정 페이지에서 페이지 번호 매기기를 제거하지만 이후에는 페이지 번호 매기기를 계속합니다.

논문용 보고서 파일을 사용하고 있습니다. 각 장이 시작되기 전에 페이지 번호를 매기지 않고 중간에 다음 내용이 포함된 페이지를 사용하고 싶지만 다음 페이지에는 페이지 번호가 이어져야 합니다. 마찬가지로 각 장마다.

제1장 서론

답변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}‎

관련 정보