{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

3
votes
2answers
671 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
167 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
545 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
4k 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
491 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
358 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
291 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
808 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
781 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 ...
4
votes
1answer
7k 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 ...
8
votes
2answers
479 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
2k 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 ...
4
votes
3answers
8k 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 ...
29
votes
2answers
20k 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
2k 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
978 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
121 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
5k 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
307 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
529 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} ...
11
votes
1answer
4k views

List of figures: source below image caption?

I'm relatively new to LaTeX and currently working on a paper. In my list of figures, I'd like to have a structure like this: Fig. 1: <Title of figure> . . . 1 ...
13
votes
1answer
1k views

Adding a Caption to a Non-float Environment

I am attempting to add a caption to a non-float environment. The following is a MWE of how I'm trying to do it: \documentclass{article} \usepackage{caption} \begin{document} \begin{tabular}{l|l} ...
1
vote
0answers
76 views

Changed style of caption numbering [duplicate]

Possible Duplicate: Appendix changes sections and figures numbering I have a problem with some captions in a document I am currently working on. Usually when I compile the main file, all ...
5
votes
1answer
739 views

Force a caption to be on the same page as a figure

I'm using the overpic environment to include figures, and the memoir class to add captions. How do I force the caption to always stay on the same page as its corresponding figure? Below is my MWE. ...
2
votes
1answer
1k views

Using a different font in overpic

I'm using the overpic package in the memoir class to include figures and superimpose text on them. Is there a simple way to tell overpic to use a different font than the main font of my text? (I ...
14
votes
1answer
4k views

Globally customizing the style of figure captions [duplicate]

Is it possible to globally alter the way figure captions are rendered? For example, I might want to wrap all captions in \textit to better distinguish captions from regular text.
21
votes
5answers
14k views

Rotate picture with caption

How can I rotate both a picture and its title in TeX? Parameter in \includegraphics allows to rotate only a picture.
4
votes
1answer
3k views

Line break in table caption using beamer

I would like to add a line break in a centered table caption with beamer. I can't seem to figure it out. Here is sample code: \documentclass[xcolor=pdftex,svgnames,table]{beamer} ...
7
votes
1answer
4k views

How can I change figure caption label?

I am using revtex4-1 for a Physical Review Letter. Typically when a figure is made, the caption starts out FIG. 1. <text>. I am creating a supplementary file and I would like it to say FIG. S1. ...
0
votes
1answer
836 views

Abbreviate “figure” [duplicate]

Possible Duplicate: Change caption name of figures I'm using scrbook for the document class. Is there an easy way to abbreviate "Figure 1" in order to have "Fig. 1" ? The proposed answer ...
5
votes
3answers
2k views

float and subfig package interference: subfigures with exact placement

I'm using the subfig package for subfigures and the float package for forced float placement (H). Using both these packages results in the subcaption not getting reset. The following example shows six ...
3
votes
1answer
1k views

figures in sidewaysfigure environment are not listed in List of Figures

I was writing my thesis and found that all figures I included in sidewaysfigure environment are not listed in \listoffigures. How can I make those figures listed in List of Figures? What I did is ...
9
votes
1answer
531 views

Aberrant footnote numbering behavior with footnoted captions

I don't have an explanation for the behavior shown by the following two MWEs. Clearly, the footnote number is altered by the length of text in the caption. Please advise me as to why this strange ...
4
votes
1answer
2k views

KOMA-Script: caption, subfig, and captionlabel

My problem is best illustrated with an example: \documentclass{scrreprt} \usepackage{caption} \captionsetup[subfigure]{font={sf,md,sl,small}} \setkomafont{caption}{\itshape\sffamily} ...
7
votes
1answer
3k views

scrreprt – How to adjust distance between caption and table?

I am new to LaTeX, tentatively using it to prepare a complicated industrial document (laboratory test report). I had selected the report class. After numerous experiments, I have just found that just ...
4
votes
2answers
2k views

\renewcommand with \caption*

I'd like to redefine \caption* as \renewcommand{\caption*}[1]{\vspace{\abovecaptionskip}\caption*{\textbf{Note:} #1}\vspace{-\abovecaptionskip}} but keep getting an error when I try to compile. My ...