Questions tagged [captions]

{captions} is about captions for figures, tables and other, custom-defined floats or non-floating illustrations which are formatted to look identical to these floats. A popular package is caption.

is about captions for figures, tables and other, custom-defined or non-floating illustrations which are formatted to look identical to these floats. A popular package is caption.

An example of a caption in LaTeX is the following:

\documentclass{article}

\begin{document}

\begin{figure}
  \caption{Caption}
  \label{fig:1}
\end{figure}

In figure~\ref{fig:1}...

\end{document}

Example of LaTeX caption

3766 questions
23
votes
2 answers

Add caption to image included with includegraphics within center environment

I have copy+pasted a portion of my latex source here. I'd like to add a caption at the bottom of each of the images load_8.png, load_9.png, load_1.png and load_1.1.png, but can't find an easy way to do this. I've also attached the output of…
linuxfan
  • 437
17
votes
1 answer

Indent figure multi-line caption

\begin{figure}[htbp] \centering \includegraphics[width=0.55\textwidth]{Chapters/AIntroBackground/figures/Rayleigh.pdf} \caption{Graph of intensity of the diffraction pattern for a circular aperture. Note that, similar to a single slit, the…
Rene Duchamp
  • 1,491
15
votes
1 answer

using [] in the caption of the subfigure

The subfigure caption uses []. Because of that, I am unable to use [] in its caption. \subfigure[ This [] is important] How do I use the brackets in the caption of the subfigure?
user18707
11
votes
2 answers

Referencing without captions appearing but keeping numbering

From what I understand, in order to refer to a figure in the text and be able to access it via clicking, I use \label{}, and then in the text I use \ref{}, with the same name inside. What I would like is for the figure to not have the caption…
rpickmans
  • 115
11
votes
2 answers

Automatic way to use the first sentence of the figure caption as the short caption

Is there any automatic way to use the first sentence of a caption as the short caption to be displayed in table of contents? Precisely I want to write: \caption{First Sentence. Second Sentence.} to be compiled as: \caption[First Sentence]{First…
10
votes
2 answers

How can I turn off table and figure captions?

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…
myotis
  • 936
10
votes
1 answer

Change color of figure caption text

In my code below, I wanted to change the color of the text for the table and figure caption. I am using…
Joe
  • 9,080
9
votes
2 answers

Create two sets of caption labels

I would like to create two sets of caption labels in latex, but research online has not yielded any satisfactory solution. I was wondering if anyone can provide help. More specifically, I have many images to insert into a paper that need to be…
cah284
  • 93
9
votes
1 answer

How to remove space between a specific image and its caption

In this post (How to reduce space between image and its caption?) there is an excellent explanation about the way you can reduce space between figures and its captions. The problem is it works for every figure in the document. How could I change the…
baister
  • 701
8
votes
1 answer

Figure to Fig in both Caption and Autoref

I need to change the caption Figure to Fig. for a journal. I am currently using: \usepackage[font=small,labelsep=period]{caption} and %Caption display style \captionsetup{figurename=Fig.,tablename=Table} to rename the caption. The \autoref…
Amitava
  • 195
8
votes
2 answers

Adding text between figure number and its punctuations

We are using the below definition to get the figure numberings automatically \renewcommand\thefigure{\@arabic\c@figure} \def\fnum@figure{\figurename~\thefigure} The output is as shown below: Figure 1. Caption But, we need to insert the text…
user38642
  • 315
7
votes
1 answer

Extending the width of caption for subfigure

The caption of the subfigure follows the size of the figure/table. Is it possible to stretch the width so that it does not follow the…
Asha
  • 73
  • 1
  • 4
7
votes
1 answer

"Missing number" error with SCfigure (from sidecap package)

Does anyone know how to do "side captions" in LaTeX if you already have a caption environment specified? I keep getting an error when I use…
Candice
  • 81
7
votes
2 answers

How can I take precise control over the size of caption text of images?

In the caption of the images of my text, the size of the text "Figure 1.1" (and so) is greater than the text itself. The result is How can I take precise control over this text? The code…
7
votes
1 answer

Change caption of a single/few figures

The captions of my figures read, as usual, "Figure #: some text". I want a few of them, which are scattered through the text, to read "Diagram #: some text" (the counter being consecutive). What is the right way to do this? Should I define a new…
Simulacra
  • 103
1
2 3
16 17