I am formatting a twopage book on latex and I have a diagram divided on two almost page size images. (Two captions).
What can I do for putting the first image on an even page and the second on the following page so that way one can open that pages and wiew the whole diagram without passing pages? The two parts of the diagram are in two different files, as opposed to the post "How to include a picture over two pages, left part on left side, right on right (for books)?". In other words, I would like the same as the above post, but just much less functionality, such as dividing the picture into wo parts automatically and such. It would be nice, if the picture waits to be outputted until the next even side begins.
I tried using the following command before the two pictures, but that doesn't seem to work, cf. LaTeX wikibook.
\newcommand{\newevenside}{
\ifthenelse{\isodd{\thepage}}{\newpage}{
\newpage
\phantom{placeholder} % doesn't appear on page
\thispagestyle{empty} % if want no header/footer
\newpage
}
}
The problem is that it would place both figures on the left side, two different doublepages.
The code which I use for putting the images on the document is
\newevenside
\begin{figure}[hp!]
\includegraphics[width=18cm,angle=90]{figuras/project1.eps}
\caption{My caption.}
\label{fig:gantt1}
\end{figure}
\newpage
\begin{figure}[hp!]
\includegraphics[width=18cm,angle=90]{figuras/project2.eps}
\caption{My caption.}
\label{fig:gantt}
\end{figure}