For example. In chapter
Code: Select all
\ref{chap2}
Code: Select all
\ref{chap2_fig5}
In a different chapter, I would like to have a figure, with the figure number corresponding to
Code: Select all
\ref{chap2_fig5}
I have done
Code: Select all
\setcounter{chapter}{\ref{chap2}}
Would it be something similar to
Code: Select all
\setcounter{figure}{\ref{chap2_fig5}}