{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
187 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
694 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
273 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
478 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
663 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
191 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
167 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
563 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
333 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
645 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
918 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
512 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
396 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
570 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
2answers
36 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
23 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
50 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
81 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
42 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
41 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
31 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
50 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
267 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
64 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
53 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
76 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
58 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
45 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 ...
2
votes
2answers
78 views

Using floatrow or \FBWidth to prevent captions from wrapping around

I have two tables side by side like so: \documentclass[11pt,reqno]{amsart} \usepackage[utf8]{inputenc} \usepackage{lipsum} \usepackage{amssymb} \usepackage{color} \usepackage{enumerate} ...
2
votes
1answer
75 views

How do I properly label the figures and tables in beamer in Share Latex? [duplicate]

This is my preamble: \documentclass{beamer} \usetheme{CambridgeUS} \usepackage{graphicx,mathabx} \begin{document} \begin{frame} \titlepage \frametitle{} \end{frame} \begin{frame} \frametitle{Main ...
2
votes
1answer
124 views

Automatically bold first sentence of a caption in longtable

This question is a follow-on from Automatically bold first sentence of a floats caption. I can automatically bold the first sentence of the caption in my normal tabulars, but the code doesn't seem to ...
2
votes
1answer
55 views

Display image on JUST the first table of every page using longtable

I have a bunch of longtables of varying lengths displayed 1 right after the other. Is there a way using longtable to auto run a macro or something on a just the first table of each page (regardless ...
2
votes
2answers
246 views

Several caption problems in longtable and tabulary

I'm trying to typeset some multipage tables with tablenotes and repeating captions on each page. I found this question, which marries the longtable environment with tabulary. This is quite nice, ...
2
votes
1answer
91 views

Caption appears with ugly head at end of longtable

I want to put a lengthy caption at the end of a table, and, as currently formatted, the caption doesn't fit on the page with the last row of the table. The result is a rather ugly header on the last ...
2
votes
2answers
106 views

\labelfont from caption package not working

I am trying to change the font of the label in the caption, but it seems not work. The font is changed in the text of the cation but not in the label This is my preamble: ...
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
1answer
693 views

Tabularx, Caption and Footnotes

I need to have some tables with the following requirements: The need to be of width \textwidth; The caption has to be on top of the table even at automatic page breaks; The tables should not float; ...
2
votes
1answer
63 views

Caption appearance

Everytime I write a caption of a figure or table that occupies more than one line it appears in the document like Figure 6.2: Polarization curves at 750C for 3P_{CO}=P_{H_{2}} at the ...
2
votes
1answer
40 views

How to chang the colon after figure number to another symbol?

I want to change the colon in the caption to another symbol e.g. Figure 1: this is figure to Figure 1 | this is figure How can I do this?
2
votes
1answer
28 views

List of <newfloat> with zero caption in text

new Float type: Illustration How to make a list of illustrations, with captions in the list, but for the illustrations to appear in the text with zero captioning - image only.
2
votes
1answer
156 views

PDF reference links when using hyperref and (`ruled`) algorithm2e

I was testing some links within my produced PDF file and recognized that all of the links to an algorithm (from the algorithm2e package) will jump to the beginning of the algorithm with skipping half ...
2
votes
1answer
253 views

How to set subfig options independently from caption options

My aim is to set the font style for caption labels as small caps and for sub-caption labels as normal. But apparently the option sc of the package caption also trickles down into sub-captions.. ...
2
votes
1answer
558 views

Caption with math gives undefined control sequence [closed]

I'm trying to include a caption for a figure with two subfigures with quite some math. However, I get: Undefined control sequence I've tried to replace the the $ with \begin{math} and \end{math} ...
2
votes
1answer
384 views

Adding caption and counter to source code environment

I have a source code listing with minted environment. How can I make a counter/caption to be shown as follows. I also need to make \tableofsourcecode to enlist all the source code references. The ...
2
votes
1answer
489 views

Title in subfloat without line-break

My code is like this, but the title of subfigure is with line-break, which looks very ugly? How can I solve it? \begin{figure}[!ht] \centering \subfloat[Subgraph]{ \label{fig:subg} ...
2
votes
1answer
311 views

Table Numbering And Caption in Same location

My table and caption are located on the same line and this started happening after I used a different class file for the conference I am applying towards. Here is a picture of what I mean: (Normally ...
2
votes
3answers
257 views

wrapfigure inside a tikzpicture

I am trying to place a figure environment inside a tikzpicture as: \begin{tikzpicture} \node [mybox] (box){% \begin{minipage}{0.45\textwidth} % \LHead{ ...