TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I use \ref to refer to a subfigure and it shows like this in my text:

This thing (Figure 5(b))

Double parentheses appear! I want this style:

This thing (Figure 5b)

How to make it happen?

share|improve this question
What package are you using the produce your subfigures? – Werner Jul 12 '12 at 17:41
Welcome to TeX.SE! Which package (or packages) related to the creation of subfigures do you load in your document? There's subfigure, subfig, subcaption, and probably a few others... Knowing exactly which package you use will be important for figuring out the correct method. – Mico Jul 12 '12 at 17:42
I use subfigure package . Thanks! – flyingbin Jul 12 '12 at 17:44
up vote 3 down vote accepted

To suppress just the parentheses around the subfigure's (alpha-style) "number", all you have to do is issue the command

\renewcommand\thesubfigure{\alph{subfigure}} % default: "(\alph{subfigure})"

preferably in the document's preamble. However, if the resulting look of cross-references to these objects -- 2c, 5a, etc. -- is too sparse-looking for your taste, you may also want to add the following commands to insert a dot (period) between the figure-number and the subfigure-letter:

\renewcommand{\p@subfigure}{\thefigure.} % default: "\thefigure" (without the ".")

to get 2.c, 5.a, etc.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.