I am using my figures and tables both in report documents, where I want them to have caption text, an in presentations made with Beamer, where I want them to not have a caption text. I am using the Caption package (2011/08/11) both for my report and presentations.
Is there a simple way to turn off the caption text when I use the figures and tables in my presentations?
Best Answer
Since you're using the
caption
package already you can use its possibilites to define own caption formats to define one that outputs nothing by sayingYou can now use this format by setting it with
\captionsetup
:A complete example:
As noted by Axel Sommerfeldt in the comments it is probably a good idea also to set the skip above and below the caption to zero. Otherwise you might wonder where the vertical space below the figure comes from... For this just extend the caption setup: