I would like to reference multiple labels in one reference, like it is possible when citing bibliography using the IEEE Standard. When citing, one is able to use:
This is a statement \cite{Einstein1910, Newton1700, Moore1950}
Which in turn appears as: "This is a statement [1-3]"
Is it possible to use the same mechanism for labels together with the \ref{} command?
For example, this input:
As seen in figures \ref{fig:apple, fig:pear, fig:fig}
Should produce the following output: "As seen in figures 1.1-1.3" or "As seen in figures 1-3".
I tried using the classic \ref command, as stated above, but this just resulted in the typical question marks appearing in the output.
\cref{fig:apple,fig:pear,fig:fig}, it'll output "figures 1 to 3", or whatever numbers apply. (The form of the conjunction can be modified.) If you don't want cleveref to generate the "figures" text prefix automatically, you could writefigures \labelcref{fig:apple,fig:pear,fig:fig}. – Mico Aug 27 '20 at 16:38cleverefpackage (to be loaded afterhyperref). With\cref, you even wouldn't have to type ‘figures’. – Bernard Aug 27 '20 at 16:39