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

Subfigure captioning

I have a figure with several subfigures. The figure has a \caption, which is messy in the List of Figures. I'd prefer to put \captions on each of the \subfigures. The code I'm using at the moment: ...
4
votes
1answer
163 views

Caption for a listing

I have captions on each of my listings. Each caption is prefaced with "Listing # [text]" where # is the number of the listing. Each caption is centered over my listing. How can I modify the options of ...
13
votes
1answer
3k views

Change format of reference to a subfigure

In my current document, I'm working with many subfigures. Normally, I like to refer to them using a style like Figure 1 b) where the space should be a halfspace, hence \, in the code. That's nice not ...
12
votes
1answer
424 views

Are there any subfloat package that works with tufte-latex?

I'm trying a lot of subfloat-like packages with tufte-latex and all of them seem to interact badly with tufte-latex in the matter of labels, refs and captions. To captions I could find solutions ...
3
votes
1answer
423 views

TAB command and \caption

Is there a way to add a description to this collection of cells? Something like \caption command. I tried but to no avail \begin{TAB}(e){|c|c|c|c|c|c|c|c|c|c|c|}{|c|c|c|c|c|c|c|c|c|c|c|} 0 & 1 ...
2
votes
1answer
423 views

How do I typeset a table with a caption within a tabularx within another table with a caption?

Unfortunately, it keeps bugging me with forgotten \endgroup, float(s) lost, not in outer par mode and so on. In other words, why can't I do something like this (the actual table is significantly more ...
7
votes
1answer
460 views

How to use caption and label in grammar environment?

I can't manage to add a caption and a label to my grammar environment: \documentclass{article} \usepackage{syntax} \grammarindent 80pt \begin{document} \begin{grammar} <condition> ::= "$" ...
8
votes
3answers
2k views

Justify a text inside a figure environment

I insert several figures in my document, but I am unable so far to fully justify the text just below the caption: "BLA BLA BLA" \begin{figure} \centering \caption{NICE TITLE}\label{graph:p} ...
6
votes
1answer
230 views

Variable Caption spacing for `tikzpicture` and `tabular`

The \abovecaptionskip option gives different results with tikzpicture and tabular. MWE: \documentclass{report} \usepackage{tikz} % \begin{document} ...
23
votes
2answers
745 views

Add a rule underneath “Figure 1”

I want to add a line beneath the figure caption such as Figure 1 Figure caption text here.... I managed to include a newline, change the color and look of the caption via caption package: ...
4
votes
0answers
384 views

Footnotes inside captions using LyX [duplicate]

I finally found a way to insert a footnote inside a caption while using float:Table in LyX, from this answer. You need to insert \protect\footnotemark in the caption and \footnotetext{Text to ...
2
votes
1answer
578 views

Force caption to go above/below with biblatex

I have used the following to force captions above (tables) and below (figures) as per the answer to this question. \documentclass{memoir} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} ...
9
votes
3answers
10k views

How to display the footnote in the bottom of the slide while using \columns?

I am using \columns in beamer to show two pictures. After I added \footnote{ExampleText} after captions, the ExampleTest just appear in each column. Now I want to show all of the ExampleText in the ...
1
vote
1answer
75 views

Command for table with label

How can I create a command for a 2 tables with a label on top and a command for the options below? example of what i am saying is:
13
votes
1answer
28k views

Font size of Figure Caption Header

My question is about changing the font size. I have to insert two figures side by side. Coming to inserting the captions for the figures individually: Figure 3: blah blah.....................Figure ...
2
votes
1answer
284 views

Adding a caption to a graphic inside a longtable

I have the following longtable : \begin{longtable}{|p{10cm}|} \hline some text \includegraphics[width=10cm,keepaspectratio]{\basedir some.png} some text\\ \hline ...
5
votes
1answer
3k views

Can I have a mathematical equation within a caption?

I'd like to have an eqnarray environment (or equivalent) within a table caption. If I do this naively, \begin{table*} % table stuff \caption{\label{tab:my_tab} \begin{eqnarray} a ...
3
votes
3answers
823 views

Memoir sub table numbering wrong

I am using sub tables and it seems because I but the table caption above I get the wrong number in the sub table references. How can I fix this? I am pretty sure it is related to the package float ...
1
vote
1answer
87 views

Table paragraph column does not seem to work properly (& caption issue)

Quite new to LaTeX, everything was going fine until tables! My document class is: \documentclass[a4paper, twocolumn]{article} And I'm trying to insert this table into it: \begin{table*} ...
6
votes
1answer
196 views

TikZ's extended line penetrates the figure caption

Here is an example: \documentclass{article} \usepackage{tikz} \begin{document} \begin{figure}\centering \begin{tikzpicture}[extended line/.style={shorten >=-#1,shorten <=-#1}] \draw [very ...
4
votes
1answer
602 views

Linenumbers with lineno (edtable) breaks inside threeparttable because of caption

I'm trying to show linenumbers for tables using lineno, i.e. edtable. The table is set using threeparttable and linenumbers work fine, but compilation fails when including a caption. The error message ...
6
votes
2answers
538 views

How can I turn off table and figure captions?

I am using my figures and tables both in report documents, where I want them to have caption text, an in presentations made with Beamer, where I want them to not have a caption text. I am using the ...
4
votes
1answer
342 views

grid of figures, caption to the left of each row

I think the title says it all: I took photos of 5 object from 3 different angles. So for each object there are 3 pics. I would like to display them so there's a row per each object, and in that row ...
4
votes
1answer
1k views

How do I put two footnotes in the caption of a float?

This question Using \footnote in a figure's \caption already has some suggestions on how to get a footnote in a caption. None seem really satisfactory because it seems hard to get the footnote ...
7
votes
2answers
687 views

Caption on side by side matrices

I have two matrices side by side, like this: \[ \left[\begin{array}{cc} a & b \\ c & d \end{array}\right] \qquad \left[\begin{array}{cc} e & f \\ g & h ...
6
votes
1answer
248 views

putting the caption of a table on its right

I have a table environment, which has a tabular environment inside, and I would like to put the caption on its right (the table is narrow enough for that), and not below it. How would that be ...
3
votes
2answers
385 views

How to import data from a CSV file in a figure caption using csvsimple?

I have made a pretty report that gets all the data from CSV files data.csv like this : Images,Infos,Bayer,BilineaireA,BilineaireB,TeinteA,TeinteB,ContourA,ContourB,Forme img1(illusion),Temps (en ...
2
votes
2answers
201 views

caption in a tikz object

I created markov's chain using tikz package. Now I would add to to it caption and label but I got error.How can I add a caption and a label to a tikz object?
6
votes
1answer
670 views

How to rotate a table with caption and have a section name in the same page

I need to rotate a table with caption, but I need to have a section name in top of the same page. Already tried with sidewaystable, but it reserves a entire page only for the table. Then I've tried ...
8
votes
2answers
3k views

change caption in list of tables

I would like to change the caption in the List of Tables in a way it is different from the caption in the corresponding table. How can I do that? Does there exist a command to do that?
3
votes
1answer
165 views

How to align caption description to the left in KOMA article?

I would like to know how to align the caption to the left as in the article class, instead of aligned like shown on this picture in scartcl ?
4
votes
1answer
155 views

How to get vertical size of table captions?

I found that the tabularht package, which allows to give a fixed vertical size for a tabular, does not take into account the vertical space taken up by a table's caption. It stands to reason, the ...
1
vote
1answer
389 views

Suppressing figure numbers in wrapfig

Like @brannerchinese here, I'd like to suppress the figure numbers for certain figures, but I'd like to do it within the context of the wrapfig and wrapfigure package/environment. Being rather new at ...
16
votes
3answers
19k views

How to remove figure caption prefix “figure” in beamer

I am trying to remove the caption prefix, "Figure", for my figures in beamer. I tried doing this but it made no difference. Heres a minimum working example: As you can see, I have included the ...
1
vote
1answer
404 views

How to remove the caption and the figure x in the figure but to add the caption in the list of figures?

I would like to remove figure 1 from the caption under my figure but to have it in my list of figures. Is it possible? With \caption[Entry for the List of Figures (LoF)]{}\label{fig:without} I can ...
3
votes
1answer
314 views

subfloatrow and tabularx, wrong numbering of figure

I wanted to "group" a figure and a table to get one figure. It has been proposed to use floatrow for this, with the possibility to remove the subcaptions later on (subfloatrow of package floatrow does ...
8
votes
3answers
199 views

Want to add a string left of “Figure” in caption

Ok I need to redefine caption and probably some other things to do something like \caption{code}{caption string} So when a figure is made (code) Figure #: caption string comes out code will be a ...
8
votes
1answer
3k views

LaTeX Centering newline in subfloat caption

I have these images with their title beneath: I want to add some information below, like this: The good news is, I'm able to do it. The last screenshot is from my pdf previewer. ...
4
votes
2answers
1k views

Changing style of table caption

I'm using the \caption command inside \begin{table} command and in the output I'm getting: Table 4.1 - Caption Table Content Is it possible to change that style to something like this? ...
7
votes
2answers
4k views

Change the word “Table” in table captions

I need to have tables with their numbers, just as when I use \caption. My problem is that when I use the \caption it shows me like this: Cuadro x.x: this is some table. The word Cuadro is ...
7
votes
2answers
2k views

Align captions of subfigures:

Hi I want to include the following two tikz figures in my document: \documentclass{article} \usepackage{tikz} \usepackage{subcaption} \begin{document} \begin{figure} ...
1
vote
1answer
176 views

Table number in ref inconsistent with actual table caption [duplicate]

Possible Duplicate: Why does an environment’s label have to appear after the caption? For convenience of readers, Table~\ref{table_abbreviation} lists the abbreviations and their full ...
4
votes
1answer
94 views

Use \caption to show only the name of the picture

I would like to use \caption in figures only to show the name of the picture. Without Figure 1.: Is that possible?
3
votes
1answer
495 views

Longtable puts caption and/or header on the next page

How to prevent LaTeX to put the table caption on the next page? Here is a demonstration, bottom of a page: Top of the next page: As you can see, "táblázat 8: Sorirányok összesítése" - that is ...
5
votes
1answer
344 views

Different alignment for table number and caption

I have a table whose table number should be right-aligned and its caption should be center-aligned on the next line like this: Table 1 Caption ...
1
vote
1answer
308 views

Setting parent of a counter and removing counter from caption

I guess, I have two questions. My very concrete problem is that I want \caption{xyz} to not print a table counter within a table. By now it prints “Table 0.1: xyz“. How would I remove that? But ...
2
votes
2answers
468 views

How do I change the label separator for marginfigure in Tufte Book/Handout?

I'm trying to use the caption package to do this and I've used the following code, but it's still not giving me a period as a label separator. How can I go about fixing this? Here's what I have: ...
6
votes
1answer
1k views

Captioning nested subfigures with subcaption

The following creates a figure with three images arranged appropriately. If I remove the two \caption{} lines, it numbers the main subfigures as I'd like, and keeping the two \caption{} lines puts ...
2
votes
0answers
166 views

Compilation error when plot and subplot are inserted [closed]

I am trying to add subtables inside tables. To achieve that I add the following packages: \usepackage[format=plain,labelfont=bf,up,textfont=it,up]{caption} \usepackage{subcaption} After adding ...
2
votes
1answer
2k views

Setting position of figure, captions using sidecap

I have a poster with 2 sidecaped graphics: one in the lower-left corner (LLC) and another in the lower-right (LRC). Problems include both have their captions on the left. I'd prefer the LLC graphic ...