Related to:
Getting two pictures to appear on the same page
Placing a table next to figure (align table vertically centre)
Putting multiple images in a page
I have a sequence of images that I want stored in succession, one after the other with no text in between.
What I tried:
option #1:
\begin{figure}
\centerline{\includegraphics[width=\paperwidth]{1.png}}
\caption{1}
\label{fig:1}
\end{figure}
\begin{figure}
\centerline{\includegraphics[width=10cm,scale=0.5]{2.png}}
\caption{2}
\label{fig:2}
\end{figure}
\begin{figure}
\centerline{\includegraphics[width=10cm,scale=0.5]{3.png}}
\caption{3}
\label{fig:3}
\end{figure}
\begin{figure}
\centerline{\includegraphics[width=\paperwidth]{4.png}}
\caption{4}
\label{fig:4}
\end{figure}
not working (text interleaves images).
option #2:
\begin{figure}[ht!]
\subfloat[functions]{%
\label{fig:functions}
\includegraphics[width=\paperwidth]{1.png}
}
\subfloat[common]{%
\label{fig:common}
\includegraphics[width=\paperwidth]{2.png}
}
\subfloat[helpers]{%
\label{fig:helpers}
\includegraphics[width=\paperwidth]{3.png}
}
\end{figure}
Last figure disappears. Also, weird unexpected padding to the left.
I need to use option #1 with no text in between.
What I essentially need to do is have a document like:
Page 1
Sed ut perspiciatis unde omnis iste natus error sit
voluptatem accusantium doloremque laudantium, totam rem aperiam,
eaque ipsa quae ab illo inventore veritatis et quasi architecto
beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem
quia voluptas sit aspernatur aut odit aut
Page 2
Image 1
Image 2
Page 3
Image 3
Page 4
Image 4
Image 5
Page 5
ctetur, adipisci velit, sed quia non numquam eius
modi tempora incidunt ut labore et dolore magnam
aliquam quaerat voluptatem. Ut enim ad minima veniam,
quis nostrum exercitationem ullam corporis suscipit
laboriosam, nisi ut aliquid ex ea commodi consequatur?
Quis autem
In short, a block of images that succeed one another across pages and don't allow any text in between.


\documentclassand ending with\end{document}. In preamble left only to your problem relevant packages. BTW, images heights should be small enough that can be placed on one page. What you like to achieve with image options:width=10cm,scale=0.5? Such settings are not consistent. – Zarko Mar 28 '21 at 21:41figureif you want them to keep together. – David Carlisle Mar 28 '21 at 22:10