答案1
您可以使用以下方式插入 A4 页面的左/右半部分eso-pic
:
\documentclass{article}
\usepackage{geometry,lipsum,eso-pic}
\usepackage[export]{adjustbox}
\geometry{
paper = a5paper
}
\begin{document}
\lipsum[1-10]
\clearpage
\thispagestyle{empty}
\mbox{}% Set something blank on page
% Add top part of A4 PDF
\AddToShipoutPictureFG*{%
\AtPageLowerLeft{%
% A4 = 2 x A5
\includegraphics[angle = 90, height = \paperheight, valign = B]{example-image-a4}
}%
}
\clearpage
\thispagestyle{empty}
\mbox{}% Set something blank on page
% Add bottom part of A4 PDF
\AddToShipoutPictureFG*{%
\AtPageLowerLeft{%
% A4 landscape = 2 x A5 portrait
\makebox[\paperwidth][r]{%
\includegraphics[angle = 90, height = \paperheight, valign = B]{example-image-a4}%
}%
}%
}%
\clearpage
\lipsum[1-10]
\end{document}
导入的页面被旋转并按原样放置在一张 A5 纸上,这只显示 A4 纸的顶部。底部超出页面。对于底部,我们将图像(旋转后)放置在与页面右对齐的框中,从而显示下半部分。