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've searched the web, but I didn't have any luck with this. I have two pictures in a document, and I would like for one to have a caption, and for the other not to have one.

So far I've only found how to remove the caption, but the 'Figure 1' part will still stay, and I want that to be gone as well, but still to be able to have a caption on the second figure.

Is this possible?

share|improve this question

closed as too localized by Harish Kumar, lockstep, bloodworks, Stefan Kottwitz Jan 14 '13 at 11:56

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Well just remove the \caption command entirely. If yo don't have such a command in your document you might consider to provide a MWE – bloodworks Jan 14 '13 at 11:24
Oh! I was getting the error due to hypcap package! I didn't noticed that : It works now. Thanks. – dingo_d Jan 14 '13 at 11:29
Otherwise you could use \usepackage[labelformat=empty]{caption} – Rico Jan 14 '13 at 11:32
Package hypcap gives an example for a figure without caption using \capstartfalse ...\capstarttrue. – Heiko Oberdiek Jan 14 '13 at 11:58
up vote 1 down vote accepted

You get a caption only if you define one. But maybe I'm missing something. In the following example I used the figure-environment, but you can include graphics without using figure, when you want to place the figure exactly 'here'.

Some Text

% Figure without caption

More Text

%Figure with caption 
  \caption{My caption}
share|improve this answer

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