How can I define a command similar to \ref for referencing a list of subfigures at once?
Just like what cite package does for citations.
A command like \myref{a,c,d} which can be tuned to generate the following outputs for the below MWE:
1a,c,d, 1(a,c,d).
It would be great if it can group the labels together for example \myref{a,b,c,d} will generate 1a--d.
Is there any package which implements this kind of cross-referencing?
\documentclass{article}
\usepackage{subfig}
\usepackage{hyperref}
\begin{document}
\begin{figure}
\subfloat[][]{Plot 1 \label{a}}
\subfloat[][]{Plot 2 \label{b}} \\
\subfloat[][]{Plot 3 \label{c}}
\subfloat[][]{Plot 4 \label{d}}
\end{figure}
\noindent Note: \\
Fig.~\ref{a} \\
Fig.~\ref{a},b \\
How to generate the following cross-references? \\
Fig.~1a,b \\
Fig.~1a,b \\
Fig.~1a,c,d \\
Fig.~1a--d \\
\end{document}

clevereffor referencing and the code provided here http://tex.stackexchange.com/questions/135151/crossreference-in-ref-range-1a-1e-to-1a-e to to adjust the output. – DG' Nov 29 '13 at 09:14