{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

5
votes
1answer
471 views

Linebreaks in KOMA-script captions

Using the captions package, linebreaks can be incorporated into figure-captions easily: \documentclass[12pt]{book} \usepackage{graphicx} \usepackage{caption} \begin{document} \begin{figure}[htbp] ...
6
votes
2answers
306 views

Suppressing figure numbers in KOMA-Script captions

I am in the process of replacing the caption package with KOMA-Script in a long document. Where caption allows me to suppress the figure-number at the start of any caption by using \caption*{text}, I ...
8
votes
1answer
2k views

Figure title in List of Figures

I've got a figure which has several annotations on-image. The figure caption explains these: \caption{Image of my item. (1) Part of the item. (2) Another notable part of the item. (3) Yet another ...
4
votes
2answers
661 views

subfloat text overflow onto the second line and remove gap between the image identifier and beginning of text

I have three images that i need to show on the same horizontal level. THe problem that iam having is that the image description that i place below is overflowing on to the second line. Moreover there ...
1
vote
1answer
154 views

Customize text format of captions by parsing content of \@caption

I need the first sentence of my captions to appear on its own line in a \large, bold font. I also need to same document to easily produce standard captions (all same font, no line breaks). I have ...
10
votes
2answers
596 views

Automatically bold first sentence of a floats caption

How to bold automatically the first sentence of the float caption and second sentence is normal? \begin{figure}[t] \centering \caption{First sentence. Second sentence.} \end{figure} Output should ...
4
votes
1answer
729 views

Caption centering does not work

I am using subcaption package to plot subfloats in my report. However, the caption for subfigures are not centered. Here is what I have done: \documentclass[10pt]{report} ...
7
votes
1answer
683 views

Legend referencing in caption *and* externalization

I am trying to make a reference to a plot inside a figure's caption while using the externalize library. The issue of plot reference using externalization has already been raised in this question. I ...
5
votes
1answer
598 views

Subfig package and tufte class

I am using the subfig package in combination with the tufte latex class. Unfortunately I did not manage to make it work error free. As discussed in other forums (see here), the subfig package alters ...
3
votes
1answer
107 views

Unset caption preface for figure [duplicate]

Possible Duplicate: Change caption name of figures I have a caption and it reads Figure 1: etc.... I would like to replace "Figure" with "Image". I think the answer is similar to my ...
1
vote
0answers
62 views

How to setup the caption and listings package to insert code? [duplicate]

Possible Duplicate: Caption parbox 6.0 pt too wide I used caption and listings package in my .tex file as below: \documentclass{article} \usepackage{listings} \usepackage{xcolor} \lstset{ ...
0
votes
1answer
67 views

More than one table per subsubsection is referred to by section number [duplicate]

Possible Duplicate: Table reference Why does an environment's label have to appear after the caption? If you compile the LaTeX below, you get section numbers for some references ...
10
votes
2answers
8k views

Subfig label positioning

Can anyone tell me how to change the horizontal position of subfigure labels? I have: \captionsetup[subfigure]{labelformat=simple,position=top} Is there something like: {position=topleft} to ...
6
votes
1answer
9k views

How to change listing caption?

I have some listings that contain pseudo-code of algorithms. And I use this: \lstset{caption={Descriptive Caption Text},label=DescriptiveLabel} to add captions to them. My problem is that the ...
4
votes
1answer
668 views

caption setting, bolded figure and table, and single spacing without caption package

These limitations and difficulties I face because I couldn't use caption package. If I add \usepackage{caption}, I couldn't preview my document.. I'm using BaKoMa TeX. There are a lot of bugs which is ...
2
votes
1answer
268 views

Rotating caption with image using a custom float

How do you rotate a caption with the image in a custom float? I've tried the savebox and rotcaption methods outlined in this topic. My image rotates 90 degrees but my caption stays untouched and ...
9
votes
2answers
790 views

Two labels in one caption possible?

In a lot of journals it is common to have single digit figure numbers and denote parts in the figures as (a), (b), and so on. I wanted to use a similar style. After reading the documentation to the ...
3
votes
1answer
114 views

Setting width of RawCaption

I have posted a question Different width for caption and floatfoot with floatrow (which contains a MWE) regarding setting caption and \floatfoot width in the floatrow package, which was answered so ...
5
votes
1answer
2k views

Different width for caption and floatfoot with floatrow

I am using the floatrow package. I would like to define a separate width for both the caption above and the \floatfoot below the floats. I want the caption to span the entire width of the page, but ...
3
votes
2answers
1k views

Caption on tables with wrapfigure

I'm simply trying to get a table on the right side of my text. I've tried many different packages like float, floatflt, and wrapfig, the latter got me the closest to what I wanted. My only issue at ...
4
votes
1answer
449 views

Remove “Figure 1” in text on the right of diagram

How do I remove the label, "Figure 1:" from the caption of the diagram, using the sidecap package?
5
votes
2answers
1k views

Listings package with caption legend in spanish

I'm using the listings package and would like to translate the caption text displayed to Spanish, so instead of Listing 1: Dummy label it will display Listado 1: Dummy label. This is my code: ...
7
votes
2answers
3k views

\captionof messes with paragraph indent

\documentclass{mwrep} \usepackage[font=small,compatibility=false]{caption} \usepackage[chapter]{minted} \usepackage{lipsum} \begin{document} \chapter{Test} \lipsum[2-3] \captionof{listing}{Caption of ...
4
votes
1answer
1k views

How to center listings caption?

I would like to know how to center the listings gerenated caption in LaTeX. It always go to the left of the code. The rest of the captions (tables) are OK. \documentclass[11pt,a4paper,oneside, ...
0
votes
0answers
194 views

Wrong reference for figures? [duplicate]

Possible Duplicate: Why does an environment's label have to appear after the caption? Where to put the \label on a figure environment? I use \documentclass{llncs}, when I reference an ...
8
votes
1answer
2k views

eqref in captions with mathtools

I've now tried mathtools for the first time, for the sake of showonlyrefs. It works fine, except if I put an \eqref command into a figure caption, in which case I get: ! Argument of \@caption has an ...
6
votes
1answer
1k views

Adjusting Vertical Spacing between a listing and its Caption

I am very new to LaTeX. I am inserting a listing as follows: \lstinputlisting[float=hk, caption=My Caption comes here, captionpos=b, ...
2
votes
0answers
57 views

How to put caption beside? [duplicate]

Possible Duplicate: Caption on the side of a figure Can anyone tell me how to get my caption of subfloats on their right side? Here is my example. \begin{figure} \captionsetup{type=figure} ...
7
votes
2answers
3k views

Add a figure title and x-axis label to a figure matrix created using pdfpages

Background I previously asked: Can I convert a 16 page pdf into an 8x2 matrix in LaTeX? I ended up creating a 3x5 matrix of images from a 15 page pdf by compiling a document "foo.tex": ...
1
vote
1answer
4k views

How to customize the caption format for \lstinputlisting

I know how to customize the caption format of lstlisting environment. But how to do this if I used the \lstinputlisting command to import code? My document contain below snippet. \begin{framed} ...
5
votes
1answer
1k views

Create separator lines for algorithm captions in algorithm2e

How I can generate separator lines for captions as follows in algorithm2e? Algorithm 1: Generate Separator Line
9
votes
1answer
2k views

cite in caption of listings

I am trying to cite a paper in the caption of listings. I have the following code: \begin{lstlisting}[caption=Example of something (Adapted from \cite{abc})] example \end{lstlisting} But this is ...
14
votes
1answer
15k views

Change caption font size

I want to change the font size of a single rotated table caption (definitely not all the captions in all my tables/figures) Right now I can wrap the text inside the \caption around a \scriptsize{} ...
6
votes
1answer
432 views

listings caption is distorted

I used listing for listing the codes like: \documentclass[prodmode,acmtecs]{acmsmall} % Package to generate and customize Algorithm as per ACM style \usepackage[ruled]{algorithm2e} ...
1
vote
2answers
2k views

Align table caption with left border of longtable

Subj. I cannot use singlelinecheck=off because it aligns it to the left border of the page. And why table is too narrow? \documentclass[12pt,a4paper,oneside]{article} ...
3
votes
1answer
1k views

Change separator between caption label and number

I've tried to accomplish this for some time with the caption package, but with no result. What I want to do is change the following: Figure 1: text into Figure-1: text I.e. replace the space with ...
9
votes
1answer
207 views

Numbering a figure with a symbol in a way that is compatible with \label and \ref

In a long paper, full of figures labeled as usual, there are two figures which I would like to single out and label with symbols. For instance, I would like to have them labeled Figure $\dag$ and ...
0
votes
1answer
2k views

Latex picture caption without text [duplicate]

Possible Duplicate: Remove colon in the caption of a figure if the caption is empty I want to add a picture with caption Figure 1, but without any additional text. I want the autonumbering. ...
5
votes
1answer
2k views

Ltablex customize caption

I use ltablex package for creating tables. How can i change the caption name for the continuation of the table, as in the picture?
1
vote
1answer
544 views

captions on animation within tabular

I am trying to make a beamer frame with 4 animations on it. I am currently arranging them in a tabular with 2 col and 2 rows. \begin{tabular}{cc} \animategraphics[...animation arguments ...
6
votes
1answer
2k views

Set caption font size in memoir

How do I set the default caption font in a memoir? I tried: \documentclass{memoir} \usepackage[font=small]{caption} But that gives me a warning: Class memoir Warning: You are using the caption ...
4
votes
1answer
1k views

Table numbers restart using \ContinuedFloat

Okay, I am really new at LaTeX so I may be screwing up terribly, but here's my problem. I'm writing a paper with several tables, one of which is in three parts, so I'm using \ContinuedFloat from the ...
3
votes
1answer
1k views

Can't use underscore in algorithm2e caption?

I have a LaTeX document using the algorithm2e package. It used to work before I upgraded to texlive (it's the Debian version 2012.20120516-1 -- some snapshot from 2012, if I understand correctly). ...
16
votes
1answer
15k views

The space between the table and its caption is very small

I have a table written like this: \begin{table} \centering \begin{tabular}{|l||c|c|} \hline&Column 1&Column 2\\ \hline\hline cell1 & cell2 & cell3 \\ ...
3
votes
1answer
3k views

Table and Figure Caption Citation Problem

When I build a LaTeX code, the references to figures and tables labels are not recognized, so latex builder prints "?" in the place. And simplifying the entire text I found out that even the simple ...
4
votes
2answers
3k views

LaTeX freezes on \begin{SCfigure}

I need side figure captions but using SCfigure freezes LaTeX as described here: http://sourceforge.net/projects/latex-beamer/forums/forum/319190/topic/1589887 Do you have any solutions to this ...
7
votes
2answers
3k views

changing the position of a caption

I have a code for putting a figure: \begin{figure} \includegraphics{some_narrow_and_tall_image.pdf} \caption{caption of the figure which can be pretty long} \end{figure} The page format is ...
5
votes
1answer
897 views

How to change the format of table captions?

How I can change "Table 1: sample" to "Table 1. sample"? PS. I'm using ctable, if it important: \documentclass{article} \usepackage{ctable} \begin{document} \ctable [caption={sample}] {|l|r|} {} { ...
8
votes
1answer
355 views

Produce PDFs with only the figures/tables without captions and with only the captions without figures/tables

I'm submitting the final copy of a journal paper and got the following requirements: Camera-ready copies of all figures and tables in a single pdf/ps file (that is, produce a single ps/pdf file ...
4
votes
1answer
731 views

\twopagepicture package refining with long caption spanning across the two pages

The \twopagepicture package is definitely worth it when you have many large pictures. But perhaps I'm not getting the required results because I'm not following the advice correctly. Here are some ...