{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

0
votes
1answer
42 views

How to put a frame and a color caption to graphics [duplicate]

Hello, i guess it is the easiest way to show you in a picture what i want to do :-) I want to have all my grafics with the same style: - color caption - frame grafic So I have to change just the ...
0
votes
1answer
15 views

Figure caption has line break problems when using subfig

I'm using the subfig package and I'm getting words that are broken in captions. Can anyone explain why, or how to stop it? \documentclass[11pt,a4paper, draft]{report} \usepackage{gensymb} ...
1
vote
1answer
47 views

Longtable's caption mixed with footnotes

I use longtable for building tables in my text works & caption in the bottom. I like this multipage table environnement. But sometime, I see a problem : awful ! My caption is mixed with footnotes… ...
1
vote
0answers
42 views

How do I put table captions in the margin?

I have a two column document and need to display two tables alongside each other, with the caption in the margin. I've hit a wall with it -- I use table* float to span two columns with one figure and ...
2
votes
1answer
26 views

Reducing stretching of a caption gives an error

I get an error when I add the stretch=0.80 command to the caption-package as here: \usepackage[font={color=red,footnotesize,% stretch=0.80},labelsep=quad]{caption} The caption is a simple ...
0
votes
0answers
24 views

How to center the caption under longtable?

I have to use the document class and style of the university to write my msc thesis. But they seems to put the caption under longtable on the right instead of centered. Under the normal table it works ...
1
vote
0answers
16 views

Acmsmall and referencing subfloats [duplicate]

This question is following almost directly this one : acmsmall and subfigures I managed to insert subfigures using minipage but I'm now wondering how I can refer to these subfigures. My MWE: ...
2
votes
1answer
62 views

How to create boxed, captioned listing?

For a quick reference guide in which I want to include many small listings, each with a caption, How do I group them together, and prevent the code from being broken up? I'm sure there is some ...
3
votes
2answers
38 views

Referencing subfigures with subfigure package

I'm kinda new on LaTeX and I have a little problem. I'm using the subfigure package and trying to reference my subfigures with \label{key}, but appears "(??)" when I do that. Here's the code: ...
2
votes
1answer
47 views

How to leave out figures in appendix from list of figures

Nothing seems to work. I've tried adding * to \caption. I've tried adding \captionsetup{list=no} to the preamble before the \appendix entry. I'm using \usepackage{caption}. Any ideas?
0
votes
0answers
29 views

beamerarticle and minor problems with caption

I have a major and some minor problems with the MWE below. The major one: when I uncomment \usepackage{beamerarticle}, my macro definition starts to contain some extra '}', probably some macro ...
0
votes
2answers
76 views

How to place a caption in the bottom right corner of a grid of images?

I have a grid of images as shown below. This is achieved using the code below (taken from: [how to insert a fixed number of figures per row/col])2 \begin{figure} ...
1
vote
1answer
33 views

Twocolumn Revtex-4 figure caption is above the figure

Figure captions should be below figure (unlike table captions). But in Revtex4-1 the caption is above the figure. How can one fix this to make it appear below the figure? I'm bumping this should have ...
3
votes
1answer
31 views

Change \caption behaviour

I am messing around with \caption package and what I need is to place \figurename after figure numbering and change it to be att., basicly what I need is: 1.2 att. figure text I managed to put ...
0
votes
2answers
53 views

How to include 3 vertically aligned subfigures, while making them appear as 3 separate “Main” (and not sub-) figures?

I want to place 3 figures on top of each other and I figured out a way to do that using subcaption package. But, they appear as sub-figures and not the "main" figures. I think it's because of the ...
1
vote
2answers
72 views

Why does the table title does not follow directly after the table number?

As shown below, my table title does not follow directly after its number, it starts from another line. I need your help to figure out why this happens. How I can fix this problem? My code is as ...
3
votes
1answer
54 views

Is there a way to insert \caption{} inside a multicolumn on top of a longtable?

I have a coloured table and I'd like it to be sort of uniform and have the \caption inside the coloured space serving as a title as well. I can insert the table number with \thetable but then I'd have ...
3
votes
2answers
41 views

How to \caption a longtable imported from a file by \input{file} and use a smaller font?

I'm generating a boring longtable from a database into a file. My goals are: Import the generated longtable into another document. The longtable data is dynamic and must be imported periodically. ...
1
vote
1answer
49 views

Bad caption imporing figure from pdf

I'm making some figures with Visio 2013 and exporting them as pdf files. I'm including them in LaTeX: \begin{figure}[h] \centering \includegraphics[width=1.00\textwidth]{./Figures/figure.pdf} ...
1
vote
4answers
67 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
32 views

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

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
57 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
59 views

Side by side images (Centering subfloats and changing font) [duplicate]

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
61 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
66 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
34 views

Cannot cross-reference figure after using \captionof [closed]

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
44 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
36 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
43 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
51 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
83 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
8 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
57 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 ...
2
votes
1answer
39 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
68 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
50 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
65 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
84 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
56 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
82 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
58 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 ...
2
votes
1answer
65 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
98 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 ...
5
votes
2answers
113 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
25 views

Figure environment not compiling onto pdf [closed]

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
57 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
42 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
75 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
50 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 ...