I would like to generate a paper using revtex4-1 while also appending a supplement pdf file to the paper with the help of pdfpages. If I use the preprint option, I find that the supplement superimposes on the main text unless I use a workaround for adding the supplement (in the minimal code below). However, with the reprint option (which produces a more concise version of the paper useful for arXiv), this workaround doesn't work and the first page of the supplement is superimposed with the last page of the paper.
How can I generate a
REVTeX 4.1paper andpdfpagessupplement using thereprintoption without overlapping text?Are there other packages besides
pdfpagesthat I can use? I have tried pasting the pdf as a figure (answered here), but that doesn't seem to work.Even with the
preprintoption, the code below appends a blank page to the document. Why is it there and how do I get rid of it? I suspect the REVTeX rules for title pages have something to do with the behavior.
Minimal code (requires a dummy file named revtex.pdf to be in the same directory; the 7 in 2-7 is the page length of the dummy file):
\documentclass[reprint]{revtex4-1} %%% preprint/reprint option here
\usepackage{pdfpages}
\begin{document}
\title{Title}
\maketitle
Lorem ipsum dolor sit amet...
\newpage\newpage
\includepdf[pages={1,{},2-7}]{revtex} %%% A workaround for preprint option
%\includepdf[pages=-]{revtex} %%% What should be the working command
\end{document}
revtex4-1tries hard to be as incompatible as possible with other packages. :( – egreg Feb 09 '15 at 23:43