{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

6
votes
0answers
62 views

caption vertical spacing broken

I'm trying to migrate my project from float package to floatrow one (we can't load former with the latter as it is said in documentation for floatrow). I extensively used ruled style. Most obvious ...
4
votes
0answers
67 views

How to let minted break across pages but keep the caption together with the end of listing?

I want to create a listing using minted that has background colour and can be split across pages. The usual advice in that case is to use the mdframed environment and I have written a command that ...
4
votes
0answers
124 views

Tricky problem with sources in list of figures

I've a very tricky problem here: MWE: \documentclass[12pt,german]{article} \usepackage[demo]{graphicx} \usepackage{caption} \usepackage[list=true]{subcaption} \begin{document} \begin{figure} ...
3
votes
0answers
38 views

Override hyphenation settings in caption

As tomorrow is April 1, I'd like to send a somewhat special interim version of my thesis to my supervisor. In the TeXbook, there is a chapter that is set up to make TeX fall in love with hyphenation. ...
3
votes
0answers
72 views

Limit the title in \listoffigures to the first sentence of the caption

I would like to do the same thing as described here : Automatic way to use the first sentence of the figure caption as the short caption. Which mean that I need to limit the title of the figures in ...
2
votes
0answers
21 views

Change table index format

I am using IEEEtran document class. \caption{some text} in a table environment ends up TABLE I: some text in the final PDF. But I need Table 1: some text. I managed to change TABLE to Table by ...
2
votes
0answers
45 views

Justify main caption in figure

I have two figures that I am putting vertically in my text. The two figures are located in the same column, on top of each other. I am trying to left justify the main caption of this figure (by ...
2
votes
0answers
60 views

Wrap text around lettrine in caption

I would like to create a caption style for my figures. Currently, I try to do it using the caption package. The caption should be typeset in the margin paragraph. The caption should look like this: ...
2
votes
0answers
35 views

How to modify the sorting of cleveref?

In the backmatter of my document I have the part with plates. Each page is one plate with several figures in it. The counter for the figures starts on each page/plate, but the number of the figure ...
2
votes
0answers
30 views

Caption below figure when using \put and \picture

I've been attempting to place the caption below using {put} and {picture} (using put is required as the pdf is larger than the textbox). However, I have not been able to make the caption appear below ...
2
votes
0answers
44 views

Missing \item when putting image in beamer

I attach my MWE: \documentclass{beamer} \usepackage{graphicx} \begin{document} \begin{frame} \frametitle{Frame title} \begin{figure}[!htp] ...
2
votes
0answers
26 views

Issue with font replacement in captions when using math mode

I'm getting annoying font replacement warnings of the kind: LaTeX Font Warning: Font shape `OT1/cmr/bx/n' in size <10.5> not available and LaTeX Font Warning: Size substitutions with ...
2
votes
0answers
56 views

Memoir - force table captions above and figure captions below

In the style that I am creating I need to force table captions to go above the table, and figure captions to go below the figure. My style is based on memoir class. I have found solutions that force ...
2
votes
0answers
82 views

How to get Subcaption outside float working for landscape tables?

I use the nice MWE displayed below to display a landscape table (found here: Tex: How to place table on new page.) I have one big table (that's why landscape) which I want to split across multiple ...
2
votes
0answers
115 views

Caption of figure on multiple pages using PhDThesisPSnPDF class

I am writing my thesis using PhDThesisPSnPDF class. I need to make large caption of a figure to span over multiple pages. For most document classes package capt-of can be used: How do I make figure ...
2
votes
0answers
44 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, ...
2
votes
0answers
80 views

How to place two plots inside a node?

I'm eager to have two plots (of the algebraic functions) placed horizontally inside a node. I'd like them to be signed, so something like caption (below the plot) is needed. One of them — "the good ...
2
votes
0answers
242 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
0answers
193 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
0answers
92 views

Hyperref and custom caption in float environment link wrong

I have a custom caption style. If i add a reference to a float the link points to the caption which is below the floats content, but it should point to the top. I probably forgot to set a ref line or ...
2
votes
0answers
185 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
0answers
137 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
0answers
122 views

How to have a wrapfigure not always be below section heading

I have noticed that wrapfigs always place themselves under a section heading, with quite a bit of white space. This often leads to my wrapfig captions being below the bottom margin and the white space ...
2
votes
0answers
135 views

How to define vertical spacing around subcaptions

I want to increase the spacing between my (sub)figures and their respective captions. Unfortunately, all things tried (skip or margin options in e.g. \captionsetup, vspaces) didn't have any effect. ...
1
vote
0answers
14 views

Large figure and legend on opposing pages in a two-sided book

I have a 500 pages book with some figure and tables. Sometimes a figure needs to fill an entire page. The legend for this large figure is going to the previous or the next page. I wonder whether this ...
1
vote
0answers
19 views

how to align caption,notes in revtex4-1 from the begin of table?

\documentclass{revtex4-1} \usepackage{tabu} \usepackage{caption} \begin{document} \begin{table}[htp] \begin{footnotesize}\captionsetup{justification=justified,singlelinecheck=false} ...
1
vote
0answers
24 views

Including Subindex in Figure Caption

I'm trying to include a subindex in a figure caption as: \begin{figure}[h!] \centering \includegraphics[width=\textwidth]{./Image_2.png} \caption{Some text in the caption with ...
1
vote
0answers
47 views

Change font family for captions

I am working in a proyect in which I need captions to be in a different style as in main text. The original text is Gentium and I would like captions to be in PT-Sans. However, in the caption text ...
1
vote
0answers
48 views

Space between caption and \bottomrule

I have more of a cosmetic sort of problem. Normally the vertical space between the \bottomrule and the caption looks like this: But with the code I use, some tables look like this: I use the ...
1
vote
0answers
35 views

The location of figure in PNAS template mess up caption and legend

I am modifying this PNAS template (http://www.latextemplates.com/template/pnas) for my journal. I have been puzzled by the position of figure and its effects on caption position and legend indentation ...
1
vote
0answers
20 views

Figure caption problem comes when I implement in my code with memoir class, but works individually fine in memoir class

\documentclass[a4paper,12pt]{memoir} \usepackage[margin=1.3 in]{geometry} \usepackage[demo]{graphicx} \usepackage{subfig} \usepackage{subcaption} \usepackage[section]{placeins} \begin{document} ...
1
vote
0answers
208 views

figure number/caption separator: colon instead of dash

How can I have in a figure caption Figure 1: caption instead of Figure 1 - caption ? I tried this \usepackage[labelsep=endash]{caption} but didnt work. another simple question why we should use ...
1
vote
0answers
82 views

Why is my figure's caption floating?

Not only my figure is flipped, the caption is floating at the top overlapping my picture. Why did this happen? \graphicspath{{picture/}} \begin{figure}[h] \centering ...
1
vote
0answers
64 views

Caption settings before and after loading caption package

Why do captions look so different after the mere loading of the caption package? What are the default settings for a caption BEFORE loading the caption package? I would prefer to be able to load most ...
1
vote
0answers
32 views

How to force footcites respectively footnotes in a caption of a figure on same page as the figure

Is there an elegant way to force a foot cite in a float object in case a figure to be on the same page as the float object(figure) without restrict the position of it, as mentioned here: ...
1
vote
0answers
130 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 ...
1
vote
0answers
57 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 ...
1
vote
0answers
115 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 ...
1
vote
0answers
136 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
0answers
239 views

Continuing table on multiple pages with tabularx

Problem: Continuing table on multiple pages using the tabularx package. Questions: What is the appropriate way to include "continued ..." caption at the end and beginning of the table when ...
1
vote
0answers
72 views

multiple graph in one figure

I cannot figure out which code am I typing wrong, I'd like to insert multiple graphs in one figure, each graph captioned a) b) c) etc.. Here is my document: \documentclass{article} ...
1
vote
0answers
135 views

In double spacing, find proper captions skip for both figure and table, and customize TOC page number for long title

I am writing a thesis using a class based on book. Overall double spacing is required. Right now I have two issues: The first is finding a proper caption skip for both figure and table caption; and ...
1
vote
0answers
70 views

Figure with caption at its side

I need a help with figure caption for a figure where the figure caption is placed at the side of the figure. I'm using \documentclass[a4paper]{jpconf} and writing: \begin{figure}[h] ...
1
vote
0answers
62 views

Caption for each splitted longtable

I have a longtable and I am trying to get a caption for each new page with this: \begin{longtable}{p{.10\textwidth}|p{.67\textwidth}|p{.13\textwidth}} \hline A & B & C\\ \hline ...
1
vote
0answers
242 views

Wrong figure and caption position

I have a problem with my images!! As you can see, the position of images (a) and (b) is totally wrong! I don't know why! I used Latex for a lot of years, but it is the first time I see something ...
1
vote
0answers
115 views

Caption with two figures in a single column

How can I put two figures in a single column, with a label (say a), b) ) on the left and in the middle or top of each figure? I was trying \newcommand{\Inserttwopgf}[6]{% \begin{figure}[t] ...
1
vote
0answers
60 views

subfigure global counting caption

I would like to keep subfigure count my figures globally and label them continuesly. This is the way it is: [Fig 1] [Fig 2] [Fig 3a Fig 3b] [Fig 4] And that is the way I want it: [Fig 1] [Fig ...
1
vote
0answers
235 views

Only older version of caption available

Sorry if my message is not in the best of english. I have been working on this for the last 12 hours with no solution. Gist: I am trying to submit my latex source files to a scientific journal My ...
1
vote
0answers
128 views

Place figure captions below figure instead of in side margin?

I'm trying to figure out how to use the Tufte-book layout but place image captions below the image instead of in the side-margin. Does anyone know how to do this? This is for a dissertation and the ...
1
vote
0answers
142 views

Minted Listings don't behave the way they should

I'm quite new to La/TeX and I have a question about the package minted and it's listing feature. I'm using a LaTeX template from someone else who gave it to me. He used the listing feature as well ...