{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
32 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
33 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
21 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
26 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
35 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
146 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
59 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
39 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
28 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
65 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
47 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
35 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
59 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
67 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
102 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
54 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
225 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
84 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
84 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
1k 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
549 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
61 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
149 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
242 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
513 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
364 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
467 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
292 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
244 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{ ...
2
votes
1answer
69 views

Why does leftidx not work in a figure caption?

I use the leftidx package to get left subscripts typeset acceptably, however, when I tried to use the \leftidx command within a figure caption (\caption) command I get errors compiling. Here is a MWE: ...
2
votes
2answers
162 views

Align Captions of 2 figures

I managed to get my two Tikz figures side by side. The vertical alignment of the Tikz figures is fine and needs to stay that way. However, I am bothered by the captions and I'd like both of them to be ...
2
votes
1answer
115 views

Algorithm2e error reserved keyword

With the following code: \documentclass{article} \usepackage[utf8]{inputenc} % set input encoding (not needed with XeLaTeX) \usepackage[plain,noend,noline,boxed]{algorithm2e} \begin{document} ...
2
votes
1answer
106 views

Inserting citation inside ERT code in LyX

How do I cite a reference inside ERT code in LyX? Inside the ERT code I am unable to select Insert-->Citation as I usually do. The reason I need to do this is further to an answer to a previous ...
2
votes
1answer
323 views

Table and its captions on different pages

I have a really long table that fits the whole page (in fact it's a really wide table that I have rotated by 90 degrees): \begin{table}[!pht] \caption{ ... some quite long description } ...
2
votes
1answer
262 views

Adding tikz figure in caption

I am writing one long document using lyx. I wanted to add small tikz code within a caption of a figure of my document. However when I tried to run it it is giving following error. Please help me ...
2
votes
1answer
2k views

How to put algorithm and figure side by side in two column document?

I want to put two figures and an algorithm side by side in a two-column document, and the figures and the algorithm should span two columns. I have surveyed previously asked questions such as How to ...
2
votes
1answer
496 views

Figure caption runs off page

How can I get latex to place my figure sufficiently at the top of my page to allow for my caption to nicely fit at the bottom? \documentclass{amsart} \usepackage{graphicx} \begin{document} ...
2
votes
1answer
1k views

Restyling the caption in an algorithm created with algorithm2e

In the caption of an algorithm created with algorithm2e, \documentclass{article} \usepackage[ruled]{algorithm2e} \begin{document} \begin{algorithm}[H] \caption{Caption.} pseudocode ...
2
votes
1answer
460 views

Moving the table caption

I want to move a wrapped table and caption, I'm trying to use vspace but it doesn't move the caption. Any ideas? \documentclass[12pt]{article} \usepackage{wrapfig} \usepackage{floatrow} ...
2
votes
1answer
94 views

changing caption for wrapfigure

I am using wrapfigure to include both a table and a picture. However, because it's in wrapfigure, the table caption comes out labeled as "Figure X" rather than table x. Is there any way I can get ...
2
votes
1answer
878 views

How can I left align the text in the figure/table caption?

How can I left align the text in the figure/table caption? This is the text I am using to add an image \begin{figure}[htbp] \centering ...
2
votes
1answer
2k views

Setting position of figure, captions using sidecap

I have a poster with 2 sidecaped graphics: one in the lower-left corner (LLC) and another in the lower-right (LRC). Problems include both have their captions on the left. I'd prefer the LLC graphic ...
2
votes
1answer
1k views

Writing Pseudocode in LaTeX

I cannot seem to get any of the LaTeX pseudocode packages to work correctly on my computer. For example, if I run this block of code: \documentclass{article} \usepackage{algorithm}% ...
2
votes
1answer
2k views

Subfigure float - caption above, and how to break figure over two pages

Firstly, thanks a lot in advance for your help with this problem. I've looked long and hard but not found a solution anywhere. I am writing my PhD thesis in Lyx and love how it makes the formatting ...
2
votes
1answer
4k views

Adjust the caption to figures on minipage

Using minipage, is posible to split the (a) (b) letters above any figures, in order to perfectly center them? \begin{figure}[tpb] \subfloat[]{ ...
2
votes
1answer
104 views

Unset caption preface for figure [duplicate]

Possible Duplicate: Change caption name of figures I have a caption and it reads Figure 1: etc.... I would like to replace "Figure" with "Image". I think the answer is similar to my ...
2
votes
1answer
260 views

Rotating caption with image using a custom float

How do you rotate a caption with the image in a custom float? I've tried the savebox and rotcaption methods outlined in this topic. My image rotates 90 degrees but my caption stays untouched and ...
2
votes
1answer
179 views

How to hide table# & Break cell text into two rows

I asked for a new table environment here. How to create new table environment. I took the solution provided by Yiannis I works great I have two questions - I do not know how to break the cell ...