figure numbers overleaf code example
Example: add figure numbers in latex
\begin{figure}[h!]
\caption{A picture of the universe!}
\includegraphics[width=0.5\textwidth]{universe}
\end{figure}
\begin{figure}[h!]
\caption{A picture of the universe!}
\includegraphics[width=0.5\textwidth]{universe}
\end{figure}