{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

7
votes
1answer
378 views

Centering a subcaption

I have three figures that I want to place next to each other. That is fine. In addition, however, each subfigure has a caption on its own and the crucial thing with these is that I have to have two ...
6
votes
3answers
2k views

Caption issue when placing figure side by side

I placed 2 figures side by side using the minipage method from this post, and the figures look perfectly fine. However, the caption of the right figure stick out into the margin, why is that and how ...
5
votes
1answer
693 views

Referring to function name in an algorithm

I have a LaTeX code which looks similar to the following example. \documentclass{article} \usepackage{amsmath,algorithm,algpseudocode} \begin{document} \begin{algorithm} \caption{My Algo.} ...
1
vote
0answers
39 views

Why does \begin{figure} center my image vertically? [duplicate]

If I insert image into my document as such: \includegraphics{spss24fore.png} The image is aligned at top of the page, but when I use: \begin{figure} \includegraphics{spss24fore.png} ...
4
votes
1answer
154 views

1.a numbering of subfigures within a figure without a caption

I am using the subcaption package and write a caption for each of my subfigures. In order to get a reference to "Fig. 1a", I also have to write a "big caption" below all subfigures. But I don't want ...
1
vote
0answers
55 views

Table caption above, figure caption below [duplicate]

In a LaTeX article, I would like to place table captions above the tables and figure captions below. Is this possible?
4
votes
2answers
3k views

Get a table and figure on the same page with captions & labels

Here's what I'm looking for: I need a table and a figure to stay on the same page, while keeping captions & labels fully functional. Both the table and the figure need their own caption and their ...
12
votes
2answers
9k views

Too wide figure caption

I included a figure using the figure environment with a rather long caption. The width of the caption is the same as the page width, which doesn't look so nice. Is there any way to reduce the width of ...
9
votes
2answers
9k views

Multi-page Figure with subcaption package

I have a figure with subfigures defined using the subcaption package (*not the deprecated subfig or subfigure). I need the parent figure to span two pages with two subfigs on each page. I have ...
3
votes
1answer
238 views

Why does ltablex skip a number in captions?

The below example presents two tables with an tabularx environment (taken from package ltablex) and a caption. After each tabularx-table, the table counter skips one, as if both the caption and the ...
3
votes
1answer
235 views

Russian language within figure captions in unicode-aware systems [duplicate]

When I try to compile the following document caption package seem to convert caption text to \cyr.. sequences and fontspec don't understand them. Is it possible do somehow get around that without ...
0
votes
1answer
203 views

How can different numbering style be used for nested subfigures?

I want to display a figure demonstrating 3 cases. The case1 and case2 are shown using single images each. But case 3 needs 3 images. I have used nested subfigure as follows: However the captions go as ...
1
vote
1answer
171 views

How to properly space multirow subfloats

I have 3 subfloats, but they will not all fit on one line, so I have two in the top row and one on the bottom row. My first problem is the floats are all different sizes and they are not being spaced ...
2
votes
1answer
98 views

Custom caption text

How do you set the caption name to say foo instead of figure? I have tried using a custom environment but am encountering several issues.
4
votes
1answer
196 views

Wrap caption around image and wrap text around this construction

Package wrapfigure aligns capture under the image and caption is big. Making a full size picture does not make to much sense due to a very little amount of details so I would like to wrap image and ...
2
votes
1answer
432 views

Moving the table caption

I want to move a wrapped table and caption, I'm trying to use vspace but it doesn't move the caption. Any ideas? \documentclass[12pt]{article} \usepackage{wrapfig} \usepackage{floatrow} ...
2
votes
1answer
177 views

How to modify caption of a wrapped figure?

I have the following code : \begin{wrapfigure}{r}{0.3 \textwidth} \includegraphics[scale=0.9]{tulipmatlab.png} \caption{Synthesis tools} \end{wrapfigure} Which gives an output of : ...
7
votes
1answer
1k views

How to use color in `caption` package?

I am using caption package to customize captions in my thesis. My current code is: \usepackage[width=0.6\textwidth ,font={small, sf,it},labelfont=bf, labelsep=endash, ...
4
votes
2answers
891 views

How to get line-breaking / multirow to work in the caption of my beginner's table?

How to get line-breaking / multirow to work in the caption of my beginner's table? \caption{this is my first table's captive caption} I'd like the caption to look sth like this: this is my ...
5
votes
1answer
375 views

caption interfering with glossaries first/subsequent use mechanism

This is a follow-up question on Glossaries in List of Figures overflow, where it was asked how the first usage scheme of the glossaries package can be used with a glossary term in a figure caption. I ...
13
votes
1answer
472 views

Spacing, subfigures and right captions (Creating a bar menu)

I am trying to create a bar menu for a student place I am part of. Now since we are studying CS, mathematics and or physics of course he have to use latex to create our barmenus or drinking lists. An ...
6
votes
1answer
329 views

Wider caption for listing using multicol

I am using the multicol and listings packages. I would like to have the caption spread across the entire listing for multi-column listings. Here is a MWE of what I am attempting, however the output ...
1
vote
3answers
171 views

How to format a set of paragraphs with captions to the left of the first line

I am trying to write a document with a list of paragraphs that have an introductory caption displayed to the left of the first line of each paragraph, such that the captions appear as a left column ...
1
vote
1answer
134 views

Legend of picture, caption

I would like to assign one caption to a picture in my report, without this caption begin in the listing of figure. I use the following: \begin{figure}[htbp] \begin{minipage}[l]{.645\linewidth} ...
3
votes
3answers
244 views

Centering captions under figures

Is there a way to do this? All mine are left aligned; however, I want them centered. How is it done? Also related: how do I embolden all of my captions? ...
4
votes
3answers
162 views

How to change caption in a figure?

Let us consider the following example: \documentclass{book} \usepackage{graphicx} \begin{document} \title{\textbf{ \Huge{My \LaTeX}}} \author{\textbf{MKS}} \date{\today} \maketitle ...
4
votes
1answer
165 views

float and caption margin mayhem

I cannot get my caption left justified correctly for wide floats. I have facing pages, and after many experiments, the closest I've come to success is a proper layout only for odd pages. I would like ...
1
vote
1answer
200 views

Captioning a figure with multiple subfigures all at once

I want to create a figure with subfigures, and then reference them from the caption of the main figure: \begin{figure} \begin{subfigure} A figure \caption{} \label{a} ...
2
votes
1answer
2k views

Caption below the figure and aligned with left side of figure

How do I get my caption below the figure and at the same time aligned with left side of my figure?
1
vote
0answers
2k views

Caption package error [closed]

Since today I am getting an error message when I use the caption package. This is a minimal working example: \documentclass[12pt,a4paper]{report} \usepackage[latin1]{inputenc} \usepackage{amsmath} ...
2
votes
1answer
352 views

Thesis class error Extra } or forgotten \endgroup on second compile (not first) in float caption

I am adapting a paper to a thesis format, and I am getting an error on the second compile of my document (the first one seems to work fine). I am using TeXshop, v. 2.47; I am compiling using pdfTex ...
2
votes
1answer
91 views

changing caption for wrapfigure

I am using wrapfigure to include both a table and a picture. However, because it's in wrapfigure, the table caption comes out labeled as "Figure X" rather than table x. Is there any way I can get ...
4
votes
2answers
687 views

KOMA-Script captionbeside and custom floats

In a KOMA-Script report, I want to use a custom float for algorithms and display an algorithmic-environment with a caption right next to it instead of below. Apart from the fact that I have to wrap ...
4
votes
2answers
609 views

Remove prefix from figure caption in tufte-book document class

I want to get rid of prefixes in figure captions. I use MikTeX, XeLaTeX and tufte-latex style class. I've tried three variants: \caption*{Foto} \usepackage[labelformat=empty]{caption} ...
1
vote
1answer
1k views

Can I use a \caption in a tabu environment?

Is it possible to use \caption between a tabu environment? I have tried using these packages: \usepackage{tabularx} \usepackage{longtable} \usepackage{tabu} And when I write this in my code: ...
5
votes
1answer
1k views

Using 'caption' package with 'thesis' class - undefined control sequence [closed]

I am trying to compile my PhD thesis. It worked a while ago (a few months or so) but something has somehow changes since then because I get an undefined control sequence error relating to the ...
10
votes
3answers
746 views

TikZ: How to center captions below figures in matrix

I have three figures that I want to align in a matrix. Each figure is drawn in a different way and needs a caption that is centered below the corresponding figure. Here is what I currently have: ...
5
votes
2answers
4k views

Changing label name for algorithm

I have this algorithm: \begin{algorithm} \captionsetup[algorithm]{name=MegaAlgorithm} \DontPrintSemicolon \KwData{$G=(X,U)$ such that $G^{tc}$ is an order.} \KwResult{$G’=(X,V)$ with $V\subseteq U$ ...
6
votes
2answers
4k views

Figure and table side by side with common caption

I'm not a LaTeX expert, and I want to align a table and a figure side by side, with a common caption; the table and the figure should be aligned to the bottom, too. I tried this: \begin{figure} ...
2
votes
1answer
772 views

How can I left align the text in the figure/table caption?

How can I left align the text in the figure/table caption? This is the text I am using to add an image \begin{figure}[htbp] \centering ...
10
votes
1answer
3k views

Small default distance between the caption and the table

By default (in the article class), a table caption (without letters with depth) is very close to a table with two or more rows. Only if the table has one row then the caption and the table will be at ...
3
votes
1answer
234 views

Subfloatrow: Omitted incrementation in figure numbering when using subfigures

I suspect this question is slighty related to another question found in subfloatrow: incorrect continued numbering. Trying out the MWE below, the incrementation of the figure number of figure two is ...
4
votes
2answers
460 views

How to change the caption name in the article class when using babel?

I have used the following lines in my preamble \usepackage{babel} \addto\extrasfrench{% \providecommand{\og}{\leavevmode\flqq~}% \providecommand{\fg}{\ifdim\lastskip>\z@\unskip\fi~\frqq}% } ...
7
votes
1answer
414 views

Caption positioned at the side of the figure

I would like to have the caption of the Figure on the side of the figure. Plus I want to control caption width. Also, caption and Figure should be aligned all the way to the left and right of the ...
4
votes
1answer
295 views

subfloatrow: incorrect continued numbering

I am using the subfloatrow environment (provided by the floatrow package) to organise the layout of figures for my thesis. For the MWE provided below, the numbering of the sub-figures in the second ...
4
votes
2answers
4k views

Figure and Table next to each other (memoir class) [duplicate]

To save space, I would like to place the following table next to each other. Each has a separate caption. I have this, I want this, Sample code, \documentclass[]{memoir} ...
3
votes
2answers
298 views

table with blank caption but table label

If I don't put a caption on my table, I don't get the "Table 2.2" label underneath it. If I add a blank caption, I get "Table 2.2:". How do I get rid of the ":"? I am using memoir and ...
3
votes
2answers
418 views

Defining a newenvironment with optional caption

I am trying to define a new table environment with optional caption. However, if I don't pass it the caption, I am still getting the "Table 1.1:" below the table. What am I missing here? Thanks. ...
3
votes
1answer
1k views

How can I insert the symbols into the caption of a figure?

I am having plots in my text. In the plots, the data sets are represented by different symbols. I'd like to explain data sets by using the symbols in the caption of the figure too. How can I insert ...
0
votes
1answer
325 views

Can't use caption in new environment

I am trying to make some consistent tables and looked into the nenenvironmentcommand. However, I am having trouble having a caption and using the defined environment at the same time. newenvironment ...