{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
69 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
83 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
128 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
29 views

Adjust vertical spacing between caption and listing in KOMA (scrartcl)

In the standard article class the distance between caption and the listing below it is fine. But when using KOMA-Script's documentclass scrartcl the vertical space is too big (see the image below). I'...
3
votes
0answers
57 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
86 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
42 views

Indexing items in figure captions

I want to include items given in figure captions in my index, but LaTeX treats those differently, perhaps related to a list of figures (that I am not employing), and they appear as a separate ...
2
votes
0answers
37 views

Caption outside float in tabularx

I am getting an error, while processing this latex file. Please help me. Thanks. \documentclass{article} \usepackage{tabularx} \usepackage{threeparttable} \usepackage{threeparttablex} \usepackage{...
2
votes
0answers
23 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 \def\...
2
votes
0answers
63 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
38 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
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
75 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
96 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
137 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
269 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
201 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
98 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
200 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
144 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
128 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
136 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
25 views

How to change caption fontsize in documentclass book?

I am using the document class book as follows \documentclass[11pt,twoside,openright,titlepage,B5]{book} for my thesis and the font size for the figure captions is the same as my text which I don't ...
1
vote
0answers
35 views

hyperlink within caption to a figure

I'm getting an error message when I include a \hyperlink command inside the caption argument for a figure. It's a simple \hyperlink{<targetname>}{<text>} invocation. It produces two ...
1
vote
0answers
34 views

Caption and longtabu

I am facing trouble including caption with a longtabu environment. The code is given below, which throws tons of errors. \documentclass{article} \usepackage{longtable} \usepackage{tabu} \begin{...
1
vote
0answers
26 views

Caption alignment of grid subfigures

I have 5 images and I would like to display them in 2 rows (3x2). This is what I've done so far, \begin{figure}[h] \begin{tabular}{ccc} \subfloat[caption]{\includegraphics[width = 1.8in]{figures/...
1
vote
0answers
29 views

How to put multi-subfigure on a single page with different main caption?

I have to add 8 figures on one page using subfigure command in such a way that first 4 figures should be placed with one caption and next 4 figures with other caption. Please guide me with sample of a ...
1
vote
0answers
24 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
52 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
40 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
248 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
86 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 \includegraphics[width=...
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
36 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: http://tex....
1
vote
0answers
143 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
59 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
119 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
165 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
299 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
75 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} \usepackage{...
1
vote
0answers
153 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
72 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
66 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
253 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
118 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
64 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
249 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
129 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
151 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 ...