latex how to add caption for table code example
Example 1: latex tabular caption
\begin{table}
\begin{tabular}
...
\end{tabular}
\caption{\label{tab:table-name}Your caption.}
\end{table}
Example 2: latex image caption
\begin{figure}
\includegraphics[width=\textwidth]{Picture}
\caption{Picture caption}
\end{figure}