{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

6
votes
2answers
975 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
462 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, ...
3
votes
1answer
637 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
451 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
658 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
854 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
247 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
964 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: ...
6
votes
1answer
11k 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 ...
6
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
15k 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
465 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 ...
7
votes
1answer
2k 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 ...
8
votes
2answers
790 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 ...
6
votes
1answer
785 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
2k 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
498 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 ...
4
votes
1answer
143 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 ...
8
votes
1answer
3k 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
2answers
1k 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 ...
5
votes
3answers
1k 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. ...
3
votes
3answers
866 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 ...
7
votes
1answer
385 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 ...
5
votes
2answers
2k 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
1answer
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 ...
2
votes
2answers
1k 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
1k 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 ...
10
votes
2answers
2k 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
2k 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
173 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
372 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
271 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
260 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
584 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
502 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 ...
9
votes
2answers
5k 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
2k 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
1k 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 ...
4
votes
1answer
3k views

\cite[page]{book} inside \caption[…]{…}

Is it somehow possible to put a citation including page specification, as in \cite[page]{book}, inside the list-of-figures-relevant caption of a figure, i.e. \caption[*HERE*]{...}? I can do ...
7
votes
2answers
368 views

combining listings and tufte-book, listings caption on tufte's margin

I am not very familiar with all latex details, but I'd like to use the listings package in a tufte-book document. However, the listings package places its captions above or below the listing and I ...
8
votes
2answers
1k views

How do I make the list of figures use an automatically shortened version of the caption?

Many of my captions are quite long and appear as 5 or more lines in the list of figures. To save me the effort of using the optional argument in the caption are there any packages that can produce ...
2
votes
2answers
5k views

Customizing caption in side-by-side figures

How do I customize my caption that follows this article's setting of the captions on page 26. The following is my attempt to do that, but still doesn't work. Obviously, what I want to achieve is to ...
22
votes
1answer
11k views

How can I modify vertical space between figure and caption?

\documentclass{article} \usepackage[draft]{graphicx} \begin{document} \begin{figure} \centering \setlength\fboxsep{124pt} \setlength\fboxrule{1pt} \fbox{\includegraphics{dummy}} \caption{Dummy ...
4
votes
2answers
1k views

Hypcap not working with custom figure environment

I'm trying to use caption with hypcap=true so that cross-reference hyperlinks will go to the figure instead of the figure caption. However, I'm using a multicol environment with a custom figure ...
4
votes
2answers
707 views

Hyperlink to figure (reference) in PDF links to incorrect figure

I have a document with a few sections, I'm new to LaTeX so I'm just using the article class. I want the figure numbers to restart in each section. I did this with \setcounter{figure}{0} at the start ...
0
votes
2answers
115 views

Regarding Changing Captions and Including Them in Different Lists of Interest

I have created several large tables in Excel and MATLAB. Since it is very time-consuming to manually copy and paste these tables in LaTeX, I would like to include them as figures in LaTeX. I would ...
5
votes
1answer
3k views

Trouble with sub figures

I just started using a big template for a paper. With this template, if I \usepackage{subfig}, I get : Unsupported document class (or package) detected, (caption) usage of the caption package is not ...
8
votes
1answer
249 views

display the caption of a figure as if it was a subfigure

I know how to use the subfig package to fit many subfigures (each with its own caption) into a larger figure (with a general caption). I know how to use the sidecap package, the put a figure's ...
1
vote
0answers
427 views

Use \subfloat in custom float/caption [closed]

I am trying to use subfloats in a custom caption/float environment. But I get compilation errors. MWE: \documentclass[a4paper]{report} ...