{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

1
vote
4answers
29 views

Centered captionlabel above justified caption text

I'd like to have the captionlabel (e.g. Figure 1) centered on a single line with the actual caption justified below. Something like this As you can see, I've achieved what I want with the help of ...
1
vote
0answers
19 views

Six figures (3x2) on one page using subcaption package?

I want to have 6 figures on one page distributed on 3 rows and 2 columns. I've tried using \begin{subfigure} in the subcaption package without any luck. The figures are displayed correctly, but any ...
1
vote
1answer
32 views

Equivalent of one and half line spacing in terms pt

I have the following decleration: \documentclass[12pt,a4paper,oneside,noindent,nocenter,bold]{thesis} The required format for captions of figures is that there should be a skip equal to 1.5 line. ...
0
votes
2answers
28 views

Side by side images (Centering subfloats and changing font)

I have the following images produced by the following code: \begin{figure} [H] \def\tabularxcolumn#1{m{#1}} \begin{tabularx}{\linewidth}{@{}cXX@{}} % \begin{tabular}{cc} \subfloat[Node 3 - Therapy ...
2
votes
2answers
30 views

Captioning side by side figures

I need to get two figures side by side and I am using the following code: \begin{figure} [H] \centering \begin{subfigure}{0.49\textwidth} \centering \includegraphics[width = \textwidth]{1e4} ...
2
votes
2answers
34 views

Align itemize text with graphic and use caption

I would like to align the top of the text with a figure and add a caption with a label to it. But as soon as add caption=test,figure to the adjustbox the picture floats above the text. How do I ...
0
votes
1answer
13 views

Cannot cross-reference figure after using \captionof [on hold]

I'm using \captionof instead of \caption because I had a problem with the figure environment. Whenever I wrote the code to place two figures and some text between them, the text was placed before the ...
3
votes
2answers
38 views

Caption away from the figure

I have made a block diagram using the \framebox command. A large white space exists between the caption and bottom of the figure. How can I reduce it? Code: \begin{figure*}[!t] ...
1
vote
0answers
21 views

How to split a string to figure float with figure name, label and caption?

I am struggling with a shorthand macro that converts a string to a figure. At the end is a working, but unstable version what I am trying to do. The goal is to parse make a command (or macro) like ...
2
votes
2answers
23 views

new caption type in captionof

\captionof command from caption package allows caption for various floats. However we cannot use it to typeset an algorithm caption like: \captionof{Algorithm}{<Caption text>}. I tried the ...
0
votes
0answers
24 views

Referencing an equation in the caption results in the error in the generated list of captions

In my thesis, I generate a list of figures and their captions in the beginning of the work. However, there appears an error in the generated list (in the beginning of the document) when a caption ...
2
votes
1answer
32 views

A conflict between caption & longtable packages raises the “overfull \hbox” warning!

Note: This is not a duplicate, as I've already searched most of the suggested duplicates in search of an answer, but it proved to be of no avail! Therefore, please help! Problem: Overfull \hbox ...
0
votes
0answers
7 views

Caption package messing with Endnotes package [duplicate]

I'm facing a weird problem with caption and endnotes packages. I have some figures and their caption contains endnotes. However, at each call of \endnote, the endnote counter is incremented by 2 ...
1
vote
3answers
35 views

Right align a caption with an image

So, I am doing an outline where, as you go down the subdivisions, the left margin pushes progressively to the right, yet all the text stays flush on the right hand side. For aesthetic reasons, I keep ...
1
vote
1answer
16 views

Sideways figures captions on previous page

My thesis guidelines specify that a full page figure must have it's caption on a preceding page, also on it's own page. For rotated figures I would like to be able to rotate these captions as well. ...
1
vote
0answers
49 views

Add caption and list of listings to own listings environment

With listings and caption packages I can set up caption for lstlisting with \captionsetup[lstlisting]{...} create list of lstlistings \lstlistoflistings I can also define my own environment ...
0
votes
1answer
33 views

Sans-serif references in captions

I use a serif font for my document (koma-script document class scrbook) but a sans-serif font for captions. If I reference, e.g. an equation, within my caption, this number is printed in serif, not ...
2
votes
2answers
28 views

Left justified comment in table caption without caption package

I need to left justify long table captions, without overwriting all the special formatting (font etc.) of the style file I am required to use. I tried to use \usepackage{caption} ...
0
votes
2answers
52 views

align caption of figure in list of figure

I have a figure in LaTeX with a caption that doesn't fit into one line, e.g. \begin{figure} \includegraphics{} \caption{This is a very long caption that does not fit into one line} \end{figure} ...
6
votes
1answer
26 views

Algorithm2e: What is the recommended method to change the caption of ONE algorithm?

I want to read the caption of one of my algorithms typeset by algorithm2e to read Listing instead of the default algorithm. What is the recommended/best way to achieve this? I actually have a ...
1
vote
1answer
25 views

Vertically centering figures with caption remaining bottom aligned [duplicate]

When I use subfig package to have two images in one figure the marker (a) stays bottom aligned with (b) but the image is not centred vertically (Figure 1). When I use minipage command to have two ...
1
vote
0answers
25 views

how can remove part of figure caption from list of figure in latex?

I have this caption of figure: \caption{these are my figure. (a):aaaaa. (b): bbbbbb.} that appear in below of figure in text. All part of this caption appear in list of figure. I want only appear this ...
1
vote
1answer
28 views

Missing $ inserted in python code

I use python3 (with code not from me) to insert data from a database (bsddb3) from the program GRAMPS into a LaTeX document (TeX Live 2014) and I receive the following error messages: ! Missing $ ...
1
vote
1answer
62 views

How does LaTeX calculate the width of a caption? What is it based on?

A pretty straighforward question... I thought of it while using the caption package, where you can set the width parameter for a caption. I am wondering if there is a better (smarter) way-perhaps the ...
2
votes
1answer
62 views

Automatic way to use the first sentence of the figure caption as the short caption

Is there any automatic way to use the first sentence of a caption as the short caption to be displayed in table of contents? Precisely I want to write: \caption{First Sentence. Second Sentence.} to be ...
1
vote
0answers
27 views

insertion picture in latex problem [duplicate]

I'm using latex editor to insert a picture. When I view the output in pdf file the "Diagram.jpg" appear above the picture. How I can remove it? the code written for insertion is: \begin{figure}[h] ...
1
vote
0answers
20 views

Figure environment not compiling onto pdf

I'm trying to get the following image to show up in my document: \begin{figure}[h] \includegraphics[width=\linewidth]{experimentalapparatus} \caption{Experimental Apparatus. Copied from Dr. Wes ...
2
votes
1answer
32 views

Table caption above, figure caption below in ConTeXt

My definition looks like this: \setupcaptions[location=top] \setupcaptions[way=bysection,prefixsegments=section,headstyle=\bf] And placement of tables ...
1
vote
1answer
21 views

Figure caption side by side of the last subfigure

I have a figure consisting of 4 subfigures and a quite long caption. What I would like to do is to have the first three subfigures in the first row and the last one in the second row while the ...
6
votes
1answer
45 views

List figures with \listoffigures but don't show the figures themselves

For a journal submission, I need a list of figure captions at the end of my manuscript but they explicitly asks not to include the figures themselves in the document. I have added \listoffigures at ...
6
votes
2answers
36 views

Hyperref compatability with automatically bolded first sentence of float caption float

I am able to automatically make the first sentence of a float caption bold by following the approach given at Automatically bold first sentence of a floats caption. However, when I use the hyperref ...
3
votes
2answers
39 views

How do I make part of my table caption in italic font?

I am very new to Latex and I am trying to make a very simple table with a species name in the title (caption). I want all of my title to be normal font except for the species name, which should be ...
2
votes
0answers
35 views

Add a caption under an image

I'm trying to get "Figure 1" as a caption under my picture but it isn't displaying for some reason, can somebody spot my error? I've removed text/formulas that wouldnt affect this part of the code, ...
0
votes
1answer
19 views

Custom citation in list of tables

The problem i have right now is that, i need to use different citation in list of figures and text as latex thinks the citation i have in list of figures comes first and numbers it like that. Hence i ...
0
votes
1answer
18 views

Two figures side by side - caption

I have two figures side by side in my work and I need to add captions to them. However when I add captions they are not in line with the figures. Is anyone able to help me? Thank you very much. This ...
3
votes
2answers
37 views

Space before colon in beamer captions

As you can see below, LaTeX is formatting my captions like this: Figure : caption, while I would like them to be Figure: caption, without a space before colon. Here's a MWE: \documentclass{beamer} ...
2
votes
1answer
21 views

How to add a tablenote for a caption [duplicate]

How is it possible to make a table note for the table caption? Something like \begin{table} ... \caption{...\tnote{1}.} ... \begin{tablenotes} \item [1] : blabla. \end{tablenotes} \end{table} ...
0
votes
0answers
14 views

Table of figures: Caption error [duplicate]

In my LaTeX document I have some figures with a big description in the caption so I don't want all the caption to appear in the Table of Figures but instead a short version of it. For that I used ...
3
votes
2answers
27 views

Two captions, one figure, one line

I have a figure that contains two images side by side. I want the first to be Figure 1 and the second image to be Figure 2. I'd like to have the caption written beneath both of them. ...
4
votes
1answer
17 views

Indentation in caption after the first line

I have long captions for my tables and figures and I want my captions to be indented 3 characters after the first line. For example Table 1.1. bla bla bla ...bla bla bla ...bla bla bla . above ...
4
votes
1answer
40 views

Two-column text within a caption environment

I have a particularly wide figure with a particularly long caption that I've lovingly put in a landscape page in a memoir document with pdflscape. As the figure is relatively thin and wide, and the ...
1
vote
1answer
22 views

One-column figure in a two-column document : top and bottom alignment with text

I have a tall image in a figure float in a two-column document that I want alone in a single column. I would like the top of the image and the bottom of the figure caption to be both vertically ...
1
vote
1answer
27 views

Setting margins below and above figures does not have any effect in beamer

For the sake of using captions I'd like to put my graphics into a \begin{figure} ... environment. Doing that a white space is added before and after the picture, table or whatever. This answer is ...
3
votes
1answer
64 views

How to use underscore in a variable

I have a variable x which takes different names including underscore, for instance 1_10. Later, I want to use that variable as the title of a picture: \caption{\x} However I can't do that because ...
0
votes
0answers
22 views

How to resize caption with a plot when the caption comes first?

I am writing my thesis. I have to put my captions above my figures. I have to use figures because the template we use automatically creates a table of contents for us. I use pgfplots to graph my data. ...
4
votes
2answers
58 views

Put a caption under a drawn picture

I have the following code that produce a 3x3 grid with an arrow in it. Some of the grid cells have a # in them. \begin{picture}(185,90) \put(0,0){\framebox(30,30)} \put(30,0){\framebox(30,30)} ...
0
votes
1answer
67 views

Caption above figure

How can I set the caption to be above the figure ? It has something to do with package floatrow. If I comment the line which is loading it, all is OK. I dont accept solutions as "disable floatrow ...
1
vote
0answers
36 views

longtabu bottom caption too close

I want to add the longtabu caption bottom of the table. I know this is not good. But I was told to do so. When I do it as in the code sample, the caption comes too close to the table. But after the ...
1
vote
1answer
48 views

how to add citation to figure like Figure:.2.4[1]

how to add citation to figure like Figure:.2.4[1] Because I am adding \cite{b1} in caption it will print index.So where to add citation so it will add on figure.
6
votes
1answer
55 views

Centering subfloat caption with subfig package

A footnote on page 12 of the subfig documentation says in part: Note that the ‘width’ may be larger than the width of the sub-float body, or equivalently, the ‘width’ may be negative to provide ...