Please, read
Board Rules. You should always construct a complete
Minimal Working Example (MWE), not just snippets of code. Beside that, you should also include all files directly here, outside links aren't allowed.
As for your question, in cases like this one, I would probably use minipage environment instead of floats, and
\captionof command provided by
caption package for captions. Here's a quick example:
Code: Select all
\documentclass{article}
\usepackage{caption}
\usepackage[demo]{graphicx}% remove “demo” option to use real images
\newcommand{\figspace}{\hspace{8pt}}% custom spacing between figures
\newcommand{\mpspace}{\vspace{4pt}}% custom spacing between minipages
\begin{document}
Some text\ldots
\mpspace
\noindent%
\begin{minipage}{\textwidth}\centering
\includegraphics[width=1in]{image_name}\figspace
\includegraphics[width=1in]{image_name}\figspace
\includegraphics[width=1in]{image_name}\figspace
\includegraphics[width=1in]{image_name}
\captionof{figure}{Galaxy A}
\end{minipage}
\mpspace
\mpspace
\noindent%
\begin{minipage}{\textwidth}\centering
\includegraphics[width=1in]{image_name}\figspace
\includegraphics[width=1in]{image_name}\figspace
\includegraphics[width=1in]{image_name}\figspace
\includegraphics[width=1in]{image_name}
\captionof{figure}{Galaxy B}
\end{minipage}
\mpspace
\mpspace
\noindent%
\begin{minipage}{\textwidth}\centering
\includegraphics[width=1in]{image_name}\figspace
\includegraphics[width=1in]{image_name}\figspace
\includegraphics[width=1in]{image_name}\figspace
\includegraphics[width=1in]{image_name}
\captionof{figure}{Galaxy C}
\end{minipage}
\mpspace
\mpspace
\noindent%
\begin{minipage}{\textwidth}\centering
\includegraphics[width=1in]{image_name}\figspace
\includegraphics[width=1in]{image_name}\figspace
\includegraphics[width=1in]{image_name}\figspace
\includegraphics[width=1in]{image_name}
\captionof{figure}{Galaxy D}
\end{minipage}
\mpspace
\mpspace
\noindent%
\begin{minipage}{\textwidth}\centering
\includegraphics[width=1in]{image_name}\figspace
\includegraphics[width=1in]{image_name}\figspace
\includegraphics[width=1in]{image_name}\figspace
\includegraphics[width=1in]{image_name}
\captionof{figure}{Galaxy E}
\end{minipage}
\mpspace
\mpspace
\noindent%
\begin{minipage}{\textwidth}\centering
\includegraphics[width=1in]{image_name}\figspace
\includegraphics[width=1in]{image_name}\figspace
\includegraphics[width=1in]{image_name}\figspace
\includegraphics[width=1in]{image_name}
\captionof{figure}{Galaxy F}
\end{minipage}
\mpspace
\mpspace
\noindent%
\begin{minipage}{\textwidth}\centering
\includegraphics[width=1in]{image_name}\figspace
\includegraphics[width=1in]{image_name}\figspace
\includegraphics[width=1in]{image_name}\figspace
\includegraphics[width=1in]{image_name}
\captionof{figure}{Galaxy G}
\end{minipage}
\mpspace
\mpspace
\noindent%
\begin{minipage}{\textwidth}\centering
\includegraphics[width=1in]{image_name}\figspace
\includegraphics[width=1in]{image_name}\figspace
\includegraphics[width=1in]{image_name}\figspace
\includegraphics[width=1in]{image_name}
\captionof{figure}{Galaxy H}
\end{minipage}
\mpspace
\mpspace
\noindent%
\begin{minipage}{\textwidth}\centering
\includegraphics[width=1in]{image_name}\figspace
\includegraphics[width=1in]{image_name}\figspace
\includegraphics[width=1in]{image_name}\figspace
\includegraphics[width=1in]{image_name}
\captionof{figure}{Galaxy I}
\end{minipage}
\mpspace
\end{document}
I used custom commands for spacing between figures and between minipages because it's easier to change one command than to do corrections in all places. You may also define a new command to set minipage width (e.g.
\newcommand{\mpwidth}{12cm}) and use that command instead of
\textwidth.