{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
73 views

Changed style of caption numbering [duplicate]

Possible Duplicate: Appendix changes sections and figures numbering I have a problem with some captions in a document I am currently working on. Usually when I compile the main file, all ...
5
votes
1answer
488 views

Force a caption to be on the same page as a figure

I'm using the overpic environment to include figures, and the memoir class to add captions. How do I force the caption to always stay on the same page as its corresponding figure? Below is my MWE. ...
2
votes
1answer
898 views

Using a different font in overpic

I'm using the overpic package in the memoir class to include figures and superimpose text on them. Is there a simple way to tell overpic to use a different font than the main font of my text? (I ...
14
votes
1answer
3k views

Globally customizing the style of figure captions [duplicate]

Is it possible to globally alter the way figure captions are rendered? For example, I might want to wrap all captions in \textit to better distinguish captions from regular text.
17
votes
4answers
9k views

Rotate picture with caption

How can I rotate both a picture and its title in TeX? Parameter in \includegraphics allows to rotate only a picture.
4
votes
1answer
3k views

Line break in table caption using beamer

I would like to add a line break in a centered table caption with beamer. I can't seem to figure it out. Here is sample code: \documentclass[xcolor=pdftex,svgnames,table]{beamer} ...
7
votes
1answer
3k views

How can I change figure caption label?

I am using revtex4-1 for a Physical Review Letter. Typically when a figure is made, the caption starts out FIG. 1. <text>. I am creating a supplementary file and I would like it to say FIG. S1. ...
0
votes
1answer
601 views

Abbreviate “figure” [duplicate]

Possible Duplicate: Change caption name of figures I'm using scrbook for the document class. Is there an easy way to abbreviate "Figure 1" in order to have "Fig. 1" ? The proposed answer ...
4
votes
3answers
2k views

float and subfig package interference: subfigures with exact placement

I'm using the subfig package for subfigures and the float package for forced float placement (H). Using both these packages results in the subcaption not getting reset. The following example shows six ...
3
votes
1answer
1k views

figures in sidewaysfigure environment are not listed in List of Figures

I was writing my thesis and found that all figures I included in sidewaysfigure environment are not listed in \listoffigures. How can I make those figures listed in List of Figures? What I did is ...
7
votes
1answer
391 views

Aberrant footnote numbering behavior with footnoted captions

I don't have an explanation for the behavior shown by the following two MWEs. Clearly, the footnote number is altered by the length of text in the caption. Please advise me as to why this strange ...
4
votes
1answer
2k views

KOMA-Script: caption, subfig, and captionlabel

My problem is best illustrated with an example: \documentclass{scrreprt} \usepackage{caption} \captionsetup[subfigure]{font={sf,md,sl,small}} \setkomafont{caption}{\itshape\sffamily} ...
7
votes
1answer
3k views

scrreprt – How to adjust distance between caption and table?

I am new to LaTeX, tentatively using it to prepare a complicated industrial document (laboratory test report). I had selected the report class. After numerous experiments, I have just found that just ...
4
votes
2answers
2k views

\renewcommand with \caption*

I'd like to redefine \caption* as \renewcommand{\caption*}[1]{\vspace{\abovecaptionskip}\caption*{\textbf{Note:} #1}\vspace{-\abovecaptionskip}} but keep getting an error when I try to compile. My ...
11
votes
2answers
3k views

How to build and combine sophisticated layouts in figures

How can I get a layout like the one below in my document?                 With this question, I am looking for: An ...
2
votes
1answer
869 views

Line break in caption of wrapfigure

I use the wrapfigure package for placing images in my text at the right side. Now my problem is, that my image is really small and my caption is larger then the image. Instead of a line break at the ...
3
votes
2answers
2k views

Remove automatic table headline

I use LaTeX for creating PDF output from R - not to create long documents. Hence the automatic Table 1: <caption> above the table is rather annoying. How can I remove the automatically generated ...
3
votes
1answer
359 views

Sync listings caption numbers and add all to List of Listings

I want to create a list of all listings. Listings itself allows to add captions and list them in a list using \lstlistoflistings, but they can not float. If I set up such a floating environment using ...
5
votes
3answers
3k views

An error produced when using the caption package

My .tex file: \documentclass[a4paper,twoside,portrait,12pt,openright,final,pdflatex]{report} \usepackage[bindingoffset=8mm]{geometry} \usepackage[T1]{fontenc} \usepackage{arabtex} \usepackage{utf8} ...
3
votes
2answers
689 views

Centering tables in document class apa6

I'm using the apa6 class in doc mode for my thesis. Now, when I create a table and try to center it on a page, the table is centered alright. The caption, however, still floats on the left of the ...
4
votes
1answer
393 views

Adding both captions and notes to a table with the captions package

In the following table I created the caption exactly they way I wanted. I'd like to add a "Note" below the tabular, but within the table environment, following the same style as the caption. I sort of ...
5
votes
1answer
8k views

Subfloat caption width requirements and alignment problems

I'm having problems with conflicting width requirements for subcaptions on subfloats that are horizontal versus vertical. I've spent considerable time searching here and more broadly, poring over the ...
2
votes
1answer
2k views

Vertical spacing of captions in booktabs

Both \abovetopsep and \belowbottomsep are 0.0pt. But for some reason there's extra space between the bottom rule and "my second caption" in the table below. Q: What is that space? Where does it come ...
10
votes
1answer
9k views

Table caption without the word “table”

Whenever I put \begin{table} \begin{tabular} ... \end{tabular} \caption{My great table} \end{table} It would end up with the name "Table 1: My great table". I don't want the prefix "Table 1:". Is ...
8
votes
3answers
2k views

Remove colon in the caption of a figure without using caption package

I know that I can Remove colon in the caption of a figure if the caption is empty when I simply use the caption package. But let's say I am using a journal-specific class (e.g. elsarticle) that has ...
4
votes
1answer
2k views

“Missing number” error with SCfigure (from sidecap package)

Does anyone know how to do "side captions" in LaTeX if you already have a caption environment specified? I keep getting an error when I use SCfigure. Ex: \documentclass{article} \usepackage{sidecap} ...
2
votes
1answer
1k views

Caption for longtable in Sweave

I'm using the following code in .Rnw file to generate a longtable <<label = tabggplot2df, echo = FALSE, results = tex >>= print( xtable( x = ggplot2df , caption = ...
7
votes
2answers
625 views

Subfloat indexes misaligned when using setcaptionwidth

I have the following document: \documentclass{article} \usepackage{subfig} \usepackage{graphicx} \usepackage{geometry} \setcaptionwidth{12cm} \begin{document} \begin{figure}[t] \centering% ...
0
votes
2answers
1k views

Problems with undefined control sequence in list of figures

I'm using TeXLive 2011. I had a lot of problems with compiling my large document yesterday and finally seemed to have gotten back to a working version, however now I get strange error messages in the ...
4
votes
1answer
3k views

Define a new caption in a listing environment

I want to have different listings with different types of captions, consider that I've got the following: \documentclass{article} \usepackage{listings} \usepackage{color} \usepackage{caption} ...
5
votes
1answer
487 views

Caption issue with tufte-latex and ctable

When using ctable with the tufte-latex class (in xelatex), I get an error when defining a caption (and hence a label). ! Undefined control sequence. \@tufte@stored@caption ->\@ctblcaptionarg** ...
1
vote
1answer
3k views

How to put subcaptions below subtables, and increase gap between subtables with 'subfigure'?

Using 'subfigure', how can I create subtables within a table, such that a) subcaptions are underneath each subtable, and b) there's a reasonable horizontal gap between the subtables? So far I've only ...
6
votes
1answer
303 views

Centered captions containing \vref may not always appear as expected

I've noticed that when centered captions contains \vref to some reference, the captions may sometimes not become entirely centered. I see this especially in my document where there are two figures on ...
9
votes
2answers
725 views

How to put an algorithm and a tikz drawing (objects of different type) side-by-side in the same float environment?

I am trying to put an algorithm and a tikz' drawing side-by-side inside a figure environment. I am aware of this question but I would like to have a single caption for them. For instance, in the text, ...
1
vote
2answers
2k views

Caption package: bold numbering indents caption text - how to avoid that?

I ran across this problem and fail to find an answer even after thorough searching: I use \usepackage[bf]{caption} in my LaTeX document, as I want the "Figure 1"-Part of the caption to appear ...
4
votes
1answer
3k views

Change \abovecaptionskip for some floats only

I'd like to change the \abovecaptionskip (space between figure and caption) for the listing floats of the minted package only. How can I do that?
4
votes
1answer
433 views

Aligning caption of subfigure with math environmenth to the bottom

I was trying to align the subcaption letter of a subfigure that contains a math environment using temporal boxes, to align it vertically to the biggest one. However, when I do it the subcaption letter ...
3
votes
1answer
436 views

Splitting figures' caption apart

I'm using stock figure environment and \caption{} command to typeset figures in my document. Is there any sane way I can get 'Figure N' part to be written right below the figure, and the actual ...
4
votes
1answer
2k views

Three different captions: longtable

My problem is that I have tables that are three pages long. Thus, I would like to have three different captions when using the longtable package. The similar question How to use a longtable with only ...
3
votes
0answers
480 views

Incompatibility of caption and cleveref package [closed]

The following code produced a TeX capacity exceeded error \documentclass{scrbook} \usepackage{caption} \usepackage{cleveref} \begin{document} \begin{figure} Text \label{fig:figures:1} ...
2
votes
0answers
422 views

Caption spacing in longtable package [closed]

I am using a style file that sets a particular spacing for the List of Figures (LoF) and List of Tables (LoT) in my Table of Contents. However, I am using longtable for all my tables, and it is ...
5
votes
3answers
3k views

fbox in tabular throws missing endgroup

I have to draw a border around my tables, so I'm using \fbox{} (is there a better way?). It works when using a threeparttable but with the normal tabular latex throws an error stating Missing ...
6
votes
2answers
150 views

Input Auto-Generated Figures Captions

I'm trying to include an Matlab-auto-generated figure-caption tex-file using \caption{\input{Spectrogram-2011-09-28-S003.title.tex}} but if fails with error ERROR: Argument of \@caption has an ...
5
votes
1answer
217 views

Non-italicized text in a \newfixedcaption

This is a very specific follow-up question to this answer given to this question. I want to insert a picture, and use overpic to label it, in between two paragraphs of text in a thm environment ...
1
vote
0answers
1k views

Why do I get the error “\caption outside float” with the algorithm / algorithmic package? [closed]

I have an algorithm in my document It looks like this: \begin{algorithm} \caption{Merge Digest: Insert\label{mergeDigestInsert}} \begin{algorithmic}[1] [....algorithm is ...
11
votes
2answers
977 views

How can I put the empty subfloat subcaptions to the right?

I'm putting two figures above each other with \subfloat from the subfig package. Their captions are empty as I just want to describe the figures with the main caption, but I still want the (a) and (b) ...
19
votes
1answer
911 views

Caption parbox 6.0 pt too wide

For my listings, I use this caption setup: \usepackage{caption} \DeclareCaptionFont{white}{\color{white}} \DeclareCaptionFormat{listing}{\colorbox{gray}{\parbox{\textwidth}{#1#2#3}}} ...
2
votes
1answer
663 views

how do I remove “Listing 1” from my lstlistings code?

This is my latex code: \documentclass[12pt]{article} \usepackage{listings} \begin{document} \begin{lstlisting}[caption=Figure 3] Source | SS df MS Number of obs ...
4
votes
1answer
515 views

Problem with captions at top of page for tufte-latex

I'm using the tufte-latex layout, and running into problems with the double-sided mode. I found a proposed bug-fix here and applied it to the most recent version of tufte-latex available on github % ...
8
votes
2answers
2k views

captionsetup for margin caption

I am using the caption package to set up the layout of my captions. However for margin captions using mcaption package the \captionsetup does not seem to have the expected effect. ...