Reputation:
I'd like to make my own caption inside \caption{}
in figures of LaTeX. How can I turn off the "Figure " prefix from the captions that appear?
Upvotes: 53
Views: 108712
Reputation: 33
If you don't want to use additional packages, here is a work-around to put a caption (text) below the figures:
\includegraphics[width=1\linewidth]{figurename}\\[1mm]
{---your caption---}
Upvotes: 0
Reputation: 99
You can use
\captionsetup[figure]{labelformat=empty}
to turn the caption text off and then use
\captionsetup[figure]{labelformat=default}
to turn the caption text on again if you want it to be different in different sections.
Upvotes: 9
Reputation: 748
First use the caption
package and then use the command \caption*
in this way
\usepackage{caption}
...
\caption*{some text}
instead of \caption{some text}
Logic is the same in avoiding numbering of sections and subsections and many other objects
\subsection*{Name of unnumbered subsection}
Upvotes: 64
Reputation: 15065
Instead of defining the caption style when loading the caption
package, set it up afterwards:
\usepackage{caption}% http://ctan.org/pkg/caption
...
\captionsetup[figure]{labelformat=empty}%
These changes will now only pertain to figure
environments.
Upvotes: 13
Reputation: 132217
You can use the caption
package and do this:
\usepackage[labelformat=empty]{caption}
Upvotes: 29