I am using \subfigures
to plot multiple figures on two pages:
\begin{subfigures}
\setlength\figureheight{4cm}
\setlength\figurewidth{5cm}
\begin{figure}[htb]
\centering
\input{Figure2a_1.tikz}
\input{Figure2a_2.tikz}
\input{Figure2a_3.tikz}
\caption{}
\label{fig2a}
\end{figure}
\begin{figure}[htb]
\centering
\input{Figure2b_1.tikz}
\input{Figure2b_2.tikz}
\input{Figure2b_3.tikz}
\caption{}
\label{fig2b}
\end{figure}
\label{fig2}
\end{subfigures}
So the labels of these two subfigures are 'Figure 2a' and 'Figure 2b'.
In the text, I want to refer to them alltogether as 'Figure 2' and let the reference point/link to 'Figure 2a'. Is there a way to achieve this? Is cleveref
helpful on this?
Many thanks!
subfigures
environment?subfigure(s)
, that there is asubfigure(s)
counter. The counter output format is counted in the command\thesubfigure(s)
then. It can be changed to basically anything then, by redefining\thesubfigure
or\thesubfigures
(Although I believe that it should readsubfigure
, notsubfigures
!)\usepackage{subfloat}
in order to usesubfigures
. I am usingsubfigures
notsubfigure
.