latex figure number with lable code example
Example: figure reference latex
\ref{marker}
This prints the number assigned to the object labeled by marker
\ref{marker}
This prints the number assigned to the object labeled by marker