{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

4
votes
1answer
620 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
635 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} \floatsetup[...
2
votes
1answer
304 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
2k 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, format=plain,labelsep=period]{...
6
votes
2answers
5k 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
731 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 ...
14
votes
1answer
582 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
606 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
205 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
209 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
359 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? \documentclass[a4paper,12pt,fleqn,titlepage]{...
4
votes
3answers
179 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 \begin{figure}[c]...
4
votes
1answer
189 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
300 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} \...
3
votes
1answer
6k 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
3k 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
699 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 v....
2
votes
1answer
155 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
989 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
843 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} \captionsetup[...
2
votes
1answer
3k 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
3k 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
1k 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: ...
10
votes
2answers
12k 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$ ...
8
votes
2answers
9k 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
2k 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 \includegraphics[width=0.90\textwidth]{Figures/...
11
votes
1answer
6k 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
341 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
869 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
870 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 page,...
4
votes
1answer
410 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 ...
7
votes
2answers
9k 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} \usepackage[utf8x]{...
3
votes
2answers
578 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
686 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. ...
5
votes
1answer
3k 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
595 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 ...
2
votes
1answer
2k views

using subfig changes fonts in captions of figures

I used package subfig(for using \subfloat). This undoes the special font size for the captions in the figures. Now they are of same size as normal text. How to counter that? The Document class and ...
3
votes
1answer
758 views

How can you place a figure caption inside a table using LyX?

I have 3 graphs I would like to use in a LyX document. In order to save space I have placed the 3 graphs into a 2x2 table and in the final box I have inserted the figure caption. When I try and ...
26
votes
4answers
31k views

How to add line break to caption without using caption package

I wish to add a line break to a caption, but I would wish to avoid adding of caption package. Is it possible? \documentclass{article} \usepackage[format=plain, justification=raggedright,...
7
votes
1answer
21k views

Setting font size for caption package

I wish to set the font size for caption package, how should I do it, now I have this in my preamble \usepackage[skip=2pt]{caption}
7
votes
3answers
326 views

\autoref doesn't work correctly when used in tufte-book

i want to use the \autoref command (from the hyperref package) in the document-class tufte-book. mini-example: \documentclass{tufte-book} \usepackage{hyperref} \begin{document} \section{...
4
votes
1answer
6k views

pgfplot — label, referencing and caption

I've the following pgfplot: \begin{center} \begin{tikzpicture} \begin{axis}[ xlabel = Number of threads (\#), ylabel = Task completion time (seconds), ...
2
votes
1answer
141 views

Smash table footnotes of floatrow

I am using the smashcaption redefinition for small images and tables with their caption situated in the margin. It smashes the caption but not additional footnotes. Furthermore, since the caption is ...
1
vote
2answers
1k views

Caption format changing

I want my captions of figures to be formated like this: 1 pav. First Caption 2 pav. Second Caption Furthermore, I need my captions to be centered. How can I redefine this?
5
votes
1answer
486 views

Error when using \BC (from abbrevs) in \caption

I'm using the abbrevs package to provide nicer formatting of BC/AD in dates, but when I use one of the commands in a caption I get an error. Example document: \documentclass{article} \usepackage{...
1
vote
1answer
476 views

Different captions for float and non float figures

I use following code for nonfloat figures.. \begin{minipage}[c]{\textwidth} \centering \includegraphics[width=3.0in]{myimage.eps} \captionof{figure}{Caption for image} \label{fig:...
9
votes
1answer
744 views

Block quote in figure caption

I need to put a multi-line quote in a figure caption. I've put code together that does this correctly if I override several errors, but I'd like the document to compile without errors. The code: \...
10
votes
3answers
12k views

Centering figure captions in IEEEtran

I am working on a paper using the IEEEtran template in LyX. I have run into a problem: While the contents (in this case, a table) of the figure float are centered, the caption is aligned to the left (...
4
votes
2answers
784 views

Common style for global TOC, LOF, LOT and titletoc partial TOCs (with hyperref & caption)

I am currently writing my PhD thesis, and I have trouble defining a common style for my global TOC and the partial TOCs generated by titletoc. Basically if you check the following MWE, I like the ...
4
votes
2answers
374 views

Table of 2x2 tikzpictures

I'm attempting to condense 4 tikzpictures into a smaller space in my document. The solution I have is as follows: \documentclass{article} \usepackage[paperwidth=6in, paperheight=4in]{geometry} \...