{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

3
votes
1answer
303 views

Adjust caption length to table length in hvFloat environment

I am trying to create a sideways-table with multi-columns. As I want title and table on the same page, I am using the hvfloat package. I'd like to get a caption that is as wide as my table, but it ...
3
votes
1answer
481 views

In Lyx, align text inside a float caption

I'm trying to align a legend inside a table caption, so that the colons are vertically aligned. I can do it with the align ambient outside of the caption, but if I use the same code inside the caption ...
3
votes
1answer
4k views

Subcaption Package Error

I'm having an issue compiling with the subcaption package. I'm starting to write my thesis, and I originally started a chapter with a separate document. This compiled fine and had the following ...
3
votes
1answer
549 views

Problems customizing listings captions

I'm trying to "decorate" source code with listings, but I'm getting some warnings and bad boxes when I compile my document. However the document compiles and looks like I want. I noticed the warning ...
3
votes
1answer
1k views

Memoir, babel[french] and @makecaption

I'm having a problem with the memoir, the babel, and caption packages: when compiling a document, the log returns the warning: Package frenchb.ldf Warning: The definition of \@makecaption has been ...
3
votes
1answer
1k views

Caption spacing - table vs longtable

if I use both table and longtable in one document, the spacing between the caption and the table (the empty space after the caption) is different for table and longtable. I would prefer minimal (and ...
3
votes
1answer
285 views

Missing caption prefix in figures and tables when using XeLaTeX

I've recently switched from PDFLaTeX to XeLaTeX, and noticed that captions on my figures and tables don't have the usual "Рис." and "Таблица" prefix any more (Fig. and Table in Russian), only a number ...
3
votes
1answer
129 views

Caption package error redux

I'm using the caption package, but it's not affecting the captions within my tables and figures. I've pasted my sample code below. How can it be fixed? \documentclass{article} ...
3
votes
1answer
2k views

Break figure description over two pages

I use figures with a caption and a description below. Sometimes the figures are large and also the descriptions. If I keep the images to a not very low scale (to make them understable) the ...
3
votes
1answer
680 views

How to suppress caption numbering in a figwindow

\documentclass[a4paper]{article} \usepackage{picinpar} \usepackage{graphicx} \begin{document} \begin{figwindow}[1,l,{\mbox{% \includegraphics[width=80pt]{g/tiger.png}}},{\label{fig:leadfield}\TeX{} ...
3
votes
1answer
1k 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 ...
3
votes
2answers
443 views

Adding a frame and background color to floats in ConTeXt

I am trying to decorate the floats in my thesis as follows: each float shall have a top/bottom frame in a custom color, the caption and content of each float are supposed to have the same background ...
3
votes
1answer
2k views

Subfig, KOMA script, caption - how to suppress some list of figures entries?

I am using KOMA script and the subfig package like this \documentclass[11pt,a4paper,BCOR10mm,DIV11,toc=listof]{scrbook} \usepackage[caption=false, font=footnotesize, ...
3
votes
1answer
32 views

subfigure caption format differs for \captionof

When I place a subfigure caption using \captionof, the format differs from the one appearing when placed via \caption inside a subfigure environment. I suppose this is a bug in the \captionof ...
3
votes
1answer
21 views

Align caption baseline in second column with baseline of first column

I have a two column document that contains full page boxes. These boxes sometimes contain table or figure captions, which generally look best at the top of the second column of the box. However, the ...
3
votes
1answer
20 views

How to have captions above each “pseudo-subfigure”?

The following subfigures are not real subfigures, but I will call them pseudo-subfigures, since I would like to have captions above them like one can easily do with real subfigures. However, I would ...
3
votes
1answer
91 views

Vertically aligning captions in side-by-side figures

I'd like to put two side-by-side figures with two different captions. I used this: \begin{figure}[h!tbp] \centering \begin{minipage}[b]{0.6\textwidth} ...
3
votes
1answer
36 views

Figure captions: one above and one below, both numbered the same

I have a figure with two captions, one above the figure (headline) and one below (explanation). That is fine, but now I want the below caption to repeat the figure number from the headline. This is ...
3
votes
2answers
131 views

Align Caption to the left

I am trying to align caption to the left but its coming centered. Please see the figure. The code is \begin{figure}[!t] \includegraphics[scale=0.22]{Figure 1.pdf} \caption{The caption is coming to ...
3
votes
1answer
107 views

Figure: Sidecaption while text floats next to figure

I am restricted to a two-column and have a figure that I want to include in \textheight height with the caption on the other column. The figure spans exactly one column, but I don't know how to let ...
3
votes
1answer
52 views

multiple handcrafted labels for figure

The following MWE shows my attempt to create a list of references in a document, with links from text to reference and back. It works well in text, but badly in figures when I try make the reference ...
3
votes
1answer
234 views

How to use underscore in a variable

I have a variable x which takes different names including underscore, for instance 1_10. Later, I want to use that variable as the title of a picture: \caption{\x} However I can't do that because ...
3
votes
1answer
64 views

One bookmark per longtable

I asked a question about how to generate bookmarks for tables and figures a few month ago and received an excellent answer (solved question). The proposed code works like a charm for normal tables. ...
3
votes
1answer
44 views

How do I align text after the table with column where the table is started?

After the caption of the a table, I have few lines of text which I like to be aligned from where the table is started. The table is centered aligned, how can I find the column from which the table is ...
3
votes
1answer
246 views

Change figure caption name in “thesis” document

Does anyone have an idea why this approach to changing figure naming doesn't work in thesis type document? I'm using babel and all other captions translate normally, except "Figure", which stays at ...
3
votes
1answer
96 views

How to reference figures by the order their reference appears in the text rather than the order the figure appears in the text

I have a two page document with three figures, A and B is small and C is big. Therefore in this document I have my text all on one page and then on the second page my three figures. To make best use ...
3
votes
1answer
568 views

White space between caption and sidewaystable

I am using a sidewaystable from the rotating package. I am trying to add some white space between the caption and the table (caption is placed above table). I tried using ...
3
votes
2answers
2k views

IEEEtran: centering (double-column) figure captions

I'm looking for a method to center the figure captions in single- and double-column mode. Here is my code \documentclass[journal]{IEEEtran} \usepackage[caption=false]{subfig} ...
3
votes
1answer
118 views

Two figures side by side with two captions and alphanumeric counting [duplicate]

How can I have two figure side by side with two captions and in the floating format, like fig. 10A. some caption fig. 10B. some caption
3
votes
1answer
1k views

List of Figures Citation Issue

I know this has been asked before. However, none of the solutions helped me. I have tried \notoccite and that did not work. My issue is that each figure with a citation in the list of figures counts ...
3
votes
1answer
88 views

hyperref : how to color the whole “Figure 4” and not just the “4”?

I have a simple question: how can I make hyperref link (and color) the whole "Figure X" or "Table X" instead of just the "X"? I use it as : \usepackage{hyperref} \hypersetup{colorlinks=true, ...
3
votes
1answer
93 views

Adjust space below figure in a custom document style

In my two column LaTeX document, which uses a custom document class, I want to decrease the spacing that occurs between a figure's caption and the following text. An example of what happens can be ...
3
votes
1answer
847 views

captionsetup inside floatbox messing up image

I'm trying to include images with custom caption label format defined using \DeclareCaptionLabelFormat from caption package. If I put \captionsetup inside \floatbox environment the caption and image ...
3
votes
1answer
450 views

Single Spacing Long Chapter Header in Table of Contents, Long Figure Captions in List of Figures

I am finishing up my dissertation and have a small issue. The dissertation format asks for single spacing the chapter heading in table of contents if it is too long and can't fit in one line. The same ...
3
votes
1answer
247 views

using TikZ with multipage table

I am using tikz files to insert figures . I would like to add 3 figures one after the other with the same figure caption: I use this code: the problem is that the last figure is at the bottom of the ...
3
votes
1answer
2k views

How to control line spacing and subscript location in captions?

I just started using mhchem and am having problems with captions. Subscripts from mchem overlap with superscripts. I can think of two possible solutions (and trivially not using mchem in captions): ...
3
votes
1answer
396 views

subfloatrow and tabularx, wrong numbering of figure

I wanted to "group" a figure and a table to get one figure. It has been proposed to use floatrow for this, with the possibility to remove the subcaptions later on (subfloatrow of package floatrow does ...
3
votes
1answer
144 views

How shoud I manage captions and sub captions with float and non float items?

I am currently writing my PhD thesis and I am using this code to put some figures or tables on the left page. So, I have two kinds of figures, some are in a float, some are not. In both cases, I often ...
3
votes
1answer
1k views

Beamer footcite citation appears twice if used in long caption

I noticed strange behaviour of the \footcite command when used in captions within beamer. In the working example provided the first frame has a \footcite on an itemize item, this works as expected. ...
3
votes
0answers
39 views

Override hyphenation settings in caption

As tomorrow is April 1, I'd like to send a somewhat special interim version of my thesis to my supervisor. In the TeXbook, there is a chapter that is set up to make TeX fall in love with hyphenation. ...
3
votes
1answer
63 views

How to place footnotes in the caption of a table?

Problem: Question title says it all, although it can be misunderstood, what I am trying to achieve is through a command (hoping for footnote) to be able to place a footnote mark anywhere in the table ...
3
votes
0answers
72 views

Limit the title in \listoffigures to the first sentence of the caption

I would like to do the same thing as described here : Automatic way to use the first sentence of the figure caption as the short caption. Which mean that I need to limit the title of the figures in ...
3
votes
2answers
159 views

Space before colon in beamer captions

As you can see below, LaTeX is formatting my captions like this: Figure : caption, while I would like them to be Figure: caption, without a space before colon. Here's a MWE: \documentclass{beamer} ...
3
votes
0answers
110 views

Caption for multipage figure [closed]

I am a novice and have started using latex for writing my dissertation. Some of my figures are long and might extend over to multiple pages. I need only a single caption and figure number(i.e. no ...
3
votes
2answers
95 views

having custom caption in listing

I would like to have my custom name for my listing, how can I do that. here is my code: \documentclass[12pt,a4paper]{scrreprt} \usepackage{listings} \lstloadlanguages{R} \lstset{% general command ...
3
votes
1answer
96 views

How do I make hyperref show the entire figure when I'm using both caption and floatrow?

I use the caption package in my document to control the appearance of captions on figures and tables (small text, with bold labels): \usepackage[font=small, labelfont=bf]{caption} I use hyperref to ...
3
votes
0answers
48 views

Duplicate captions problem with figure [duplicate]

I am a beginner in LaTeX. I used the LaTeX example to insert a figure in my thesis. Here is the code: \begin{figure}[ht] \centering \includegraphics[width=\textwidth]{figs/#####.jpg} \vspace{0in} ...
3
votes
0answers
50 views

Figure numbering without caption [duplicate]

I would like to add a simple caption "Figure [number]" before an image in my document. If I just use \begin{figure}[h!] \centering \includegraphics[scale=0.5]{galor3.png} \end{figure} there is no ...
3
votes
0answers
1k views

LaTeX incorrect figure numbering [closed]

I have several figures and subfigures in a LaTeX file, but only the first few are numbered correctly. Here is the part of the code that is giving me problems: \documentclass[11pt]{article} ...
3
votes
0answers
178 views

How to vertically align the captions for sub figures in subfigure? [duplicate]

This is my tikz code: \documentclass{article} \usepackage{tikz} \usetikzlibrary{shapes,shapes.geometric,arrows,fit,calc,positioning,automata,} \usepackage{amsmath} \usepackage{caption} ...