(a) 여러 페이지 PDF를 백그라운드에 포함하는 방법

(a) 여러 페이지 PDF를 백그라운드에 포함하는 방법

추가 정보(머리글, 페이지 번호 등)를 인쇄하기 위해 하나/여러 페이지의 PDF를 배경으로 포함하고 싶습니다.

을 살리다mwe 패키지 문서작업을 위해 디렉토리에

\documentclass[oneside]{book}
\usepackage{mwe}
\usepackage{pdfpages}

\newcommand\invisiblesection[1]{%
  \refstepcounter{section}%
  \addcontentsline{toc}{section}{\protect\numberline{\thesection}#1}%
  \sectionmark{#1}}

\begin{document}
\pagestyle{headings}

\part{First}
\invisiblesection{My section}

% Only single pages
\AddToShipoutPictureBG*{\includegraphics[page=1]{mwe}}

.\pagebreak

\AddToShipoutPictureBG*{\includegraphics[page=2]{mwe}}

.\pagebreak

\AddToShipoutPictureBG*{\includegraphics[page=3]{mwe}}

.\pagebreak

% ...

\part{Second}
\invisiblesection{My section 2}

% No headers, ...
\includepdf[pages=1-]{mwe}
\end{document}

관련 정보