I am using the memoir class, with the hyperref package. At one point, I have a couple subfigures:

\centering     %%% not \center
\caption{(a) A turtled vessel being brought to the capsized position. (b) A capsized vessel being brought to the upright position. (c) The assisted mast-lift technique.}

using the subbottom command. I then reference them later in the code:

... shown in \autoref{fig:mast-lift}.

Unfortunately, I'm getting a warning about this that I can't seem to figure out:

Package hyperref Warning: No autoref name for `subfigure' on input line ###

Anyone have an idea on how to get rid of this warning?

  • Are you sure you want to use \autoref instead of \ref? – Mario S. E. Apr 26 '13 at 17:50
  • @Mario Hmm, you're actually right. After a little experimentation, I've found that the best method for my purpose is to define a custom \hyperref that incorporates \ref*. – Jordan Apr 26 '13 at 18:50
  • @Jordan glad to hear that :) – Mario S. E. Apr 26 '13 at 20:02

Simply provide the missing definition (I suppressed parts of the original code that were not relevant here):




\centering     %%% not \center


enter image description here

The demo option for graphicx simply replaces actual figures with black rectangles; do not use that option in your actual document.

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.