{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

1
vote
1answer
44 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
28 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
51 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 ...
3
votes
1answer
35 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
33 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
19 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
113 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
52 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
75 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
64 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
42 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
62 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
84 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
66 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
62 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
45 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
46 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
53 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
28 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
38 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
29 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
48 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
44 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
59 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
34 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
62 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
127 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
23 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
45 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
60 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
47 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
62 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
41 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
140 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
37 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
68 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
56 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
31 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 ...
2
votes
1answer
22 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 ...
1
vote
1answer
57 views

How to add Caption to a flow chart?

Is there a simple way that I can add caption to the flow chart ? \caption{A simple table} is not working Thanks
1
vote
0answers
36 views

Lstlisting caption: Number style [closed]

When adding a listing to my document, the caption style differs from figures or tables. E.g.: \begin{lstlisting}[language=C,captionpos=b,caption=This is foo,label=src:foo] ... \end{lstlisting} ...
0
votes
1answer
29 views

Is there a difference between heving \label before or after \caption? [duplicate]

I am wondering if it is recommended to adhere to a convention of defining labels before or after captions. Moreover, if that is the case, why?
0
votes
1answer
42 views

How to put a frame and a color caption to graphics [duplicate]

Hello, i guess it is the easiest way to show you in a picture what i want to do :-) I want to have all my grafics with the same style: - color caption - frame grafic So I have to change just the ...
0
votes
1answer
15 views

Figure caption has line break problems when using subfig

I'm using the subfig package and I'm getting words that are broken in captions. Can anyone explain why, or how to stop it? \documentclass[11pt,a4paper, draft]{report} \usepackage{gensymb} ...
1
vote
1answer
47 views

Longtable's caption mixed with footnotes

I use longtable for building tables in my text works & caption in the bottom. I like this multipage table environnement. But sometime, I see a problem : awful ! My caption is mixed with footnotes… ...