I have the following figure, which displays 3 graphics horizontally:

    \includegraphics[width=.31\linewidth]{a}} \enskip
    \includegraphics[width=.31\linewidth]{b}} \enskip
    \caption{Stackexchange example.}

I then go on to use \autoref{fig:b}, which outputs only 1a. Usually when I autoref to figures, I get Figure1.

I use arsclassica, which is derived from classicthesis.

Is there any way to make LaTeX output Figure 1a, Figure 1b, etc. instead of just 1a, 1b?

Here's my preamble:












Many thanks!

  • 1
    Please make your code compilable (if possible), or at least complete it with \documentclass{...}, the required \usepackage's, \begin{document}, and \end{document}. That may seem tedious to you, but think of the extra work it represents for TeX.SX users willing to give you a hand. Help them help you: remove that one hurdle between you and a solution to your problem. – Adam Liter May 6 '14 at 18:05
  • That's not exactly what I meant ... you might want to take a look at what a minimal working example (MWE) is. – Adam Liter May 6 '14 at 18:29
  • I got the same problem and found the solution here: tex.stackexchange.com/a/91199 – yigitsoy May 24 '15 at 11:54

I don't use the autoref command myself, but I use the cleveref package. Is there any reason you can't use that? I have just tried autoref and get the same behaviour that you do (i.e. it prints

Figure 1

for a whole figure and


for a subfigure. Cleveref will produce the output you want I think. Here is a minimal example that you can probably adapt.

\documentclass[12pt, a4paper, oneside, fleqn]{report}

\usepackage[noabbrev]{cleveref}      % reference object types automatically

%Things to do with figures
\usepackage{graphicx}      % needed for including graphics
\usepackage[singlelinecheck=0,font={sf,small},labelfont=bf]{caption, subfig}


  \subfloat[{Subfig 1}]{\label{fig:part1}\includegraphics[clip=true, scale=0.3]{figures/fig1.eps}}\qquad
  \subfloat[{Subfig 2}]{\label{fig:part2}\includegraphics[clip=true, scale=0.3]{figures/fig2.eps}}

Refer to \autoref{fig:part1} and \autoref{fig:full_fig} and \cref{fig:part1}

| improve this answer | |

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.