# How to cite several tables in one reference?

I have met a simple problem. I want to reference several tables in one reference. My code is as below. I learned from the former thread at "referencing several tables in one reference". But it still turned wrong with error like "?????". If I use the command, \crefrange{test1}{test3}. It turns right. But I want to display the label like "Figs." instead of "figs". Could anyone do me a favor? Thanks!

\documentclass[12pt,a4paper]{article}
\usepackage{microtype}
\usepackage{sectsty}
\usepackage{fontspec,cleveref}
\usepackage{xeCJK}
\allsectionsfont{\centering}
\usepackage{indentfirst,amsmath,multicol,amssymb,booktabs,threeparttable,tabularx}
\usepackage[font=small,format=plain,labelfont=bf,up,textfont=normal,up,justification=justified,singlelinecheck=false]{caption}
\usepackage{geometry}
\geometry{top=1.4in,bottom=1.in,left=1in,right=1in}
\numberwithin{equation}{section}
\newcommand{\crefrangeconjunction}{to~}
\usepackage{graphicx,subfig}
\graphicspath{{F:/}}
\begin{document}
\cref{test1, test2,test3 }

\begin{figure}[htb]
\includegraphics[width=4.2in]{test1}\label{test1}}
\end{figure}
\begin{figure}[htb]
\includegraphics[width=4.2in]{test2}\label{test2}}
\end{figure}
\begin{figure}[htb]
\includegraphics[width=5in]{test3}\label{test3}}
\end{figure}
\end{document}

• Where are the labels to test1, test2 and test3? This is like sending a letler without writing an address on the envelope. – Johannes_B Jul 23 '17 at 10:19
• Sorry, I will add it up. – Carl Jul 23 '17 at 10:20
• Would you mind to learn how to properly mark up code on this site? – Johannes_B Jul 23 '17 at 10:23
• Where can I get it? Sorry! I disturb you a lot! – Carl Jul 23 '17 at 10:24
• Welcome to TeX.SX! A tip: If you indent lines by 4 spaces or enclose words in backticks , they'll be marked as code, as can be seen in my edit. You can also highlight the code and click the "code" button (with "{}" on it). – Johannes_B Jul 23 '17 at 10:25

\documentclass[12pt,a4paper]{article}
\newcommand{\crefrangeconjunction}{~to~}
\usepackage[capitalize]{cleveref}
%\usepackage{mwepage}% 4 line local package to get a yellow page
\begin{document}
\begin{figure}
\caption{Wombat}\label{wombat}
\caption{Capybara}\label{capy}
\caption{Mara}\label{mara}
\end{figure}
\Crefrange{wombat}{mara} and alternatively
\crefrange{wombat}{mara}
\end{document}

• Your code doesn't correspond to the last line in the image. – Bernard Jul 23 '17 at 11:07
• @Bernard This is what my outdated TL2015 gives me. Please correct the image/screenshot or provide another answer. – Johannes_B Jul 23 '17 at 11:12
• Of course i forgot to delete the line loading mwepage. – Johannes_B Jul 23 '17 at 11:13
• I have nothing to add to your answer. I think you probably had a wrong copy-past on posting: if the end of the code is \crefrange, you should obtain figs, not Figs`. – Bernard Jul 23 '17 at 11:16
• I can confirm the output is the same with TL2017 – user36296 Jul 23 '17 at 11:32