7

When referencing a list of equations like see Eq.12, 13, 14 and 15 the \cite command behaviour, which allows a single list of references, should be preferred I think. Is there something equivalent for the \ref command that would allow \ref{eq1,eq2,eq3}?

8

The \cref macro of the cleveref package is your friend.

\documentclass{article}

\usepackage{cleveref}

\begin{document}

\begin{equation}
\label{eq:a}
a^2 + b^2 = c^2
\end{equation}

\begin{equation}
\label{eq:b}
d^2 + e^2 = f^2
\end{equation}

\begin{equation}
\label{eq:c}
g^2 + h^2 = i^2
\end{equation}

See \cref{eq:a,eq:b,eq:c}.

\end{document}

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.