{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

2
votes
1answer
63 views

how can i give a figure an extended caption without it going in my table of figures? [duplicate]

I am writing my minor thesis which includes a number of tikz figures, which are all listed in a table of figures. the table of figures gives the figure number, and then the title of the figure, as ...
2
votes
2answers
119 views

Table caption longer than table

How do I make the table caption the length of the table please? \begin{table}[ht] \caption{Empirical Model Results} \centering \begin{tabular}{l c c c c} \hline\hline & ...
2
votes
1answer
360 views

deluxetable* caption not displaying

I am trying to create a page-wide deluxetable using the two-column formatted ApJ article style. The caption displays when creating a single column deluxetable, but will not display when I use ...
2
votes
1answer
45 views

I have included verbatim to show a small section of code, how can I add a comment/caption for this verbatim?

I am writing some documentation on a tool I am using at work and I have included some code that has a comment to explain what a particular line is there for, this comment runs off the page if I leave ...
2
votes
1answer
94 views

Algorithm2e caption separator with language package options

Please see the difference in the style of the caption separator. In the first example the : is typed directly after the word Algorithm 1. In the second MWE with language option german (also french or ...
2
votes
2answers
194 views

Centering figure caption does not work

I have a few narrow figures for which I want to center the caption. I have to use a LaTeX template from Springer (svmult.cls). This makes captions left-aligned by default. I took a look at this ...
2
votes
2answers
101 views

Tabularx and short caption causes error

I'm trying to construct a multi-page, landscape table with variable column widths. It was working until I started to get a problem with the caption. If I try to include a short caption I get the error ...
2
votes
1answer
68 views

cross-referencing figures : Any way to use Fig. instead of figure

I'm using IEEEtran.cls to produce an article. When setting captions on figures, the text begins with Fig 1. (for example). However, when I reference this figure by using \ref{img:something}, ...
2
votes
1answer
2k views

When using Caption Package, I receive: “Undefined control sequence \captionsetup ”

I introduce a figure as follows: \begin{figure} \centering \includegraphics[scale=0.300]{Figure.eps} \caption{Caption for the figure} \label{a} \end{figure} In the preamble I have written: ...
2
votes
2answers
66 views

Displaying caption of a long table on multiple pages

I'm trying to display a table on three pages. What's the best way to display captions on these three pages and how to do that, please? \documentclass{report} \usepackage{longtable} \begin{document} ...
2
votes
1answer
94 views

Redefine table caption

I'm writing a paper in IEEEtran twocolumn format. When putting pictures in my paper I prefer to use the Table environment over the Figure environment. I feel that the Table environment does a better ...
2
votes
1answer
35 views

How to pre-evaluate commands that are problematic for a specific environment?

More specifically, my problem occurs in the caption environment, but I imagine this applies elsewhere. I would like to insert the text generated by \suppOrApp and store it in the variable \sOrA: ...
2
votes
2answers
108 views

How can I remove an empty caption line

I'm generating LaTex automagically from a lengthy document that is written in the multimarkdown language, compiled by a software package called Scrivener. It's a workflow that works well, but this is ...
2
votes
2answers
728 views

Resize figures using subfloat environment in elsarticle class

I was working with the elsarticle class and subfig package for my article and I used the subfloat environment to include two pictures. However, the scaling of the pictures is completely wrong and the ...
2
votes
1answer
699 views

How can I make my caption span both columns in a twocolumn revtex document?

I'm using revtex with twocolumn. I have a wide figure, and I put it in the widetext environment to allow it to span both columns. The figure itself looks fine, but the caption seems to be stuck in one ...
2
votes
2answers
814 views

Horizontal text alignment in captions for subfigures

Captions in subfigures are justified by default, which does not always look pretty: \documentclass[]{tGIS2e} % http://www.tandf.co.uk/journals/authors/tgislatex.zip \begin{document} ...
2
votes
1answer
102 views

suppressing captions of figures but keeping list of figure captions?

I have very long figure captions in a book. I use: \listoffigures to create a listing of these captions right after the table of contents. The figures themselves are given in each chapter. Is there ...
2
votes
1answer
192 views

Caption text wrapping bad way

I'm having some strange behavior. My captions are wrapped as at the picture. This is probably cased by .sty and .cls files provided by an academic scholar, which are quite a mess. Someone has an idea, ...
2
votes
1answer
2k views

Change color of figure caption text

In my code below, I wanted to change the color of the text for the table and figure caption. I am using this: \usepackage[svgnames]{xcolor} \definecolor{ocre}{RGB}{243,102,25} \usepackage{caption} ...
2
votes
1answer
728 views

How to have aligned equations in a caption?

The following is my MWE, inspired from the answer to this question (where my query seemed to merit a separate question, so here it is!): \documentclass{article} \usepackage{caption} ...
2
votes
2answers
302 views

Align a figure caption lines

I have an image with caption in LaTeX: \begin{figure}[H] \centering \includegraphics[width=0.8\textwidth,height=0.8\textheight,keepaspectratio]{img/image9} \caption{Text text text text text ...
2
votes
1answer
501 views

Make every first line of table look the same

I've been struggling recently with tables. And I've finally managed to get past it. However, I'm now trying to make every first line of my tables look the same (bold white on blue background color). ...
2
votes
2answers
718 views

Code listing spanning multiple pages with captions at top

Is it possible to span a lstlisting environment or lstlistinginput on multiple pages, such that the caption is repeated on each page (the listing counter stays the same), as well as being able to ...
2
votes
1answer
203 views

How to modify caption of a wrapped figure?

I have the following code : \begin{wrapfigure}{r}{0.3 \textwidth} \includegraphics[scale=0.9]{tulipmatlab.png} \caption{Synthesis tools} \end{wrapfigure} Which gives an output of : ...
2
votes
1answer
169 views

Caption on the side of a table

I tried to use the floatrow package together with the approach from the accepted answer from (Caption on the side of a figure) to put my table caption to the right top hand side of my table. However, ...
2
votes
1answer
576 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
335 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
1answer
655 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, ...
2
votes
1answer
926 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 ...
2
votes
1answer
518 views

Can the package “caption” be used with KOMAScript classes?

Is the LaTeX-package caption compatible with KOMAscript-classes like scrreprt? (I did not find anything about that in the KOMAscript-Manual, but as KOMAscript redefines a lot for the floats and ...
2
votes
1answer
397 views

How to set title for a single page inside document

I would like to ask for an advise about how to set title of the single page inside the document (not the title page, but regular page in document). I'd like to have picture on whole page with caption ...
2
votes
1answer
572 views

Caption Formation for Figure

I use the caption package. Somehow I got a period between the type (Figure) and the separator (:) When I wrote listformat=empty, for the Table of Figures, I just got the period and then the ...
2
votes
1answer
34 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 ...
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
2answers
49 views

Align itemize text with graphic and use caption

I would like to align the top of the text with a figure and add a caption with a label to it. But as soon as add caption=test,figure to the adjustbox the picture floats above the text. How do I ...
2
votes
2answers
32 views

new caption type in captionof

\captionof command from caption package allows caption for various floats. However we cannot use it to typeset an algorithm caption like: \captionof{Algorithm}{<Caption text>}. I tried the ...
2
votes
1answer
58 views

Break URL in figure caption [duplicate]

I'm trying to break a url that is part of the figure's caption. I used \burl but didn't work. What can I do? This is my main code: \documentclass[11 pt, letterpaper, oneside, openright]{book} ...
2
votes
1answer
111 views

IEEEtran Tabular Won't Fit Into 0.7in Margin

Using IEEEtran, I am trying to combine two tabulars in a single double-width table* environment. (This is the only way I could figure out to correctly order the tables in the paper, otherwise LaTeX ...
2
votes
1answer
52 views

how to reduce line spacing in memoir caption

For caption in memoir document class i use the following settings: \captiondelim{\null\newline} \captionnamefont{\small\sffamily\bfseries} \captiontitlefont{\small\sffamily} ...
2
votes
1answer
45 views

list of figures reference to image, caption on another page

Using the caption package to put a caption of a figure on another page, the List of Figures shows the number of the page where the caption is, not the page where the actual image is. ...
2
votes
1answer
22 views

Caption content dependent on table name

I have a table environment with a set caption. I want the caption to be singular for tables with one row and plural for tables with multiple rows, all using the same environment. Is that achievable ...
2
votes
1answer
34 views

pdfpages with alternate TOC entry

So what I'm trying to do is use the caption package with the pdfpages package so a alternate caption turns up in my toc. Sorry if the code didn't turn out perfect still new to posted on stack ...
2
votes
2answers
66 views

How to locally change the “Table” caption prefix in table environment

In my memoir document, I have several tables looking something like: \begin{table}[htbp] \centering \caption{This is a caption.} \label{tab:some_table} \begin{tabular}{l p{10cm}} \toprule some text ...
2
votes
1answer
403 views

Argument of \caption@ydblarg has an extra }

A misleading error message from the following code: \documentclass{article} \usepackage{graphicx} \usepackage{subfig} \begin{document} \begin{figure}[!ht] \centering% \subfloat[]{ ...
2
votes
1answer
66 views

error on adding item list in sidecaption using memoir

I try to add an item legend using tikz drawed bullet in sidecaption with memoir, using Texlive 2013 updated, and xelatex, to this working MWE \documentclass[a4paper, 11pt,twoside, openright]{memoir} ...
2
votes
1answer
54 views

Moving caption of the algorithm upwards

I have the following code: \documentclass{scrbook} \usepackage[linesnumbered,ruled]{algorithm2e} \begin{document} AAAA BBBB \begin{algorithm} \vspace*{-1cm} \caption{My Caption\ldots} My ...
2
votes
1answer
31 views

How do I change the numbering system of table captions?

Normally when a table is captioned, it comes out as "Table 1: Blah blah...", but I want to change it to "TABLE I. Blah blah..." How do I do that? So far, I've figured out how to change the title and ...
2
votes
1answer
89 views

Add colon to algorithm Caption after algorithm number [duplicate]

If I typeset a simple algorithm using the algorithmicx package, say \documentclass{article} \usepackage{algpseudocode} \usepackage{algorithm} \begin{document} \begin{algorithm}[H] ...
2
votes
1answer
70 views

how to include the Subfig captions below the main figure caption in LaTex?

I am preparing a manuscript for an IET journal. I have used the following packages for figure: \documentclass[10pt]{article} \usepackage{graphicx} \usepackage{caption} ...
2
votes
1answer
54 views

How to cite bibentry in full length in the figure or table caption without using footnote?

I want the full citation shown in the figure or table caption. I am trying to use \bibentry but there are certain errors. Please help. Here's the MWE. UPDATE: I have also tried using \footnotemark ...