{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
2answers
396 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 ...
2
votes
1answer
776 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
237 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
88 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
67 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
60 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? ...
3
votes
1answer
216 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
41 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?
2
votes
2answers
71 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
41 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 ...
2
votes
1answer
80 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
137 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
101 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
65 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
173 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
220 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
80 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 ...
2
votes
1answer
93 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
136 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
93 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
10 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
169 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 ...
4
votes
4answers
215 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
57 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
32 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
225 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
81 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
272 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
100 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
51 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
551 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
80 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
101 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
49 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
25 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
95 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… ...
1
vote
0answers
130 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 ...
2
votes
1answer
56 views

Reducing stretching of a caption gives an error

I get an error when I add the stretch=0.80 command to the caption-package as here: \usepackage[font={color=red,footnotesize,% stretch=0.80},labelsep=quad]{caption} The caption is a simple ...
0
votes
0answers
35 views

How to center the caption under longtable?

I have to use the document class and style of the university to write my msc thesis. But they seems to put the caption under longtable on the right instead of centered. Under the normal table it works ...
1
vote
0answers
17 views

Acmsmall and referencing subfloats [duplicate]

This question is following almost directly this one : acmsmall and subfigures I managed to insert subfigures using minipage but I'm now wondering how I can refer to these subfigures. My MWE: ...
2
votes
1answer
118 views

How to create boxed, captioned listing?

For a quick reference guide in which I want to include many small listings, each with a caption, How do I group them together, and prevent the code from being broken up? I'm sure there is some ...
3
votes
2answers
157 views

Referencing subfigures with subfigure package

I'm kinda new on LaTeX and I have a little problem. I'm using the subfigure package and trying to reference my subfigures with \label{key}, but appears "(??)" when I do that. Here's the code: ...
2
votes
1answer
160 views

How to leave out figures in appendix from list of figures

Nothing seems to work. I've tried adding * to \caption. I've tried adding \captionsetup{list=no} to the preamble before the \appendix entry. I'm using \usepackage{caption}. Any ideas?
0
votes
0answers
38 views

beamerarticle and minor problems with caption

I have a major and some minor problems with the MWE below. The major one: when I uncomment \usepackage{beamerarticle}, my macro definition starts to contain some extra '}', probably some macro ...
1
vote
2answers
188 views

How to place a caption in the bottom right corner of a grid of images?

I have a grid of images as shown below. This is achieved using the code below (taken from: [how to insert a fixed number of figures per row/col])2 \begin{figure} ...
1
vote
1answer
73 views

Twocolumn Revtex-4 figure caption is above the figure

Figure captions should be below figure (unlike table captions). But in Revtex4-1 the caption is above the figure. How can one fix this to make it appear below the figure? I'm bumping this should have ...
4
votes
1answer
65 views

Change \caption behaviour

I am messing around with \caption package and what I need is to place \figurename after figure numbering and change it to be att., basicly what I need is: 1.2 att. figure text I managed to put ...
0
votes
2answers
146 views

How to include 3 vertically aligned subfigures, while making them appear as 3 separate “Main” (and not sub-) figures?

I want to place 3 figures on top of each other and I figured out a way to do that using subcaption package. But, they appear as sub-figures and not the "main" figures. I think it's because of the ...
1
vote
2answers
132 views

Why does the table title does not follow directly after the table number?

As shown below, my table title does not follow directly after its number, it starts from another line. I need your help to figure out why this happens. How I can fix this problem? My code is as ...
3
votes
1answer
76 views

Is there a way to insert \caption{} inside a multicolumn on top of a longtable?

I have a coloured table and I'd like it to be sort of uniform and have the \caption inside the coloured space serving as a title as well. I can insert the table number with \thetable but then I'd have ...