{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

7
votes
2answers
3k views

changing the position of a caption

I have a code for putting a figure: \begin{figure} \includegraphics{some_narrow_and_tall_image.pdf} \caption{caption of the figure which can be pretty long} \end{figure} The page format is ...
5
votes
1answer
872 views

How to change the format of table captions?

How I can change "Table 1: sample" to "Table 1. sample"? PS. I'm using ctable, if it important: \documentclass{article} \usepackage{ctable} \begin{document} \ctable [caption={sample}] {|l|r|} {} { ...
8
votes
1answer
344 views

Produce PDFs with only the figures/tables without captions and with only the captions without figures/tables

I'm submitting the final copy of a journal paper and got the following requirements: Camera-ready copies of all figures and tables in a single pdf/ps file (that is, produce a single ps/pdf file ...
4
votes
1answer
727 views

\twopagepicture package refining with long caption spanning across the two pages

The \twopagepicture package is definitely worth it when you have many large pictures. But perhaps I'm not getting the required results because I'm not following the advice correctly. Here are some ...
9
votes
1answer
15k views

cannot use \caption under minipage

I am using following code to import two images next to each other. When \caption{} is used, LaTeX gives me error caption outside float. \begin{minipage}{.5\textwidth} \centering ...
10
votes
1answer
992 views

change caption in tufte class full-page figure

I've tried to change the caption in a full-width float with tufte-book, but to no avail. I want the caption in this figure to be like more common LaTeX classes. Here is a MWE and the result: ...
4
votes
1answer
489 views

Reference a table by caption created by ctable

Fixed in the new version of ctable ctan-ann: CTAN Update: ctable 26 May 2012 Might be a stupid question, but is there a way to reference, that means print, the caption of a ctable? hyperref ...
6
votes
1answer
5k views

Algorithm Caption

I want algorithm to NOT show the number in caption. How can i do that? Below is the code: \begin{algorithm} \begin{algorithmic} \caption{ My Algorithm} \IF \ELSE \end{algorithmic} \end{algorithm} ...
11
votes
1answer
16k views

option clash for package xcolor

I'm trying to set some color on my caption like this \usepackage[svgnames]{xcolor} \usepackage[labelfont={color=red,bf}]{caption} But it gives me this error "option clash for package xcolor". But ...
8
votes
2answers
2k views

How to get caption above listing with minted?

I'm using the minted package. How can I get the caption to show before the code in the document? \documentclass[a4paper]{scrartcl} \usepackage{minted} \begin{document} \begin{listing}[H] ...
6
votes
1answer
2k views

captionsetup redefines my margin captions nicely, but I want other captions to be default style

I'm writing a document with small and supporting figures placed in wide margins and larger figures in the text. I use the captions package and redefine the captions with \captionsetup{ ...
6
votes
1answer
859 views

floatrow with subfloatrow and fcapside: adjust placement of captions

I want put two subcaptions using fcapside into one float. The captions should be placed near the respective figures and the two figures should be separated nicely. I tried the following code: ...
6
votes
2answers
3k views

Algorithms package ignores caption package

I'm using the algorithms package in my document to get a floating environment for algorithms to live in. \usepackage{algorithm} I'm using the caption package to make the captions on my figures ...
8
votes
4answers
4k views

Table caption align top-right

How I can align caption for table like this? Current code: \begin{table}[h] \caption{} \centering \begin{tabular}{|l|r|r|l|} \hline № & X & Y & Время ...
2
votes
1answer
2k views

How to center the caption in onecolumn space?

I used the commands \onecolumn and \twocolumn to have some images in one column, but now the images' captions are not centered. How can I solve this problem? My code is like below: \one column ...
11
votes
1answer
1k views

What does “you have forgotten to use \caption” mean?

I'm stumped by an error I'm getting, when I try to render a Tufte-LaTeX document using hypcap and hyperref. For example, even a minimal document consisting of \documentclass[nohyper]{tufte-handout} ...
8
votes
1answer
2k views

How to change caption color for a color theme in beamerposter?

I am facing a problem. In my poster, I use a color theme, for that reason in figure caption comes with green color, that is quite invisible. Is it possible to change the color? \documentclass[final, ...
4
votes
2answers
3k views

How to renew caption command to get bold title?

How to renew \caption command to make all title in bold? I do this: \usepackage[labelfont=bf,labelsep=space]{caption} and I get Figure 1 caption I need Figure 1 caption My try ...
4
votes
2answers
638 views

How can I center the caption above the table in “elsart” document class?

I am preparing a paper for Elsevier, then I used elsart document class. Tables are centered, but their captions are not centered. How can I solve this problem? This is my code: ...
4
votes
1answer
5k views

Image caption and cross referenceing in Beamer poster

In my beamer poster, I like to give caption for images and cross reference that in writing like my thesis ("Figure 2.1: Text" like this) . But when I use the following code, I found ("Figure: Text" ...
3
votes
1answer
520 views

Numbering new environment with chapter/section

If I have a new environment defined (with, say, trivfloat), is it possible to get that section to number with chapter/section? I use \numberwithin for equations, figures, and tables. For example, my ...
22
votes
1answer
2k views

Using TikZ inside a figure caption

I have a PNG plot with a couple of black patches in it, and I'd like to refer to it in the \caption of of the figure. According to the TikZ manual, I'd have to \tikz \fill[black] (1ex,1ex) circle ...
2
votes
2answers
813 views

Figure caption and reference formatting

I'd like to format my captions of figures. The main source of the problem is in my native language, Hungarian I need to reverse the figure number and the word 'figure'. My current code: ...
2
votes
1answer
915 views

How to rid of automatic .pdf label from \includegraphics? [duplicate]

Possible Duplicate: How to avoid showing the filename when using graphicx? So I'm using the \includegraphics command to put a PDF image of a table into my LaTeX file here, but this pesky ...
6
votes
3answers
606 views

Invisible listing captions

Short version: how can I make a listing's caption show up in the List of Listings but not in the body of the document where the listing is? I'm writing a university report, and many of my subsections ...
3
votes
1answer
102 views

different caption format when on float pages

I have seen the possibilities of formatting captions with caption, but I can't find a variable indicating whether the float is on a floatpage of a textpage. Is it possible to use automatically ...
7
votes
1answer
3k views

IEEEtran, subfig clash?

The following code which uses the IEEEtran class, and subfig produces compile errors like, "argument of caption has an extra }", or "TeX capacity exceeded" etc. But the moment I comment out the ...
8
votes
1answer
24k views

centering caption of a figure

I want to put the caption of my figure in the center but I can't do that. when I put my figure in the center the caption is also in the center but when the caption is too long and there is a return to ...
2
votes
1answer
363 views

Prevent caption to appear on separate page

I'm using a custom listing environment which does not float taken from Code spanning over two pages with minted, inside listing with caption. The caption is done with the caption package. The ...
2
votes
1answer
469 views

Single entry in list of tables using datatool + longtable

I'm using the \DTLdisplaylongdb from datatool in order to create a multi-page table with longtable. How do I provide a caption that only shows up once in the list of tables? (Right now it's showing an ...
6
votes
1answer
2k views

caption package doesn't recognize font=doublespacing?

The journal I'm targetting requires "doublespaced" figure captions, and posts like these http://www.latex-community.org/forum/viewtopic.php?f=45&t=4187 made me try out the caption package. I ...
3
votes
1answer
1k views

Figure numbering with minipages (memoir)

I have the following figure, where I can't seem to get the numbering right. The numbers next to the captions comes out as Figure 1, Figure 2, and Figure 3, but I want them to be (a), (b), and Figure 1 ...
10
votes
1answer
762 views

Placing graphics inside figure captions

Similar to putting a tikzpicture inside a \caption{}, I would like to insert an external icon inside figure captions, something like: \begin{figure} \caption{text with \includegraphics{icon} ...
3
votes
1answer
6k views

\usepackage{caption} breaks references to tables

I'm formatting the listings captions as follows: \usepackage{caption} \DeclareCaptionFont{white}{\color{white}} \DeclareCaptionFormat{listing}{\colorbox{gray}{\parbox{\textwidth}{#1#2#3}}} ...
5
votes
3answers
1k views

How to make caption bold in ctable?

If I use \ctable[caption = \textbf{something}]{}{}{} the text inside the caption is bold but TABLE 1. is not ... It looks like this: TABLE 1: something and i would like TABLE 1: something ...
2
votes
1answer
760 views

Starred version of \captionof not working together with pdfpages

I use the following code to get a caption on the previous page but the correct location of the figure in the ToC. I now get 2 entries in the ToC, which is not really a surprise ;-). I now want to get ...
5
votes
2answers
725 views

How do I suppress the counter for figures?

I am including some illustrations in the figure environment so that they float properly and so I can caption them, but I don't want the counter. Is there a way to suppress this? ...
5
votes
2answers
315 views

\caption{title subsubsection}

I am entering the following code in more than 180 times after each \subsubsection. Is there any way to automate \caption{subsubsection title}? I tried with \caption{\subsubsectiontitlename} but it ...
11
votes
3answers
8k views

How to put large figure caption on separate page from the figure

I have a large figure (> 50% of a page) and a large caption to describe it (also >50% of page). How do I put the caption on a separate page? This is discussed in several forums, but apparently not ...
6
votes
1answer
3k views

Table caption very skinny

I have a table like this: \begin{table} \centering \begin{center} \begin{tabular}{c|c|c|c} Data set & Image size & Hole size (pix) & Total time\\ \hline Mailbox & 459 $\times$ 489 ...
7
votes
2answers
2k views

How to put the url centered under the caption of a figure?

I would like to put a source under the caption of my figure. The only thing that is not working is when I put the URL, the caption and the URL don't stay in the middle. Also \url{...} didn't work by ...
2
votes
1answer
669 views

captionof{lstlisting} Listingsnumber not in caption shown

Hi there having another problem. In the following Minimal Example a listing with captionof doesnt show the Listings Number in the Caption :( \documentclass[ 11pt, % Schriftgröße DIV10, ...
4
votes
1answer
739 views

2 SCfigure next to each other

I want to place 2 SideCaption Figures next to each other but having real trouble with it. I tried to place them in a minipage and tabular environment but nothing worked. Always got a while bunch of ...
8
votes
2answers
533 views

How to label a figure?

I understand how to put a caption on a figure, I'd do something like, \begin{figure}[h] ...put figure here... \label{figure1}\caption{this is a figure} \end{figure} and the caption reads, ...
9
votes
2answers
971 views

Wrap Caption Around TikZ Figure

I have a TikZ figure that appears as follows. The figure also has a caption. I'd like the caption to fill up that blank space in the bottom-right and bleed over into the space it current occupies. ...
9
votes
4answers
2k views

Caption and footnote width with ctable

I am using ctable and I have a table with footnotes. Since the table is narrow, the caption text is squeezed in the table width, which looks odd. I can use mincapwidth to specify a minimum width for ...
1
vote
1answer
284 views

\caption full features, but no showing at list of figures?

Using tocloft for my list of figures, I am looking for some method that enables me to select some specific entires (\caption) such as that one further down, which shouldn't goes to the list of ...
5
votes
1answer
2k views

Can't get this caption right (wrapfig + floatrow)

I'm trying to get a caption to span the figure width on a wrapfig environment. But for some reasons it just won't go. Here is my code and a graphical representation: ...
9
votes
3answers
18k views

Beamer: change size of figure caption

I am creating a beamer presentation and I would like to change the size of the caption under the figures. I am using the Madrid theme. I tried the obvious way: \caption{\scriptsize{Text of the ...
8
votes
1answer
2k views

Change caption width together with subfloat

In the following code the package that give the problems is \usepackage[font=small,format=plain,labelfont=bf,up,textfont=it,up,width=0.85\textwidth]{caption} What I want to do is change ...