{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

3
votes
1answer
62 views

Math w/italics in normal context, roman when in italic context (ie, caption)

I have not found this question asked previously. I am fine with math using italics for variables when the math appears in a normal context. But our figure captions are in italics, and when math is ...
4
votes
0answers
169 views

How do I make en/em dashes work in Myriad when using it with MinionPro

I'm using MinionPro for the body of a document and Myriad for figure/table captions. Because I can't load packages MinionPro and Myriad at the same time, I load the Myriad fonts for the sans-serif ...
3
votes
0answers
73 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} ...
2
votes
0answers
28 views

Error on \caption for figure

When I use \caption for figure, I got a compilation error: Undefined control sequence. <argument> {\captionfonts \csname fnum@\@captype \endcsname : \ignorespaces ... ...
2
votes
0answers
45 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
60 views

Allow \listoffigures captions to break across pages

I'm using the command \listoffigures to list all figure captions after the contents page. Many of my figure captions are quite long and as a result LaTeX is placing 2 captions on a page with a large ...
2
votes
0answers
64 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
81 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
105 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 ...
1
vote
0answers
21 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 ...
1
vote
0answers
46 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
56 views

How to adjust spacing between caption and table / figure in beamer?

I want to adjust spacing between caption and table/figure in beamer. However I am not able to overcome the warning Package caption Warning: \caption will not be redefined since it's already ...
1
vote
0answers
34 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
34 views

caption above figure using knitr

This is a question originally asked on stackoverflow, but it seems to receive no attention and answers there. Since it's related to latex, I'm posting it also here hoping to receive some hints. I ...
1
vote
0answers
29 views

Reference(Source) directly under the caption

Is there a way to write the refernce of a figure directly under the Figure? \documentclass{article} \usepackage[ngerman]{babel} \usepackage{filecontents} \usepackage[backend=biber, ...
1
vote
0answers
24 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
49 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
42 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
38 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 ...
1
vote
0answers
52 views

Figure source caption problem - strange space between text and url

Following Add source to figure caption I created new command called \captionsource: \newcommand*{\captionsource}[1]{% \caption*{% Source: \url{#1} }% } As you can see on the ...
1
vote
0answers
36 views

.eps graph overlapped with caption

I need your help desperately. I used latex to compile everything and used dvipdf to convert it to pdf. The graph (test) came out is overlapped with the caption. Can anyone point out what is the ...
1
vote
0answers
42 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 ...
1
vote
0answers
67 views

How to suppress hyphenation in figure and table captions?

To suppress hyphenation in section names I use \hyphenpenalty=10000 in \titleformat command. Is there any similar way to suppress hyphenation in figure and table (and longtable) captions?
1
vote
0answers
50 views

`\protect` with `\cite` inside `\caption`

I've read several posts and other webpages now on using \protect in front of \cite inside \caption. They all advise using \protect in this situation, and many go as far as to say that you must use it. ...
1
vote
0answers
63 views

Caption numbering missing in beamer class when adding subfig package

I am having a problem with the beamer class and subfig package. Once I add the subfig package (for subfloats) the numbering of all my captions disappear. Please see the following minimial working ...
1
vote
0answers
56 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 ...
1
vote
0answers
60 views

Putting longtable caption text on subsequent pages

I'm using longtable for multi-page tables in a document, and have no trouble using the standard and widely used code for headers on subsequent pages: \\multicolumn{3}{c}{{\tablename} \thetable{} ...
1
vote
0answers
83 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
92 views

Empty alternate lists of figures and tables with bicaption

I am using the bicaption package to have bilingual captions for all figures and tables. However, I don't want to typeset the alternate language in the document's body, but only create lists of ...
0
votes
0answers
17 views

Unable to add footnote with url in caption

I am trying to add a footnote with a url within a caption, but i keep getting an error: \begin{figure}[H] \centering \includegraphics[width=.8\textwidth]{images/graphs/somegraph.pdf} ...
0
votes
0answers
34 views

tikz/gnuplot legend inside the caption

I want to add my legend inside the caption, similarly the one given in this question. But I want to use gnuplot environment as in the following MWE. Unfortunately, I am getting '??' because ...
0
votes
0answers
35 views

captionof{} and double-spacing

I am combining Tikz pictures with \includeimage in my thesis, which means I am mixing \captionof{} and \caption for captioning all of my images. I have now noticed that after invoking \doublespacing ...
0
votes
0answers
44 views

Error in using “caption” package: “caption: For a successful cooperation we need at least version(caption) is available. }{}”

I need to use the "caption" package. I downloaded it from CTAN and copied the file "caption.dtx" in my folder. When I compile the code, I get the following error: caption: For a successful ...
0
votes
0answers
39 views

Undefined Control Sequence : \caption@ifamsclass {%

Using pdfTeX Version 3.1415926-1.40.10 (TeX Live 2009/Debian). Something in the subfig package is causing this error. E.g. compiling \documentclass{article} \usepackage{subfig} \begin{document} ...
0
votes
0answers
29 views

Customizing Multiline captions

I would like to have a caption which is centered and has multiple lines. For example, \documentclass{article} \begin{document} \begin{figure} \centering \begin{tabular}{cc} \rule{5cm}{3cm} & ...
0
votes
0answers
31 views

missing table caption with floatrow and sidewaystable

I am attempting to place two tables side-by-side using sidewaystable and floatrow. The second table features a number of sub-tables. The issue is as follows: when I place the caption command before ...
0
votes
0answers
46 views

Longtable captions do not wrap inside threeparttable environment

I'm using the threeparttable package to automatically wrap my captions to table width. However, I occasionally need to use longtable to split a table across multiple pages. When I do so, the caption ...
0
votes
0answers
24 views

How to caption with an arbitrary type

I want to include some text and equations into a framed environment like a box. And then I want to add captions above or underneath this "box", e.g. "Box.1. This is a box." Here is a MWE: ...
0
votes
0answers
34 views

Stylizing sub-figure caption in beamer

When I use \documentclass{beamer} \setbeamertemplate{caption}[numbered] \usepackage{subfigure} \begin{document} \begin{frame} \begin{figure} \subfigure[Subfig 1]{ } \hfil \subfigure[Subfig 2]{ } ...
0
votes
0answers
55 views

PDF size limit - load only labels from files

I have huge amount of figures in thesis (72 pages) but I'm limited in size of thesis.pdf to 20MB and size of appendix.pdf to 30 MB When I compiled my thesis it got 280MB, I thought that I can split ...
0
votes
0answers
51 views

ALign the caption of table to the left

I have this issue with the caption of a table aligning to the center of the page. I want to align it to the center of the table. How can I do it?
0
votes
0answers
87 views

! LaTeX Error: \caption outside float. Yes in one document, No in another

I have the following LaTeX code in a document. \begin{centering} \caption{Patient Contacting Materials} \label{tab:materials} \begin{tabulary}{\textwidth}{LLL} \toprule Feature & Manufacturer ...
0
votes
0answers
72 views

Left align caption and underline it (Memoir)

im using LyX and documentclass memoir. I would like to have a set up like in the attached file when inserting figures and tables, however, I just don't know how to implement it in LyX. Can you help ...
0
votes
0answers
102 views

No caption label using minted with caption and hyperref

I'm trying to use the caption and hyperref with the listing environment and the minted package. If you compile the MWE, the listing will only show a number but no name. hyperref inserts a link, ...
0
votes
0answers
84 views

Line break in the caption of subfigure

I would like to add a line break in the caption of a subfigure: \begin{figure} \subfigure[a long line]{% \includegraphics[width=0.23\textwidth]{figures/cells_time.eps} } \end{figure} So I ...
0
votes
0answers
53 views

dpfloat affects table caption spacing with floatrow

I am trying to format two full-page tables such that they appear side-by-side on consecutive pages in a double-sided report. Typically this is easy to achieve using dpfloat however, I have found ...
0
votes
0answers
126 views

multiple listing styles with hyperref and caption packages

This is a follow-up question to Multiple listings styles. The MWE from the accepted answer works fine. Unfortunately, when I add the hyperref package OR the caption package (or both of them), the ...
0
votes
0answers
111 views

Issue with Caption template and Sigplan configuration

When trying to compile a shared tex document, I get the following error: Package caption Warning: Unsupported document class (or package) detected, (caption) usage of the caption ...
0
votes
0answers
233 views

Caption label font: will sc and bf conflict with each other?

I want both bold and small capital effect for my table caption label. Could anybody tell me what's wrong with my code? Why doesn't it work? Thanks \documentclass{beamer} \mode<presentation> { ...
0
votes
0answers
191 views

Picture and caption going out of margins using wrapfig

I'm using wrapfig to put a picture side-by-side with text. It happens that it going after the margins and I want it to stick inside them. here's the code, \documentclass[12pt,a4paper,titlepage,final, ...