how to place figure before the reference in latex 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