{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

4
votes
1answer
359 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 ...
2
votes
1answer
260 views

New float environment in tufte-book with alternate caption placement for full width figures

I am trying to define a new environment for photographic plates in a tufte-book.cls book. The environment should: Work just as the existing figure / table environments do for non-starred uses, and ...
0
votes
0answers
20 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
24 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
38 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
19 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} ...
33
votes
2answers
45k views

Table and figure side-by-side with independent captions

Looking to put a table and a figure side by side so that the table and figure have their own captions. A crude sketch ------------ ----------------- TABLE | a | b | ...
0
votes
1answer
63 views

Apply a figure caption inside of a longtable

I'm using the 'longtable' environment to display a number of figures. I'd like to include a caption at the bottom of the first page as a Figure caption, not as a table (so that it also shows up in ...
1
vote
1answer
102 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 ...
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?
4
votes
2answers
89 views

Automatic way to use the first sentence of the figure caption as the short caption

Is there any automatic way to use the first sentence of a caption as the short caption to be displayed in table of contents? Precisely I want to write: \caption{First Sentence. Second Sentence.} to be ...
1
vote
2answers
24 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 ...
1
vote
1answer
102 views

Centering the caption of figure without warning

Original, After I add a package \usepackage[justification=centering]{caption}, it became it's exactly I wanted, however, an unexpected warning came out, it said: ...
2
votes
1answer
26 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: ...
4
votes
1answer
21 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
35 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 ...
5
votes
1answer
45 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 ...
0
votes
0answers
34 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
2answers
108 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 ...
3
votes
1answer
26 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
42 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 ...
2
votes
1answer
35 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 ...
1
vote
1answer
15 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
34 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 ...
4
votes
1answer
31 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
6 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
43 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 ...
3
votes
2answers
47 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} ...
4
votes
4answers
125 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
34 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
12 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: ...
2
votes
2answers
60 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
28 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

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 ...
2
votes
1answer
19 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
13 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 ...
0
votes
0answers
68 views

Numbering tables [closed]

My thesis has many table but when I write the table some number appear before the table like 1.2 or 1.3. can any on help me to remove this number.
1
vote
1answer
38 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
25 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
19 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
39 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 ...
1
vote
1answer
34 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… ...
0
votes
1answer
10 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} ...
2
votes
1answer
61 views

Missing $ inserted in python code

I use python3 (with code not from me) to insert data from a database (bsddb3) from the program GRAMPS into a LaTeX document (TeX Live 2014) and I receive the following error messages: ! Missing $ ...
0
votes
0answers
23 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 ...
0
votes
0answers
22 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 ...
9
votes
2answers
5k views

Ignore citations in captions in list of figures when numbering

When using the \cite command in figure captions and the ieeetr bibliography style, then BibTeX numbers the citations as appearing earlier than they do in reality (i.e. the first citation in the ...
1
vote
1answer
17 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 ...
1
vote
0answers
16 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
56 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 ...