Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [captions]

{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.

0
votes
1answer
7 views

Multiple bibliographies with BibTeX and IEEEtran: error with citations INSIDE captions [duplicate]

I am writing my PhD thesis and I am using an adapted version of the memoir-class + IEEEtran.bst for the bibliography style. The idea is to create a specific List of Publications exclusively with the ...
1
vote
1answer
29 views

How do I specify a font for labelfont in caption?

I would like to set the font for the caption label, not just its series, shape or size, I would like to set the font itself. For example, my document's font is set to be Times New Roman, but I would ...
1
vote
1answer
27 views

Package caption Error: No float type 'noticebox' defined

I took the NIPS 2018 paper template from here, which I can compile (via pdflatex). However, when I add this package (before \title): \usepackage{caption} I get the error: ! Package caption Error: ...
0
votes
1answer
26 views

Why does caption throw an error?

I used the solution from here which works kind of but throws an error: pdflatex> ! Argument of \@caption has an extra }. ... pdflatex> ! Paragraph ended brfore \@caption was complete. Here is ...
0
votes
1answer
43 views

How to put images side by side using subcaption and caption packages?

I'm trying to put several images side by side. I've seen some examples (such as this) and the first image that I have is working correctly. The others are not and I can't understand why, since the ...
0
votes
1answer
8 views

Rotate Figure Caption in Sidewaysfigure

I am using sidewaysfigures because it works with me figure ratios better. Since I made some figures using tikz, it would be too much work to get back and redo them in the right orientation. When I use ...
2
votes
2answers
40 views

subcaption - How to use 'Figure x' instead of alphabet numbering?

My current table of images looks like: However, instead of (a), I'd like the caption to include 'Figure' and continue numbering from previous figures. How would I do this? A MWE: \documentclass{...
1
vote
2answers
25 views

footnote in caption is not in the same place as footnotes in the regular text?

I want to add a footnote to figure caption. I'm using the svjour3 document class. \RequirePackage{amsmath} \documentclass[natbib]{svjour3} \usepackage{appendix} \usepackage{graphicx} \usepackage{...
3
votes
1answer
51 views

Getting rid of unnecessary space between letters and equal sign in caption [duplicate]

Suppose we have this code \begin{center} \begin{tikzpicture}[shorten >=1pt,node distance=2cm,on grid,auto] \node[state,initial, accepting] (q_0) {$q_0$}; \node[...
0
votes
1answer
11 views

Change numbering of figures in all chapters

I'm having troubles changing the numbering style of figures in my chapters, the one that appears in the table of figures are displayed as I want but the numbering in the text is not. The caption of a ...
1
vote
1answer
28 views

“Can't use \vadjust in internal vertical mode” triggered by two-line hanging caption, using adjustbox, caption packages

I want: a floating table with caption (with hanging indent), such that both the table and caption are surrounded by a frame filled with a background color. My environment hierarchy is table » adjust ...
0
votes
0answers
18 views

algorithm2e and \numberwithin with section

I am using the package algorithm2e, specifically \usepackage[ruled,vlined,linesnumbered,noresetcount]{algorithm2e} to create the following algorithm: \documentclass[12pt]{article} % \usepackage{...
0
votes
1answer
19 views

How can I create a table with standalone class?

When I use the ‎‎‎\documentclass{standalone}‎, there is an error in my output PDF file. There is a white page with the table in the PDF, but I want the corrupted one. How can I fix the problem? ‎‎‎\...
1
vote
1answer
25 views

How to Change Prefix and set Number in Table Caption

I want to change the prefix of my Table from 'Table 1' to 'S 3' the document only consists only of that Table so I would need to set the number myself. I tried the set caption command but that only ...
0
votes
1answer
24 views

Fitting an image and caption on a single page

Consider an image with: a caption of unknown length unknown height unknown width unknown aspect ratio I'd like this image to take up the full width of the page, unless the combined height of the ...
1
vote
1answer
35 views

Longtable caption problem

The following LaTeX code generates a table: \documentclass[11pt]{article} \usepackage[utf8]{inputenc} \usepackage{geometry} \usepackage{lscape} \usepackage[document]{ragged2e} \usepackage{float, ...
1
vote
2answers
41 views

Unable to use \texit in \caption

I am trying to italicize species names in a caption: \caption{The results of recoding \textit{A. victoria} towards the $2$-mer frequency distribution of the highly expressed genes of \textit{E. coli}....
2
votes
1answer
25 views

\listoftables problem: \lstinline and texcsstyle in \caption with and without caption package

I'm using the listings package with verbatim code in Table \caption commands. When I stay away from TeX command sequences (texcsstyle in listings), all is well, as for example when I use only an ...
0
votes
1answer
18 views

Conflict between \captionof and mdframed

I'm using the minted package to generate highlighted code snippets. Because I want all minted environments to be wrapped with mdframed, I added the following to the preamble. \usepackage{mdframed} \...
1
vote
1answer
30 views

Centering caption in figure environment with a tikzpicture

I'm trying to center a tikzpicture and a caption inside the figure environment, but when I compile something is off. It seems as if the caption and the tikzpicture are centering with respect to ...
1
vote
1answer
92 views

Problem with babel package and subfigures

I have tried to change the language of my article by adding the following lines to the preamble: \usepackage[greek,english]{babel} \selectlanguage{greek} In most of the cases seems to work fine. But ...
1
vote
0answers
18 views

Bad interaction between autonomy and caption packages?

I've found this strange error when using the autonum and caption package together, and placing an equation inside a float. \documentclass{article} \usepackage{caption} \usepackage{autonum} \begin{...
4
votes
3answers
217 views

Remove figures, but keep references to image

I want to remove a figure and its caption from a LaTeX file, but I want to keep the references to it in the text. So far I kept the empty figure environment with a caption and a label. The problem ...
0
votes
1answer
10 views

LaTeX Error: File `makecellcaption.sty' not found

I´m having this error whith some makecellcaption file I do not know. I´m using overleaf. This is my code (just post the packages, I have tables, graphs but my full document is big): Thanks \...
0
votes
1answer
50 views

Footnote in caption and in the same page of caption

I'm wondering if there is a way to write a footnote inside a caption and to stick the footnote in the same page of caption. In my code I'm using footnotemark and footnotetext, but the footnote occurs ...
0
votes
1answer
17 views

Captions and labels on long table [duplicate]

I've tried everything I can think of but longtable just won't allow me to add a caption and label to the top of the table. My table looks like this: But when I add in a caption and figure, ...
1
vote
0answers
19 views

Citations not arranged by order of appearance due to list of figures

I am having issues with LaTex/Bibtex not presenting my citations in order of appearance. My specific issue is that the citations in figures are chronologically the top references ([1],[2],[3] etc..), ...
0
votes
1answer
34 views

Subfigure range in caption with cleveref and besidecaption

I originally asked for a solution which would automatically give me the range of subfigures in a caption. Skillmon came up with something which did work with my original MWE, but which gives problems ...
0
votes
0answers
43 views

Caption & Footnote color in book class environment

I'm dealing with a book class document. Actually I've got some problems trying to set color for the caption text. I saw this solution, but strangely it doesn't work. Then I tried to do the same with ...
0
votes
0answers
17 views

Latex Table caption not left aligned due to class file setting, where do need to change?

In my latex, I tried to left align the table caption name and used following latex file, \documentclass{iost} \usepackage[utf8]{inputenc} \usepackage[labelfont=bf]{caption} \captionsetup[table]{...
2
votes
2answers
47 views

Print subfigure range in caption

Consider the following MWE: \documentclass{article} \usepackage[demo]{graphicx} \usepackage{subcaption} \usepackage{caption} \begin{document} \begin{figure} \subcaptionbox{\label{fig:img1}}{% \...
-1
votes
1answer
88 views

Caption below image and beside Content of page

I want create Daily Page: Left: image & caption Center: "Daily Planner" text But I can not put image and text parallel and caption not under image \documentclass[a4paper,11pt]{book} \usepackage[...
0
votes
1answer
28 views

Labeling threeparttable footnotes

I want to label footnotes using the threeparttable package, but it does not seem to be able to assign a label without proper caption. In fact if I disable the \caption package it works. But I need the ...
1
vote
1answer
23 views

How to typeset a footnote for caption header (caption label) for some figures in a document?

In a document I am currently writing, my supervisor has asked me to include some meta-information about figures to be typeset as footnotes. I already understand how to handle captions for a floating ...
2
votes
1answer
25 views

Automatic formatting of list of figures based on separator inside \caption

I am currently using caption/subcaption packages to have captions and a list of figures for my thesis. In my captions, I put a title, but also some legend information as shown by the MWE below. \...
2
votes
1answer
76 views

Error using caption in listings, IEEE Access template

I'm am using the IEEE Access Latex template and I'm getting errors when using the caption command in a listing environment. This does not happen with the IEEEtran template. For example, this code ...
1
vote
1answer
15 views

\captionof options: bold name for figure

I am using the capt-of package for my figures to avoid floating. I fix the figures in the position I want by using: \begin{center} \includegraphics[width=0.8\textwidth]{figure1.png} \captionof{...
1
vote
1answer
21 views

Get the content of a caption when referencing a figure

I have a pretty special requirement for my current thesis. When I reference a figure from my appendix in the main document I have to cite the content of the caption as well. \documentclass{article} \...
0
votes
0answers
16 views

How to get small caption size and remove automatic numbering

Using the below code, I get the caption size as rather large and also get automatic alphabets, which I do not want. It can be seen from the image. My question is how do I get small captions which look ...
5
votes
2answers
43 views

href in caption of listings

since copy-pasting text from PDFs, escpecially source code, can be problematic, I'd like to provide a reference to the acutal file from within the listings caption. This does work fine, except for the ...
0
votes
2answers
39 views

Figure referencing in tufte-book pointing to section instead

The \ref command usually points to the figure/table/etc that is referenced by \label. However in the tufte-book document class this does not seem to work: \documentclass[]{tufte-book} \begin{document}...
1
vote
1answer
22 views

How to prevent setting the fontsize to tiny from reducing the size of the table caption when using longtable

I have a very large table of results. It spans over two pages using the longtable package. To reduce the size of the table I have set the font size to \tiny. However, as a longtable doesn't exist ...
1
vote
1answer
69 views

How can I cancel the figure numbering?

My previous figure number is 11. And I am adding following figures and my expectation is getting fig 12. but my number is 14. How can eliminate the numbering of them? \documentclass[graybox]{svmult} %...
1
vote
1answer
36 views

Longtable, notes with threeparttable and caption issues

I have a table and its content is longer than one page. So I decided to us the longtable package. Unfortunately there are some issues with the caption and threeparttable/notes I can not sort out. 1st ...
0
votes
0answers
19 views

Side by side figures with side caption for each one

How can I put two figures side by side while each one has its own side caption (top-right)? for example is there any way to combine the two commands "subfloat" and "floatbox"?
2
votes
1answer
46 views

TikZ datavisualization: pins / labels add whitespace between figure and caption

I'm using TikZ's data visualization feature to create a figure. This is working fine, up to the point where I add pins and/or labels to the figure; doing so creates a large amount of whitespace ...
1
vote
1answer
24 views

Subfigure with caption on the side

I am trying to arange four images in a 2 by 2 grid. The caption of the entire figure (not the subfigure) should appear on the right side and not on the bottom. I tried using the caption and subcaption ...
3
votes
3answers
44 views

Captioning a table within a cell

This code below produces the following table: \documentclass[a4paper]{article} \begin{document} \begin{center} \begin{table} \setcellgapes{3pt}\makegapedcells \begin{tabularx}{1.175\linewidth}{c|*{5}...
0
votes
0answers
38 views

Captions disappearing after fixing table float

I inserted the following in my preamble: \usepackage{float} \restylefloat{table} This works great and my tables work just as planned using \begin{table}[H]. My problem is that captions do not render ...
0
votes
1answer
49 views

Figure caption with extended fields

Known feature of \caption is: \caption[Text for the list of figures]{Text under the figure} \label{fig:theReference} Target is to include more arguments in \caption and have this arguments ...