答案1
包裹atbegshi
在发货前捕获输出框。这可用于将页面的旋转副本放置在输出页面上:
\documentclass{article}
\usepackage[a4paper, margin=15mm]{geometry}
\addtolength{\textheight}{-.5\paperheight}
\usepackage{graphicx}
\usepackage{picture}
\usepackage{atbegshi}
\AtBeginShipoutInit
\AtBeginShipout{%
\AtBeginShipoutUpperLeft{%
\put(\paperwidth, -.5\paperheight){%
\rotatebox{180}{%
\smash{\hbox to 0pt{\kern1in\copy\AtBeginShipoutBox\hss}}%
}%
}%
}%
}
\usepackage{blindtext}
\begin{document}
\blinddocument
\end{document}
前两页:
答案2
这就是source.tex
\documentclass{article}
\usepackage[a5paper,landscape]{geometry}
\usepackage{blindtext}% just for dummy example
\begin{document}
\blinddocument
\end{document}
这就是您的final.tex
产品输出,您不需要每次都更改它。
\documentclass{article}
\usepackage[a4paper,scale=1]{geometry}
\usepackage{graphicx}
\newcounter{mtpage}
\setlength{\parindent}{0pt}
\begin{document}
\loop
\stepcounter{mtpage}
\includegraphics[scale=.99,page=\value{mtpage}]{doc1.pdf}
\vfill\includegraphics[scale=.99,angle=180,page=\value{mtpage}]{doc1.pdf}
\newpage
\ifnum\value{mtpage}<\pdflastximagepages
\repeat
\end{document}