{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
2answers
70 views

Space between table caption and caption text

At the moment, I have the following code in the preamble: \usepackage[justification=justified,singlelinecheck=false]{caption} \captionsetup{format=hang, labelsep=quad} This creates a nice space ...
2
votes
0answers
23 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 ...
6
votes
2answers
132 views

How can I take precise control over the size of caption text of images?

In the caption of the images of my text, the size of the text "Figure 1.1" (and so) is greater than the text itself. The result is How can I take precise control over this text? The code is ...
3
votes
1answer
28 views

(color online) label in RevTeX

For colored figures, Physical Review journals require that the caption label takes the form "FIG. 1 (color online). Caption content" if the figure will not appear in color in print. Could someone ...
0
votes
1answer
17 views

Weird error with memoir sidecaption, subbottom and threepartable package

I have a weird error using threepartable, sidecaption, subbottom and memoir class ! You can't use `\prevdepth' in restricted horizontal mode. \TPTdoTablenotes ->\par \prevdepth ...
2
votes
1answer
12 views

Wrap caption in multipage lstlisting environment

I am following the accepted answer from this question to extend an lstlisting across multiple pages. It works great, however if my caption is too long the continued caption doesn't wrap, and this is ...
1
vote
1answer
35 views

Adding an equation to a graphical model created with tikz

I am using tikz. I have a graphical model and I want to add equations as explanations to the side. Just like in Thanks for your help! \documentclass{article} \usepackage{tikz} ...
0
votes
1answer
19 views

Hyperref linking to first page when using \captionlistentry

On my document, I have defined a new trivfloat environment in order to make a list of equations. To add elements to this list I use \captionlistentry (in order to avoid the caption appearing under the ...
2
votes
0answers
30 views

Image will show up with \includegraphics but non with begin figure [duplicate]

if I use: \includegraphics{Graph} the image will show up, but not if I use \begin{figure} \includegraphics{Graph} \end{figure} Any idea why? Missing package? I need it because in the figure I ...
3
votes
1answer
39 views

Figure: Sidecaption while text floats next to figure

I am restricted to a two-column and have a figure that I want to include in \textheight height with the caption on the other column. The figure spans exactly one column, but I don't know how to let ...
2
votes
0answers
24 views

multiple handcrafted labels for figure

The following MWE shows my attempt to create a list of references in a document, with links from text to reference and back. It works well in text, but badly in figures when I try make the reference ...
0
votes
1answer
23 views

Subfigure captions of EPS file formats do not align with images in two-column paper

I have trouble getting EPS images aligned work properly in latex. First, my figures were rotated by 90 degrees in the pdf output. So I rotated them by using "angle=90". But I am using a two-column ...
2
votes
1answer
9 views

Many indexes on the same figure

How can I put the indexes (a) and (b) on the left side of my figure, at different heights? \begin{figure}[] \begin{center} \includegraphics[width=1.0cm]{A} \end{center} \caption{...} \label{fig:1} ...
3
votes
1answer
16 views

How to index figures

I have the figures A and B. I would like them to be indexed as (a) and (b). \begin{figure}[] \begin{center} \includegraphics[width=1.0cm]{A} \includegraphics[width=1.0cm]{B} \end{center} ...
8
votes
2answers
103 views

Prevent pagebreak between minted and captionof

I know there are already many questions there covering that or at least similar topics. I've read this for example but can't get it figured out... At first here comes my MWE: ...
3
votes
1answer
46 views

How do you add captions in tikz nodes?

How do I add a caption to a tikz picture? This is a snippet of my latex: \documentclass{article} \usepackage{graphicx} \usepackage{tikz} \usepackage[paperwidth=40cm,paperheight=16cm]{geometry} ...
4
votes
2answers
70 views

Conditional dot

I did some changes to my LoF in order for the page number not to be printed with a dotted leader at the right margin but just with a short gap after the caption. Now I would like to have one dot ...
2
votes
1answer
47 views

Caption in Tikz without “Figure 1”

If I use this code, \documentclass{article} \usepackage{tikz} \usepackage{multicol,float} \usepackage{etoolbox}% provides \preto \usetikzlibrary{shapes,backgrounds} \tikzset{ every ...
1
vote
0answers
40 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 ...
2
votes
2answers
48 views

Change longtable's font size without changing the caption

I'm trying to put quite a long table in my thesis. To save some space I want to reduce the row height, the column separator and use a smaller font size in the table. The problem with the following ...
1
vote
1answer
59 views

How to set figures and tables captions in APA style (without using APA6 class)

As one can see in the given link, APA style requires a very special format for captions in figures and tables. How can I realize this in standard article format? (I do not want to use the APA6 class ...
1
vote
1answer
46 views

Caption and label on Minted code

I want to add a caption and label on a Minted source code so I can reference it, similarly to what you can do to figures. In Minted manual it says I can use the listing environment, which allows to ...
1
vote
1answer
55 views

change names in the list of contents

The command \addto\captionsfrench{\renewcommand{\abstractname}{Résumé}} didn't work for me, other problem in my program is when I use \addto\captionsfrench{\renewcommand{\contentsname}{Liste ...
0
votes
0answers
35 views

Show the figure together with the caption

I'm looking at the nature-template and wanted to see how I can "bring back" the \includegraphics command and show the original image. Right now, the template file ignores the \includegraphics command ...
0
votes
1answer
43 views

Can TikZ be used in a caption block?

I want to get the following effect: I wrote the code show below, but itt cannot be compiled. I don't know what is wrong with it, or how to get the effect of Figure 1. What should I do? ...
2
votes
1answer
35 views

Use \raisebox with \depth in caption

I want to use \raisebox in a caption. I know that \protect is often needed in these situation, but this (and other combinations I have tried) does not work: \documentclass{article} \begin{document} ...
0
votes
1answer
25 views

error note when trying to latex a list of figure captions

What does @xdblarg mean as an error note with respect to a list of figures?
1
vote
2answers
30 views

How to change the numbering style of subcaption only

This question is somehow related to Change counter style for caption. But here I want to use subcaptions as well. I want to create myStyle for captions. \DeclareCaptionFormat has three options. From ...
4
votes
1answer
24 views

Changepage Package [\adjustmargin] Does Not Work Correctly With \captionof When the Caption Package Is Loaded

The justification of the text is skewed when all of the following conditions are met: The \adjustmargin environment from the changepage package is used. The \captionof command is used. The caption ...
1
vote
1answer
40 views

Change counter style for caption

I want to make numbering in caption right-to-left. For example Change in the caption: شکل 01 to شکل 10. The reason I want something like this is I am working with right-to-left language and I can ...
2
votes
1answer
35 views

Centering two line caption in memoir

I'm struggling to center my two line captions. I'm using memoir and I want the second line to be the reference to where I got the figure from. I'm using the following code for the figure: ...
5
votes
1answer
50 views

hyperref link jumps beneath table's top caption when floatrow is included

I use the following packages related to captioning, tables and hyperlinks: \usepackage{hyperref,caption} \usepackage[style=Plaintop]{floatrow} \usepackage[referable]{threeparttablex} I have a table ...
3
votes
1answer
29 views

Create a custom figure source page or list

I've reviewed the answers at Add source to figure caption question and some other question on the site. Unfortunately they do not fully achieve what I'm looking for. What I am trying to do is create a ...
2
votes
1answer
52 views

Table numbering by section with letters

I have a 2 part table that I wish to label as "a" and "b", that also includes the section number and the table number within the section (e.g., "Table 4.1a" and Table "4.1b"). I use the basic ...
4
votes
2answers
117 views

Tikz vertical lines next to variable text

I'm editing the caption of the Figure environment in a document using Tikz, but I don't know how to make the caption (variable width) to be next to two lines, something like this I guess the Figure ...
1
vote
1answer
20 views

Boldface “Table” in caption of longtable, using the svjour3 document class

I am using the svjour3 class to submit a tex document to a Springer journal. In this class, table captions appear like this: Table 1 An example of a Table caption If I use longtable however, I ...
0
votes
0answers
40 views

How to fix the space between “Figure” and “5” in “Figure 5:” in figure caption?

I use this solution to get captions for my figures at the side, which works really fine. But sometimes, if the word behind "Figure xyz:" is too long for the line, I get something like this: How can ...
2
votes
1answer
46 views

Non-float table with both footnotes and caption

Using Lyx. Is there a way to produce table with both caption and footnotes? Use of footnotes in a float is not recommended (both footnotes and tabular are float environments, footnote text is not ...
4
votes
1answer
41 views

Matching width of colorbox with caption to the corresponding table

Please have a look at the following MEW: \documentclass[demo]{article} \usepackage[english]{babel} \usepackage{graphicx} \usepackage{xcolor,booktabs,caption} \begin{document} ...
0
votes
0answers
7 views

bibliography caption sources

I'm used to have the sources of my images only in the listoffigures by writing them in the listentry part of the caption \caption[Test\cite{source1}]{Test} I also have a macro so you dont have to ...
1
vote
2answers
48 views

Wide space between picture and caption

For some reason my v-space does not show up correctly! Does somebody know wy? \begin{figure}[h!] \centering \resizebox{.5\linewidth}{!}{\input{Figures/NIRS/Extinction}} \caption{Characteristic ...
0
votes
0answers
40 views

Remove “Lst.” from list of listings

I've renewed the title of my list of listing and the caption of my code snippets with the following commands: \renewcommand{\lstlistingname}{Code} \renewcommand{\lstlistlistingname}{List Of Code} ...
4
votes
4answers
130 views

Footnote to figure

I want to add a source address of my address like this: But the address must start from the beginning of figure like this: How can I do that? Thanks
1
vote
1answer
35 views

Caption position : above of the figure

I have a problem about positioning of the caption. My code of the figure is like this: \usepackage[format=hang]{caption} \begin{figure}[!h] \centering ...
1
vote
0answers
13 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: ...
3
votes
2answers
56 views

List of figures - image source in captions

When I insert a image I usually do it this way \begin{figure} \includegraphics[width=\textwidth]{bilder/duese_halb} \caption[Image-Test \cite{source1}]{Image-Test} \label{fig:image-test} ...
2
votes
2answers
63 views

“Invisible label” to add to tree

Is there a way to create a subsection, without caption but add a reference to it in the WinEdt Tree? I am talking about WinEdt 9.
2
votes
1answer
43 views

Missing \endcsname inserted when trying to make subtables

I'm trying to make 2 subtables with 2 different captions inside of a table, but I keep getting the following error: Missing \endcsname inserted. <to be read again> \relax l.9 ...
2
votes
1answer
22 views

Figure label in one color, figure text in another as a document rule

By adding the following package with parameters, all captions for tables, figures etc. change color, font-size and distance between label and text: %Caption formatting ...
1
vote
1answer
15 views

Suppress extra space between figure and caption when using \subfigure

Is there a way to prevent extra space being added between the figure and its caption when using \subfigure? I am using a command posted in this topic where a \subfigure is added using the ...