Graphics, Figures & Tableschange figure caption

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
laurama
Posts: 2
Joined: Thu Oct 07, 2010 1:47 am

change figure caption

Post by laurama »

Hi all,
I would like to change the figures and tables captions from say:
Figure 1:
to
Figure S1:
I know I need to use the caption package, but cannot find the correct option :oops:
any ideas?
thanks

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

change figure caption

Post by frabjous »

You could try:

Code: Select all

\renewcommand*{\thefigure}{S\arabic{figure}}
in the preamble. (Or similarly:)

Code: Select all

\renewcommand*{\thetable}{S\arabic{table}}
If that's the only change you want to make, then there's no need for the caption package. (Though it shouldn't hurt to load it either.)

If that doesn't work, or you need more specific advice, then please provide a minimal working example as suggested in the Board Rules.
laurama
Posts: 2
Joined: Thu Oct 07, 2010 1:47 am

Re: change figure caption

Post by laurama »

Thank you very much! this worked perfectly well :)
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

change figure caption

Post by localghost »

Now that the problem is solved, please be so kind and mark the topic (not the last post) accordingly as clearly written in the Board Rules (to be read before posting). Please keep that in mind for the future so that further reminders will not be necessary.


Best regards and welcome to the board
Thorsten
Post Reply