{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

2
votes
1answer
124 views

Overhead captions with short final line in combination with a relativly thin float look unpleasant

I'm using the caption package and have a relatively small table with a caption above with a short final line. In the the case of the equation environment, it will spot this and move the equation up if ...
0
votes
1answer
298 views

revtex reporting underfull hbox at every newline

So I'm working on a seminar, and I was wondering, why revtex, every time I make newline after a paragraph (\), reports underfull hbox warning? I mean, everything looks fine once in pdf (I would expect ...
4
votes
1answer
882 views

set a caption and label in a tikz timingtable environment

Is it possible to set a caption and label within a tikz timing table? Or do I have to do that somehow within a tikzpicture? Here the codefragment: \begin{minipage}{0.5\textwidth} ...
1
vote
2answers
4k views

caption ruining figure placement in minipage

I have tiny problem. I'm using minipage to put two pictures side by side in a two column article. The code is \begin{figure*} \centering \begin{minipage}[b]{.49\textwidth} ...
2
votes
1answer
906 views

Format caption in figure

I have a question which concerns text formatting in captions and also in sections. For example when I type: \begin{figure} something \caption{this is some caption text and it probably may be quite ...
4
votes
1answer
629 views

Figure filled with longtable

I am currently creating a figure which is filled by longtable inside, why I do this is because I need the caption to be figure, while on the other hand, I need the table environment. The thing is, ...
5
votes
1answer
2k views

Boxed equation with empheq: adding text outside box

I'm trying to have a box around my align environment, so I do the following: \usepackage{empheq} \begin{empheq}[box=\fbox]{align} equations \end{empheq} This works fine, but I would like to have ...
5
votes
2answers
3k views

How to eliminate excessive vertical space in wrapfigure?

Compiling the following document using xelatex results in unwanted vertical space above the wrapfigure caption. Removing either the inclusion of the polyglossia package or \centercaption usage ...
20
votes
2answers
4k views

Remove colon in the caption of a figure if the caption is empty

One of my figures should not have a caption, only the normal numbering. To get this, I use this code: \begin{wrapfigure}{l}{4cm} \begin{center} \includegraphics[width=3cm]{graphic.pdf} ...
36
votes
2answers
35k views

Change caption name of figures

How can I modify the caption name of a figure? For example I have \caption{This is a figure.} and by default the caption appears as Figure 1: This is a figure. However I want Fig.1 - This ...
4
votes
3answers
2k views

Nested subfloats with detailed caption control

I have four images, each with a corresponding magnified version of a small portion of it. I would like to arrange them so that the zoomed out versions are on one row side by side, and the ...
1
vote
1answer
3k views

Caption labelfont in uppercase, what am I doing wrong?

I'm trying to get the subcaptions and captions in sanserif font and Uppercased. According the manual of the caption package this should be possible in the following way.However, this doesnt seem to ...
7
votes
3answers
3k views

How to redefine the caption command with optional arguments

I'm writing a thesis that has double spacing on by default throughout the document. However, captions on figures need to be singlepaced. I can do that like this \normalsize \singlespace \caption{ ...
4
votes
1answer
166 views

Globally configuring caption max-widths

I've got a series of tex documents that I want to make a few changes to for the sake of readability. One that I can't quite get sorted out cleanly (i.e without a massive regex) is setting a ...
1
vote
1answer
1k views

Figure caption indent problem

The last lines of my figure captions are indented too much or centered. I use floatrow package which usually doesn't conflict with LaTeX. Is it possible to fix this? My preambles are as follows: ...
2
votes
1answer
1k views

sidewaysfigure error when adding a caption

I'm trying to include a uml diagram, which as it's quite large i'd like to rotate. However, if I try and add a caption I get an error and it won't build. I'm adding the figure like this: ...
2
votes
1answer
391 views

How to set title for a single page inside document

I would like to ask for an advise about how to set title of the single page inside the document (not the title page, but regular page in document). I'd like to have picture on whole page with caption ...
11
votes
2answers
10k views

How to force to center the table captions?

i want to center the table captions.
4
votes
1answer
2k views

(Beamer) Numbering captions by section in beamer

I'm writing-up a lecture course in Latex with an essentially identical set of slides in beamer. I'd like to have the figure numbering in the beamer slides to match those of the lecture notes, for the ...
5
votes
1answer
653 views

Table without the name “Table” in the head.

If I write \caption{This is the table.} in a tabular environment, then the head of the table will appear as: "Table #: This is the table." But I want the head of my table to be simply "This ...
4
votes
1answer
170 views

How to retain figures only with captions in their original positions

The publisher of our book has requested us to modify the source of the book so that only figures with their captions remain retaining their original positions in the document as if the rest of the ...
6
votes
2answers
1k views

How to give any figure a caption based on its horizontal size?

I have figures in both portrait and landscape and of various sizes. I'm trying to find a leeway to give any figure a caption based on its horizontal size. In my thesis.cls file, I've already set a ...
4
votes
1answer
585 views

caption of subfloat not fitting on page

In my thesis I have 13 figures I want on a single page. Since the last figure sits at the left side there is some space at the right side I would like to use for the caption. Somehow the caption goes ...
9
votes
1answer
9k views

ContinuedFloat, and Subfloat

In my thesis I have a lot of figures with a common caption and multiple subfigures (a,b,c..etc). I wanted to split them between the pages because I don't want to fit them all in one page, therefore I ...
30
votes
4answers
122k views

Tabular: title above and caption below?

I have a table that I would like to put the Title above and a caption below. Intuitively (though I know how troublesome intuition can be in something like LaTeX), I should be able to do as below: ...
12
votes
1answer
3k views

Horizontal line below figure caption

I would like to draw a horizontal line/rule beneath my multi-line caption to separate the caption more clearly from the rest of the text. A quick example: \begin{figure}[tb] \begin{center} ...
5
votes
1answer
973 views

\listoffigures chokes on inline math delimiters in captions. What is going on?

I'm working on my thesis, and I've realized that, any time I try to use \( \)-type inline delimiters in captions, that pdflatex breaks. While I can weasel out of actually \needing\ math in my ...
11
votes
2answers
5k views

Placing figure captions at the bottom

How do I get the captions for my figures to be placed at the bottom of the picture, just like the captions for tables?
2
votes
1answer
556 views

Caption Formation for Figure

I use the caption package. Somehow I got a period between the type (Figure) and the separator (:) When I wrote listformat=empty, for the Table of Figures, I just got the period and then the ...
5
votes
1answer
570 views

Caption on side of page

I have a image that I want to include in my thesis. It's long, so I have to rotate it, however when I do this the caption remains at the bottom of the page. How can I make the caption go to the side ...
2
votes
1answer
425 views

Caption alignment

For my master degree thesis I'm using a quite complicated latex template. The relevant part of the template is here: http://pastie.org/1728702 Probably this wasn't a good idea since I cannot ...
4
votes
1answer
412 views

Want figure height to ignore side caption height

I use beside captions placed in a large margin area. Sometimes, the caption text is taller than the figure and this causes too much vertical space around the figure. I'd like the effective height of ...
2
votes
1answer
663 views

How to remove colon(:) on longtable suffix caption

Using svmono package and \renewcommand\tablename\{Tab.}. When I use table, the caption shows “Tab.1 Bah Bah”. But if I use longtable, the caption shows “Tab.2: Bah bah”. How to remove colon as “Tab ...
3
votes
1answer
1k views

Subfig, KOMA script, caption - how to suppress some list of figures entries?

I am using KOMA script and the subfig package like this \documentclass[11pt,a4paper,BCOR10mm,DIV11,toc=listof]{scrbook} \usepackage[caption=false, font=footnotesize, ...
2
votes
1answer
709 views

How to “glue” the caption to the table (stay on the same page as the table)

Normally, my captions stay with the table (cannot remember my exact example - couldn't replicate it - but I am now using the booktabs package anyway so let us take this one just in case this one is ...
69
votes
3answers
24k views

subcaption vs. subfig: Best package for referencing a subfigure

On this question a comment by Martin H says, that one should forget about the subfigure and subfig packages and use subcaption. As subfig replaces subfigure, no argument there. I am currently using ...
7
votes
2answers
8k views

How to put two images next to each other with a) and b) labels?

I want to put two images next to each other and in order to do that I have written these code: \begin{figure}[h] \begin{minipage}{16pc} \includegraphics[width=16pc]{P_1.eps} \caption{\label{fig4} ...
3
votes
1answer
4k views

How to force caption below figure

I find captions appearing above figures in the PDF output of a latex thesis file using the code below: \includegraphics{chapter2/fig5.pdf} \begin{figure} \label{Fig. 5} \caption{Time responses ...
3
votes
1answer
1k views

Table: Caption is centered but table itself not

I have another problem with a table in my document. The following code centers the caption but not the table itself. Any hints why? \begin{table}[htbp] \begin{tikzpicture} \node (table) [inner ...
4
votes
2answers
405 views

Powerdot shrink text in figure caption

I am using the powerdot class to make my first presentation in LaTeX (LyX). I have a figure whose caption contains a lot of text. Currently the text rolls off the slide. I can manually change the font ...
11
votes
3answers
5k views

List of Figures - how to add caption label

I'm using the caption package. In the List-Of-Figures I get only the numbers, but I also want to have the prefix. It currently looks like that: List of Figures 1 Caption of Figure 1........1 ...
4
votes
1answer
803 views

Subcaptions for TikZ pictures

I'd like to put (sub)captions under the diagrams on the right hand side of the equation in the following code. For example, I'd like to label them (a) through (e). Thanks in advance for any help! ...
6
votes
1answer
7k views

Formating captions in longtable tables

I'm typesetting my dissertation using Springer's svmono class. The class defines its own formatting of table and figure captions. I have a couple of multipage tables which I typesetted using longtable ...
27
votes
1answer
10k views

Captions for figures in \listoffigures

When I use \listoftables and \listoffigures I get in the list long captions that appear next to the tables/figures. I would like to use short captions for this list which summarize these captions. Is ...
2
votes
1answer
2k views

Adjust spacing of algorithm float caption

Background Using the algorithm package to display source code listings. Problem The LaTeX (LyX) code (test.lyx) is at: http://pastebin.com/QRWDhA7E An example graphics (query.png) file is at: ...
9
votes
2answers
2k views

How can I remove “Listing #: ” from listings caption?

I am working on a C++ reference manual for myself and I want good-looking listings. The Stack Overflow question entitled LaTeX source code listing like in professional books was very helpful but, for ...
2
votes
1answer
661 views

Subbottom giving weird errors when I use captions for my subfigures

I have a figure with the following syntax: \begin{figure}[h!] \centering \subbottom[$H_n = A_n / e$]{ \begin{tikzpicture}[every node/.style=defnode] ... \end{tikzpicture} } \subbottom[$S_n = A_n - ...
7
votes
2answers
5k views

List of figures with sources

What is the best way to place the source of images in my document? I have some images and they are shown in the \listoffigures like expected, but how can/should I point out where they come from? ...
1
vote
2answers
278 views

Is it possible to add centering and vspace to the caption text of a figure?

I have a figure containing a pair of plots that represent data points from 15 referenced papers (indicated in the plots as 1-15). To better indicate the source of each data point, I have added ...
2
votes
3answers
3k views

Figure next to list (caption problems)

I am trying to put a figure next to a list, where the list is talking about the figure. This is fine, I can do that with the minipage environment. However, my problem is that when I try to put a ...