latex caption 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}
Example 3: latex caption on right side
\begin{figure}
\begin{minipage}[c]{0.67\textwidth}
\includegraphics[width=\textwidth]{2011-03-03}
\end{minipage}\hfill
\begin{minipage}[c]{0.3\textwidth}
\caption{
My caption
} \label{fig:03-03}
\end{minipage}
\end{figure}