{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.

learn more… | top users | synonyms

11
votes
1answer
22k views

How can I left-align a caption?

I am using this for captions: \usepackage[font=small,format=plain,labelfont=bf,up,textfont=normal,up]{caption} But they all come out centred - I want them aligned with the left margin - how can I ...
7
votes
1answer
4k views

Legend in caption

It may be a bit difficult sometimes to deal with the legend of a figure in a LaTeX document. Depending on the context, you may have to place the legend over the existing curves because of a lack of ...
4
votes
1answer
643 views

Very plain captions that can be placed in TikZ nodes?

I would like to define a very plain caption format that simply typesets the caption label and text as if it were normal inline text. Of course I would like to keep the the functionality of \caption ...
19
votes
2answers
3k views

Margin Figures/Captions

I have two figure/caption related questions. Firstly, in many textbooks, it is customary to put thin figures (along with their captions) entirely in the outer margin of the page. What is the most ...
4
votes
1answer
2k views

Subfloat labels don't display properly

The screenshot has the bottom part of a figure with two subfigures. As you can see, the labels have a very narrow width. I don't understand why. \begin{figure}[htp] \centering ...
5
votes
1answer
802 views

In amsart, how I can get caption spacing in tables to be like that in figures?

In the document class amsart, I get different vertical spacing around the caption in tables and figures. For instance, compare the difference: \documentclass{amsart} \begin{document} ...
5
votes
1answer
283 views

Listings and continuation captions [duplicate]

In my document (KOMA script article) I use the listings package for code listings and the caption package for additional control over captions. My problem is that some listings flow over multiple ...
11
votes
3answers
3k views

Line up captions on side by side figures

I want to place two (or more) figures with side by side. The figures are independent, so need separate captions, with no overall caption for the two. I know how to do this with minipages within a ...
4
votes
1answer
3k views

How to use \abovetopsep (to add space between a table's caption and tabular part)?

I read in the documentation of the booktabs package that \abovetopsep can be used to add some space between a table and its caption (instead of the lower-level \vspace{}). However, the exact placement ...
7
votes
2answers
4k views

subfigures with memoir

I switched to memoir and stopped including subfig and now all my subfigures interpret the caption as actual text, i.e., "[caption...]" shows up in the document with the square brackets. How do I have ...
54
votes
3answers
44k views

Change the font of figure captions

I would like to italicize my figure captions and make them smaller. How can I do that?
11
votes
3answers
661 views

Label in caption

For certain styles it appears that the \label statement must be included in \caption to preserve good referencing. Why is that?
18
votes
1answer
25k views

Listings caption [duplicate]

I'm using the listings package with this \begin command: \begin{lstlisting}[caption=blabla, label=amb] This yields a nice code listing with a caption like "Listing 1.1 blabla". Is there a way to ...
15
votes
2answers
15k views

What is the correct way to caption a `tikzpicture`?

I have some trees drawn with tikz and I'd like to have some text associated with them. I can use \caption within figure, but not tikzpicture. UPDATE: Thanks for your advice. figure seems to put my ...