Something very odd seems to be going on in your document, as cleveref
does not normally engage in the type of behavior you say is occurring. How are the figures and subfigures constructed in your document? Please consider posting a full MWE (minimum working example) that generates the problem behavior you're looking to fix.
At any rate, the following should work for your setup:
\cref{5-3-b,,5-3-d,,5-3-f,,5-4-b,,5-4-d,,5-5-b,,5-5-d}
See section 5, entitled "Sorting and compressing", of the package's user guide for an explanation of how the double comma constructs work.
Here's an MWE (minimum working example), which demonstrates that both \cref{5-3-b,5-3-d,5-3-f,5-4-b,5-4-d,5-5-b,5-5-d}
and \cref{5-3-b,,5-3-d,,5-3-f,,5-4-b,,5-4-d,,5-5-b,,5-5-d}
produce the same output if normal setup rules are obeyed.

\documentclass{article}
\usepackage{subcaption} % for 'subfigure' environment and counter
\usepackage[colorlinks,allcolors=blue]{hyperref} % optional
\usepackage[noabbrev]{cleveref}
\counterwithin{figure}{section}
\begin{document}
\setcounter{section}{5}
\setcounter{figure}{2}
\cref{5-3-b,5-3-d,5-3-f,5-4-b,5-4-d,5-5-b,5-5-d}
\cref{5-3-b,,5-3-d,,5-3-f,,5-4-b,,5-4-d,,5-5-b,,5-5-d}
% the following code is deliberately minimalist
\refstepcounter{figure}
\refstepcounter{subfigure}
\refstepcounter{subfigure}\label{5-3-b}
\refstepcounter{subfigure}
\refstepcounter{subfigure}\label{5-3-d}
\refstepcounter{subfigure}
\refstepcounter{subfigure}\label{5-3-f}
\refstepcounter{figure}
\refstepcounter{subfigure}
\refstepcounter{subfigure}\label{5-4-b}
\refstepcounter{subfigure}
\refstepcounter{subfigure}\label{5-4-d}
\refstepcounter{figure}
\refstepcounter{subfigure}
\refstepcounter{subfigure}\label{5-5-b}
\refstepcounter{subfigure}
\refstepcounter{subfigure}\label{5-5-d}
\end{document}
First of all I think it's worth to read answer to question "¿Por qué spanish para babel dice cuadro en lugar de tabla?" (Why spanish babel says "cuadro" instead of "tabla"?) in FAQ-CervanTeX (FAQ from spanish users group).
And in case you still insist in changing this word, adding es-tabla
option to babel
will do it. With cleveref
some more customization is needed as lockstep suggested but I think something like
\crefname{table}{\spanishtablename}{\spanishtablename}
could be better than a hardcoded
solution.
Last comment if spanish
is passed as option to documentclass
, it will be automatically passed to babel
and cleveref
.
\documentclass[spanish]{article}
\usepackage{subcaption}
\usepackage{graphicx}
\usepackage{mathtools,amsmath,amssymb}
\usepackage{graphicx}
\usepackage{subcaption}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[es-tabla]{babel}
\usepackage{cleveref}
\crefname{table}{\spanishtablename}{\spanishtablename}
\begin{document}
La \cref{tab:1a} es bonita (\emph{beautifull})\\
\begin{table}[h!]
\centering
\begin{tabular}[h!]{ccc}
\ $a$ & $b$ & $c$ \\
\hline 0 & 0 & 0 \\
\ 1 & 1 & label label-tab:1a \\
\end{tabular}
\caption{A subtable}\label{tab:1a}
\end{table}
\end{document}
Best Answer
Let say you have three figures respectively on pages 1, 2 and 3. The use of the command
will yield
However the use of the command
will yield
NOTE: These two commands are part of the
cleveref
package.