I have many images to display on multiple pages, with 4 rows of 2 images side by side (total 8) per page.
However, I do not want the images at the last page (sometimes <4 rows) to be centered, but ordering from top to bottom. This is done by specifying \begin{figure}[ht]
.
Code for first 2 images (and repeats for another 5 times for the total 7 rows):
\documentclass[]{article}
\usepackage{floatrow}
\usepackage{graphicx}
\begin{figure}[ht]
\begin{floatrow}
\begin{minipage}[t]{0.4\linewidth}
\includegraphics[width=120pt]{image1.pdf}
\end{minipage} \hspace{-55pt}
\begin{minipage}[t]{0.8\linewidth}\vspace{20pt}
\includegraphics[width=370pt]{image2.pdf}
\newline
\vspace{-50pt}
\end{minipage}
\end{floatrow}
\end{figure}
\begin{figure}[ht]
\begin{floatrow}
\begin{minipage}[t]{0.4\linewidth}
\includegraphics[width=120pt]{image3.pdf}
\end{minipage}
\hspace{-55pt}
\begin{minipage}[t]{0.8\linewidth}\vspace{20pt}
\includegraphics[width=370pt]{image4.pdf}
\newline
\vspace{-50pt}
\end{minipage}
\end{floatrow}
\end{figure}
But the resultant images are not arranged correctly, with only 3 images being on the 1st page and 4 on the second:
The desired output is to occupy pages fully (4 images first page), and then occupy from top to bottom in the subsequent page, if there is less than 4 images left:
figure
if you aparently don't want your images to move around?\noindent \includegraphics[width=0.225\textwidth]{image1.pdf}% \hfill% \includegraphics[width=0.725\textwidth]{image2.pdf} \bigskip
completely without thefigure
environments? You can use\captionof
from thecaption
package to add a caption. If this does not siut your needs regarding the not shown table and captions, please edit your question to also include information on the desired output and alignment of thouse elements.