{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
466 views

Single entry in list of tables using datatool + longtable

I'm using the \DTLdisplaylongdb from datatool in order to create a multi-page table with longtable. How do I provide a caption that only shows up once in the list of tables? (Right now it's showing an ...
6
votes
1answer
1k views

caption package doesn't recognize font=doublespacing?

The journal I'm targetting requires "doublespaced" figure captions, and posts like these http://www.latex-community.org/forum/viewtopic.php?f=45&t=4187 made me try out the caption package. I ...
3
votes
1answer
1k views

Figure numbering with minipages (memoir)

I have the following figure, where I can't seem to get the numbering right. The numbers next to the captions comes out as Figure 1, Figure 2, and Figure 3, but I want them to be (a), (b), and Figure 1 ...
10
votes
1answer
742 views

Placing graphics inside figure captions

Similar to putting a tikzpicture inside a \caption{}, I would like to insert an external icon inside figure captions, something like: \begin{figure} \caption{text with \includegraphics{icon} ...
3
votes
1answer
6k views

\usepackage{caption} breaks references to tables

I'm formatting the listings captions as follows: \usepackage{caption} \DeclareCaptionFont{white}{\color{white}} \DeclareCaptionFormat{listing}{\colorbox{gray}{\parbox{\textwidth}{#1#2#3}}} ...
5
votes
3answers
1k views

How to make caption bold in ctable?

If I use \ctable[caption = \textbf{something}]{}{}{} the text inside the caption is bold but TABLE 1. is not ... It looks like this: TABLE 1: something and i would like TABLE 1: something ...
2
votes
1answer
754 views

Starred version of \captionof not working together with pdfpages

I use the following code to get a caption on the previous page but the correct location of the figure in the ToC. I now get 2 entries in the ToC, which is not really a surprise ;-). I now want to get ...
5
votes
2answers
697 views

How do I suppress the counter for figures?

I am including some illustrations in the figure environment so that they float properly and so I can caption them, but I don't want the counter. Is there a way to suppress this? ...
5
votes
2answers
313 views

\caption{title subsubsection}

I am entering the following code in more than 180 times after each \subsubsection. Is there any way to automate \caption{subsubsection title}? I tried with \caption{\subsubsectiontitlename} but it ...
11
votes
3answers
7k views

How to put large figure caption on separate page from the figure

I have a large figure (> 50% of a page) and a large caption to describe it (also >50% of page). How do I put the caption on a separate page? This is discussed in several forums, but apparently not ...
6
votes
1answer
3k views

Table caption very skinny

I have a table like this: \begin{table} \centering \begin{center} \begin{tabular}{c|c|c|c} Data set & Image size & Hole size (pix) & Total time\\ \hline Mailbox & 459 $\times$ 489 ...
7
votes
2answers
2k views

How to put the url centered under the caption of a figure?

I would like to put a source under the caption of my figure. The only thing that is not working is when I put the URL, the caption and the URL don't stay in the middle. Also \url{...} didn't work by ...
2
votes
1answer
654 views

captionof{lstlisting} Listingsnumber not in caption shown

Hi there having another problem. In the following Minimal Example a listing with captionof doesnt show the Listings Number in the Caption :( \documentclass[ 11pt, % Schriftgröße DIV10, ...
4
votes
1answer
734 views

2 SCfigure next to each other

I want to place 2 SideCaption Figures next to each other but having real trouble with it. I tried to place them in a minipage and tabular environment but nothing worked. Always got a while bunch of ...
7
votes
2answers
528 views

How to label a figure?

I understand how to put a caption on a figure, I'd do something like, \begin{figure}[h] ...put figure here... \label{figure1}\caption{this is a figure} \end{figure} and the caption reads, ...
9
votes
2answers
951 views

Wrap Caption Around TikZ Figure

I have a TikZ figure that appears as follows. The figure also has a caption. I'd like the caption to fill up that blank space in the bottom-right and bleed over into the space it current occupies. ...
9
votes
4answers
2k views

Caption and footnote width with ctable

I am using ctable and I have a table with footnotes. Since the table is narrow, the caption text is squeezed in the table width, which looks odd. I can use mincapwidth to specify a minimum width for ...
1
vote
1answer
282 views

\caption full features, but no showing at list of figures?

Using tocloft for my list of figures, I am looking for some method that enables me to select some specific entires (\caption) such as that one further down, which shouldn't goes to the list of ...
5
votes
1answer
2k views

Can't get this caption right (wrapfig + floatrow)

I'm trying to get a caption to span the figure width on a wrapfig environment. But for some reasons it just won't go. Here is my code and a graphical representation: ...
8
votes
3answers
18k views

Beamer: change size of figure caption

I am creating a beamer presentation and I would like to change the size of the caption under the figures. I am using the Madrid theme. I tried the obvious way: \caption{\scriptsize{Text of the ...
8
votes
1answer
2k views

Change caption width together with subfloat

In the following code the package that give the problems is \usepackage[font=small,format=plain,labelfont=bf,up,textfont=it,up,width=0.85\textwidth]{caption} What I want to do is change ...
4
votes
1answer
22k views

Align figure to the right (with \raggedleft) while still centering its caption with respect to the image

I am wondering if it is possible to align an image to the right margin of the page (with \raggedleft) while still having it's caption nicely centered (with \centering) under the image (centered with ...
7
votes
1answer
660 views

How to specify the caption names in bilingual captions without babel or polyglossia?

I use Axel Sommerfeldt's bicaption package to setup bilingual captions. bicaption needs babel's \selectlanguage to set the different caption names for different languages. However, I cannot use the ...
17
votes
1answer
4k views

Avoiding “\Url Error ->\url used in a moving argument.” in a custom environment

I have a document I'm trying to render using two classes -- my university's dissertation .cls, and tufte-latex (my uni's styleguide is ugly, and I want to make a pretty-print version for my own ...
9
votes
3answers
1k views

One caption in listoffigures for a ContinuedFloat

I am using the \ContinuedFloat command of the subfig package to print a series of figures in more than one page. I would like to have one caption in the List of Figures and "compress" the pages so ...
7
votes
1answer
1k views

Captions for tables included via pdfpages

I have a large number of multipage longtables as independent pdfs. I am including these pdfs in my main document using the pdfpages package. My code for including the PDFs currently looks like this: ...
1
vote
2answers
3k views

Rotate table with caption: “Not in outer par mode. \begin{table}[h]”

I would like to rotate one table with caption however it returns me an error Missing \endgroup inserted ...omparação de Gerenciadores de Documento} Undefined control sequence \end{sideways} ...
3
votes
2answers
652 views

inparaenum in figure captions

Is there a reason why I find it hard to put inline lists in figure captions? I've defined this: \newcommand{\inlinelist}[1]{\begin{inparaenum}[(a)] #1 \end{inparaenum}} But I can't see anything ...
6
votes
1answer
164 views

Setting vertical spacing between different document elements at the same time

I have the following problem. Let's define three types of document elements: Titles, Paragraphs and Longtables. The problem is to setup vertical spaces between them independently. For example, let's ...
9
votes
1answer
5k views

Put text to the right of figures

How can I display text to the right of figure, vertically centered? "Caption" is only displaying text below it, as it seems to me.
0
votes
1answer
1k views

Subfloat caption in wrong position

My subfloat command is standard and simple: \documentclass[12pt]{article} \usepackage{graphicx,subfig,caption} \begin{document} \begin{figure}[h!] \centering ...
7
votes
3answers
3k views

How do I make figure captions span multiple pages?

How do I make figure captions span multiple pages? I have a very long caption for a figure and would like it to carry on to the next page. EDIT: I would like this to work in both one sided and two ...
6
votes
3answers
2k views

Caption without text below "Figure''

I have a problem with captions. I'm new to LaTeX and I don't know English names of "this". I want to have something like: Figure X.X: bla bla bla bla bla bla bla bla etc. ...
4
votes
3answers
2k views

adding captions outside of a figure or table?

For my thesis, I have written a computer program that reads in a parameter file. I want to show the parameter file in my thesis but am not sure what the best way to go about this is. Ultimately, I ...
8
votes
1answer
530 views

Controlling the subcaption space in memoir

Memoir provides these two declarations to control the vertical space surrounding a subcaption: \tightsubcaptions \loosesubcaptions I was wondering if there is a way to control this spacing more ...
7
votes
2answers
4k views

Horizontal and Dashed lines in caption

What I'm looking to do is caption a graph with something like "It can be seen from x (solid line) and y (dashed line)" Where "solid line" and "dashed line" are replaced by two solid and dashed ...
5
votes
2answers
2k views

Double spacing within the caption of a figure

I am using the memoir class on my thesis and I have the \DoubleSpacing command in my document to set up double spacing through the document. This works great. However, I have a figure with subfigures ...
3
votes
2answers
2k views

Control appearance of caption when using subfigures

I am trying to style the name and text of captions so that the name ("Figure", "Table" etc) is in bold, and the title text (eg "A picture of a cat.") is in italics.Following the memoir manual I use: ...
4
votes
1answer
2k views

Adding space between subfigures of tikzpicture (for caption)

I'm trying to draw two figures next to each others using tikzpicture. It's working fine, but the caption of the sub-figures is looking weird. I tried adding the \qquad's, but I'm still having the ...
14
votes
2answers
3k views

How do you put multiple paragraphs in a caption?

I have a really long caption for a figure in a LaTeX document. I would like to break the caption into a few paragraphs. How do I do that? As per the request below, I removed everything I could ...
4
votes
1answer
3k views

placing caption on the top right or top left -

I would like to have my captions as shown in the image below. I want them to appear on the TOP left of the image. I tried SideCap, but it puts them at the bottom of image.
2
votes
1answer
182 views

How to hide table# & Break cell text into two rows

I asked for a new table environment here. How to create new table environment. I took the solution provided by Yiannis I works great I have two questions - I do not know how to break the cell ...
6
votes
1answer
473 views

Count number of lines in a caption

I have a problem formatting my captions for figures/tables. What should happen is the following: I need one line above the image and two lines above and below the caption. To make it look good, I ...
0
votes
1answer
345 views

Renew autoref caption titles when using polyglossia

I am trying to renew autoref caption titles when using the polyglossia package. Newer versions should, according to the manual, support the \addto command similar to Babel. However, I am unable to get ...
8
votes
1answer
286 views

Citations in captions as separate argument

Whenever I include a table of a figure in my research papers, I cite the source of the information in the caption itself. However, I don't want this citation to appear in the List of figures/tables. ...
9
votes
2answers
789 views

Why does manually loading hyperref change the font size for captions in Tufte documents?

I'm using Tufte document classes and need to manually load hyperref rather than have it loaded by the Tufte class. So I'm using the nohyper option with the document class, and later use ...
2
votes
1answer
758 views

Can I place citations in captions using Tufte?

I'm trying to get Tufte marginal material (citations, footnotes, and captions) to support incorporate citations as they do in the Tufte books. What I'm looking for is the "conversational" style that's ...
10
votes
2answers
8k views

Landscape caption for a rotated figure in a portrait page

I've managed to rotate an image 90 degrees to be as if in landscape mode, but I still need to change location and rotation of the caption to match the image's orientation, while keeping the page in ...
2
votes
1answer
3k views

Caption of a table in an array-environment

I used the array-environment to construct a table of data: \documentclass[12pt,landscape]{article} \usepackage{amsmath,amssymb} \usepackage{array} \usepackage{booktabs}% for top-,mid- & ...
3
votes
1answer
2k views

How do I alternate images and only have captions for the first one?

I'm trying to create an itemized list with alternating images in beamer. I've got the list part and the images to work, but things break down when I try to add captions. Basically, I only want to ...