[texhax] ~\ref w/ > 1 label (reference)
Martin Heller
mr_heller at yahoo.dk
Tue Oct 30 01:28:12 CET 2007
Bryan W. Lepore skrev:
> is ~\ref{} for only one label at at time? e.g.
>
> ~\ref{label-1,label-2}
>
> ... will not 'work'?
>
> -bryan
Use cleveref.sty
\documentclass{article}
\usepackage{cleveref}
\begin{document}
\begin{equation}
a\label{a}
\end{equation}
\begin{equation}
b\label{b}
\end{equation}
\begin{equation}
c\label{c}
\end{equation}
\Cref{a,b,,c}.
\end{document}
More information about the texhax
mailing list