[Tex/LaTex] Three figures on the same page, with captions

floats

I want to have a dedicated page for all my figures, so I followed this advice to ensure this. However, only one caption shows, instead of three. Am I doing something wrong? Is there an alternative way?

\documentclass[twoside, openright, 12pt]{report}
\usepackage{ramsstyle}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{longtable}
\usepackage{cite}
\usepackage{caption}
\usepackage{listings}
\usepackage{color}
\usepackage{float}
\usepackage{wrapfig}
\usepackage{caption}
\usepackage{subcaption}
\usepackage{enumitem}
\usepackage{natbib}
\usepackage{acronym}
\usepackage{todonotes}
\setlength{\marginparwidth}{2cm}
\restylefloat{figure}
     \begin{document}
            \begin{figure}[p]
                \centering
                \includegraphics[width=0.2\textwidth]{fig/fig1}
                \caption{Capt1.}
                \label{fig:lab1}
                \centering
                \includegraphics[width=0.2\textwidth]{fig/fig2}
                \caption{Capt2.}
                \label{fig:lab2}
                \centering
                \includegraphics[width=0.2\textwidth]{fig/fig3}
                \caption{capt3.}
                \label{fig:lab3}
            \end{figure}
\end{document}

Best Answer

One \centering is enough. You are loading caption twice, the second one is useless.

\documentclass{report}
\usepackage{caption}
\usepackage[demo]{graphicx}
\begin{document}
    \begin{figure}[p]
        \centering
        \includegraphics[width=0.2\textwidth]{fig/fig1}
        \caption{Capt1.}    \label{fig:lab1}
        \bigskip%% To get some more space after the caption
        \includegraphics[width=0.2\textwidth]{fig/fig2}
        \caption{Capt2.}    \label{fig:lab2}
        \bigskip
        \includegraphics[width=0.2\textwidth]{fig/fig3}
        \caption{capt3.}    \label{fig:lab3}
    \end{figure}
\end{document}
Related Question