{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
0answers
93 views

Why is there a large gap between imported png and caption? [duplicate]

Why the spacing between the caption and image is large and why it is not where I wanted it but somewhere else? How to make it next to it as I would normally expect a caption to be? I placed the png ...
7
votes
1answer
229 views

Using siunitx in captions?

I am using pdflatex(texlive 2011) to compile a document. Unfortunately it does not compile. ! Undefined control sequence. \metre ->\ERROR l.69 ...feld \num{6}{\metre} mal \num{6}{\metre}} ...
4
votes
1answer
196 views

Recreate position of subfigures in a table above figure caption

I need to recreate a particular style of captioning a "figure". Main characteristics of this style are: No subcaptions included in the subfigures. The position of the subfigures is recreated in a ...
7
votes
1answer
15k views

Resize table and caption

I usually apply a \scalebox to resize things, but I always stumble upon the fact that I cannot simply include a \caption{...} in the \scalebox. As an alternative to \scalebox, I found I may use ...
1
vote
2answers
3k views

How to remove space between table and caption? [duplicate]

Possible Duplicate: How to reduce space between image and its caption? I am working on one example in which i need to draw one table and its caption. How can i control the space between ...
6
votes
1answer
12k views

How to reduce space between image and its caption?

I m importing one image in latex document. But caption has bigger font than my normal text on page. \documentclass{article} \usepackage{graphicx} \begin{document} Some text... ...
5
votes
2answers
140 views

How to get a picture with text to the right of it

what I want is to have a quote like this: I returned and saw under the sun, that the race is not to the swift, nor the battle to the strong, neither yet bread to the wise, nor yet riches to men of ...
1
vote
1answer
207 views

Removing Figure: from some pictures [closed]

I've searched the web, but I didn't have any luck with this. I have two pictures in a document, and I would like for one to have a caption, and for the other not to have one. So far I've only found ...
5
votes
1answer
250 views

Is there an incompatibility between caption and picinpar packages?

In the code below, the number of the second figure is 3 instead of 2. It seems that there is an incompatibility between caption and picinpar packages. Unfortunately, the picinpar documentation is not ...
4
votes
1answer
175 views

Caption label formatting in Context

I am trying to introduce a linebreak after the caption label so that the caption starts below the caption label in context. However, the suffix key for the \captionsetup only accepts text like : or ...
7
votes
1answer
723 views

Change caption of figure for references

I changed the caption of my figures running the following command (I'm using the babel package): \addto\captionsngerman{\renewcommand{\figurename}{Abb.}} If I use \autoref{$LABEL} to reference to ...
3
votes
1answer
206 views

Display short title and long title (both) in a caption?

The syntax for a caption is \caption[listoffigures/tables text]{Text actually displayed under picture/table} But what I would like to have is something like this: If I use the above command, the ...
6
votes
1answer
152 views

Caption number increases by two for every inclusion

I am trying to typeset my captions in margin using marginpar and captionof. Here is what I get by the MWE. Note the wrong caption numbers. The first caption is included using macro \fixedmarginpar ...
3
votes
2answers
728 views

Algorithm caption should be on top and and flushed left

I want the caption of my algorithm to be on top and flushed left: \documentclass{article} \usepackage[plain]{algorithm} \usepackage{algpseudocode} \begin{document} \begin{algorithm} \caption{Sketch ...
2
votes
1answer
450 views

suppress an entry from list of figures/tables in koma script

While I don't regret switching a thesis to KOMA script, I do (sometimes) regret stopping using the caption package even though it works fine with scrreprt! I need a solution that won't require using ...
2
votes
1answer
195 views

capmargin for multiline captions but centered for oneline

The koma class scrbook centers oneline captions if not given captions=nooneline. However, settings setcapmargin (\setcapmargin{0.05\textwidth}), also one line captions are left aligned with the ...
1
vote
1answer
195 views

How to use formattings of the caption-package within the hvfloat-package?

With the caption-package I'm declaring the style of my table- and figure-captions: \RequirePackage[singlelinecheck=false, listof=true, tableposition=top]{caption}% ...
8
votes
2answers
184 views

Create two sets of caption labels

I would like to create two sets of caption labels in latex, but research online has not yielded any satisfactory solution. I was wondering if anyone can provide help. More specifically, I have many ...
2
votes
1answer
428 views

Page breaking up for caption of a table

Using the following I get problem by page break up. \IfFileExists{FILE}{% \begin{center} \captionof{table}{Grenzwertverletzung [AL9]} \begin{tabular}{ll} AL9& \input{FILE} \\ \end{tabular} ...
4
votes
4answers
3k views

Multiple subfigures not appearing on the same line

Multiple figures under a single caption. I have tried a code to put two images in a together under a same caption. The subfigures do not appear on the same line. The code is : ...
1
vote
2answers
215 views

about \usepackage{graphicx,floatrow} in latex

When I use the code: \usepackage{graphicx,floatrow}, the caption of a table ends up under the table. This does not meet the requirement of Springer (book publisher).
0
votes
1answer
626 views

How to change caption from “Figure #:” to “Appendix #:” [duplicate]

Possible Duplicate: How to change the name of document elements like “Figure”, “Contents”, “Bibliography” etc.? I was using minipage in LaTeX for my appendices in one of my English ...
6
votes
1answer
759 views

Alignment of Margin caption with floatrow and caption

I want my captions in marginpar to be left aligned. I am using raggedright option in caption package along with floatrow package. The captions are left aligned only for long captions. MWE ...
5
votes
0answers
57 views

Spurious whitespace in caption [duplicate]

Possible Duplicate: Why the end-of-line % in macro definitions? I am not sure what is happening with this MWE. First the problem: You can clearly see the whitespace between the label and ...
10
votes
2answers
252 views

Index entries duplicated for captions

In document class book, and package caption, creating index with makeidx. Index entries for the main text and for footnotes collate properly; but those for captions create their own entries. Example: ...
11
votes
2answers
896 views

Center caption in listing

I want to put the caption of my listing in the center but I can't do that. Do you have any idea how I could achieve this? The code: \documentclass{report} \usepackage{color} \usepackage{xcolor} ...
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
167 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
4k 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
441 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
444 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
449 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
479 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
238 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
779 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
601 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} ...
11
votes
3answers
11k 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
30k 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
318 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
897 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
88 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
199 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
618 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
582 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
343 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
2k 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 ...