%% %% The LaTeX Companion, 3ed %% %% Example 2-4-6 on page I-86 in "cleveref --- Cleverly formatted references". %% %% Copyright (C) 2022 Frank Mittelbach %% %% It may be distributed and/or modified under the conditions %% of the LaTeX Project Public License, either version 1.3c %% of this license or (at your option) any later version. %% %% See https://www.latex-project.org/lppl.txt for details. %% \documentclass{tlc3exa} \pagestyle{empty} \setcounter{page}{6} \setlength\textwidth{159.0pt} \setcounter{section}{3} %StartShownPreambleCommands \usepackage{amsmath,cleveref} %StopShownPreambleCommands \begin{document} \section{A Section}\label{sec:this} A reference to an equation in this section looks like: ``see \cref{eq:a} in \cref{sec:this}''. \begin{align} a &= b \label{eq:a} \\ b &< c \label{eq:b} \\ c &< d \label{eq:c} \end{align} \Cref{eq:c,eq:a,eq:b} above are \ldots \end{document}