{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

2
votes
1answer
135 views

Multiple listings in one box with sub captions and using listings counter

I am using separate counters for (graphics) figures and listings. I am using the caption and subcaption packages. I construct sub-figures using subfigure: \begin{figure} ...
2
votes
1answer
175 views

apa6.cls helvetica font in section headers and figure captions

Usually the section headers of apa6documents are sans-serif and bold. I needed them not bold so I redefined all sections/subsections like this to meet my criteria: ...
2
votes
2answers
1k views

Put two pictures above one another within one sub float / reference problem

I was going through some crazy hoops to get minipage and subfloat work nicely (?) together, only to find out in the very end that I screwed up the figure references. I have a figure with two ...
2
votes
1answer
78 views

About the distance between the caption and the main body

I found that there is too much space between the caption of the figure and the main body. (The caption is below the figure). I don't know how to reduce the distance among them? the code I use now is ...
2
votes
1answer
447 views

\restylefloat does not restyle properly threeparttable caption

The following code does not produce the result I would expect. When the caption position is changed by restyling the caption it is no longer centred; it moves to the left. Any idea on how to fix the ...
2
votes
1answer
430 views

Numbered figure with caption in footnote

The question about adding footnotes in floats or captions of these has been asked and debated often. What is about floats in footnotes? I can't seem to get a floating figure environment within a ...
2
votes
1answer
97 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.
2
votes
1answer
209 views

Horizontal margincaption alignment using floatrow

I want to switch from sidecap to floatrow in putting figure captions in the margin. When using sidecapthe text is perfectly positoned within the margin. When i use floatrow there is a slight shift. ...
2
votes
1answer
147 views

Getting lbr frame lines in a listing up to the caption box above it

I have a document similar to this: \documentclass[twoside,11pt,titlepage,a4paper]{report} %unterscheidung zwischen gerade und ungerade seite, 11pkt, kp, kp \usepackage[T1]{fontenc} %inputcodierung ...
2
votes
1answer
196 views

capmargin for multiline captions but centered for oneline

The koma class scrbook centers oneline captions if not given captions=nooneline. However, settings setcapmargin (\setcapmargin{0.05\textwidth}), also one line captions are left aligned with the ...
2
votes
1answer
128 views

How shoud I manage captions and sub captions with float and non float items?

I am currently writing my PhD thesis and I am using this code to put some figures or tables on the left page. So, I have two kinds of figures, some are in a float, some are not. In both cases, I often ...
2
votes
1answer
334 views

Prevent caption to appear on separate page

I'm using a custom listing environment which does not float taken from Code spanning over two pages with minted, inside listing with caption. The caption is done with the caption package. The ...
2
votes
1answer
963 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 ...
2
votes
1answer
124 views

Overhead captions with short final line in combination with a relativly thin float look unpleasant

I'm using the caption package and have a relatively small table with a caption above with a short final line. In the the case of the equation environment, it will spot this and move the equation up if ...
2
votes
0answers
63 views

subcaption package changing algorithm2e caption position

I have a project which makes use of the subcaption and algorithm2e packages. For whatever reason, the subcaption package is causing the captions in the algorithms to be misplaced. Here we have a MWE ...
2
votes
1answer
84 views

New float environment in tufte-book with alternate caption placement for full width figures

I am trying to define a new environment for photographic plates in a tufte-book.cls book. The environment should: Work just as the existing figure / table environments do for non-starred uses, and ...
2
votes
1answer
115 views

Journal of Fluid Mechanics Class Constraints [closed]

I am trying to format a paper to be consistent with the JFM style guidelines. I am using the JFM Latex class provided on the website. However, this class appears to be forcing a format that is not ...
2
votes
0answers
63 views

Error using \ref in captions with Tufte and Babel

I am using the tufte-book class. When referencing with \ref within a caption using the babel package I get two errors: "Argument of \@iiminipage has an extra }." and "Paragraph ended before ...
2
votes
1answer
51 views

How do I make hyperref show the entire figure when I'm using both caption and floatrow?

I use the caption package in my document to control the appearance of captions on figures and tables (small text, with bold labels): \usepackage[font=small, labelfont=bf]{caption} I use hyperref to ...
2
votes
0answers
80 views

extending captions for A3 pages

Im writing my Thesis in A4 format and sometimes I need to use A3 pages for bigger images. I managed to create a single A3 page within the A4 document and I extended the header up to the right margin. ...
2
votes
1answer
69 views

center caption with subimage

I have the following image: Produced from the following LaTeX code: \begin{figure}[h!] \centering \begin{subfigure}[b]{0.6\textwidth} \includegraphics[width=0.7\textwidth, ...
2
votes
1answer
92 views

Caption in LyX appears below a “sub-title”

I'm using the following TeX code in LyX for creating a double table. When viewing it in .pdf I don't know why the caption "Main Title" appears below the text Panel A: Effect. Definitely it should be ...
2
votes
0answers
93 views

How can I apply different custom caption styles to different listings?

In the MWE below, is it possible to define different caption formats for the two listings? In the example the first listing should use a blue caption background (like it is now) while the second ...
2
votes
1answer
148 views

White space between caption and sidewaystable

I am using a sidewaystable from the rotating package. I am trying to add some white space between the caption and the table (caption is placed above table). I tried using ...
2
votes
0answers
36 views

Graphics: File name won't go away [duplicate]

I've just learned how to insert pictures using the \includegraphics{} command. In the compiled PDF document, the file name is visible immediately below the image. Is there a way to suppress the file ...
2
votes
0answers
46 views

Referencing figures when compiling with pdfLaTeX [duplicate]

I had a problem in referencing figures, which now I solved, thanks to an old answer by Werner. To be precise, in my case the reference was working properly (the hyperlink was pointing to the correct ...
2
votes
1answer
46 views

Strange behaviour: “\listoffigures” shown at very first page [closed]

I have some figures like the following \begin{figure}[htbp] \includegraphics[width=\textwidth, keepaspectratio=true]{img/test_example.png} \caption{Auszug aus dem Integritätstest} ...
2
votes
0answers
28 views

Aligning long entries in LOF using tocloft package [duplicate]

I am facing a problem by left aligning long entries in the LOF using the tocloft package. Although my TOC for long entries looks perfect and aligned, the LOF is not :( . I am using the command ...
2
votes
0answers
380 views

LaTeX incorrect figure numbering [closed]

I have several figures and subfigures in a LaTeX file, but only the first few are numbered correctly. Here is the part of the code that is giving me problems: \documentclass[11pt]{article} ...
2
votes
0answers
112 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 ...
2
votes
1answer
270 views

Customize the position of a figure [duplicate]

Hello although this question has been asked several times, I still can't position my figures at the right place. I have installed the float and the here packages. and the code is as follow: ...
2
votes
0answers
175 views

Compilation error when plot and subplot are inserted [closed]

I am trying to add subtables inside tables. To achieve that I add the following packages: \usepackage[format=plain,labelfont=bf,up,textfont=it,up]{caption} \usepackage{subcaption} After adding ...
2
votes
0answers
290 views

\caption* does not work properly [closed]

I have a problem with using the command \caption* (from the caption package) together with the algorithm environment. Instead of parsing the \caption* as a single command, it is parsed like \caption ...
2
votes
1answer
852 views

Figure style with memoir class

I'm trying to modify the defaut figure style with the memoir class. More precisely, I would like to have the Figure X.Y part in bold. To get X.Y in bold isn't a problem, as the ...
2
votes
0answers
55 views

How to put caption beside? [duplicate]

Possible Duplicate: Caption on the side of a figure Can anyone tell me how to get my caption of subfloats on their right side? Here is my example. \begin{figure} \captionsetup{type=figure} ...
2
votes
1answer
799 views

How to rid of automatic .pdf label from \includegraphics? [duplicate]

Possible Duplicate: How to avoid showing the filename when using graphicx? So I'm using the \includegraphics command to put a PDF image of a table into my LaTeX file here, but this pesky ...
2
votes
0answers
429 views

Caption spacing in longtable package [closed]

I am using a style file that sets a particular spacing for the List of Figures (LoF) and List of Tables (LoT) in my Table of Contents. However, I am using longtable for all my tables, and it is ...
1
vote
2answers
14k views

Table caption should be left aligned

How to make table caption left-aligned. I tried \usepackage[singlelinecheck=off]{caption} but it did not work out. In other words it gives an error: \DeclareFloatFont ...
1
vote
2answers
509 views

Use \label and cross-references in xymatrix

Whenever I am trying to use \caption, \label and cross-references in xymatrix, it is not working. An MWE : \documentclass{book} \usepackage[a4paper,margin=.45in]{geometry} \usepackage{xypic} ...
1
vote
3answers
400 views

Text in quote style with caption

I need to put a output of a program in a quote stile but i need to put a \caption tag like an image or a table. I need to do something like: text other text ... Output X: something What i can do ...
1
vote
2answers
58 views

Referencing a table in latex

My latex document is given below. \documentclass[12pt]{report} \linespread{} \usepackage{fancyhdr} \usepackage{amsmath,amssymb} \usepackage{caption} \usepackage{relsize} ...
1
vote
1answer
3k views

Caption labelfont in uppercase, what am I doing wrong?

I'm trying to get the subcaptions and captions in sanserif font and Uppercased. According the manual of the caption package this should be possible in the following way.However, this doesnt seem to ...
1
vote
2answers
241 views

How to force label of a \caption{} to be lower case?

The idea is to have the label of a caption (table in my case, but it shouldn't matter which one, really) to be in small caps and lowercase. Now, I managed to get them in the color that I want, and in ...
1
vote
2answers
217 views

about \usepackage{graphicx,floatrow} in latex

When I use the code: \usepackage{graphicx,floatrow}, the caption of a table ends up under the table. This does not meet the requirement of Springer (book publisher).
1
vote
1answer
3k views

How to put subcaptions below subtables, and increase gap between subtables with 'subfigure'?

Using 'subfigure', how can I create subtables within a table, such that a) subcaptions are underneath each subtable, and b) there's a reasonable horizontal gap between the subtables? So far I've only ...
1
vote
2answers
4k views

caption ruining figure placement in minipage

I have tiny problem. I'm using minipage to put two pictures side by side in a two column article. The code is \begin{figure*} \centering \begin{minipage}[b]{.49\textwidth} ...
1
vote
1answer
70 views

Font size of figures and table captions

I need my figure and table captions to be of font size 8pt, how do I achieve this?
1
vote
1answer
180 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} ...
1
vote
1answer
11k views

How to remove space after image caption? [duplicate]

I am writing one article in which i need to write one image and its caption. I found space after caption seems to be more than normal. \begin{figure}[!ht] \centering ...
1
vote
1answer
90 views

Table paragraph column does not seem to work properly (& caption issue)

Quite new to LaTeX, everything was going fine until tables! My document class is: \documentclass[a4paper, twocolumn]{article} And I'm trying to insert this table into it: \begin{table*} ...