{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

0
votes
1answer
439 views

Figures on left pages, text on right ones with class book (cont.)

In addition to the very useful discussion Figures on left pages, text on right ones with class book, numbering only on right pages, I would like to handle 2 other features: the suppression of blank ...
3
votes
2answers
3k views

How to indent the graphics caption

I am writing my thesis in LaTeX with the document class scrreprt. My problem is that I include a graphic whose description starts at the left side of the page, which is usually nice, but in my case I ...
6
votes
3answers
2k views

'longtable' caption without incrementing 'table'?

For reasons both complex and confusing, I would like to caption a longtable without incrementing the table counter in the process. I want to have two consecutive longtable environments to be ...
7
votes
3answers
614 views

How does one create, caption, label and refer to a subfigure?

So its a fairly simple question to a problem people normally experience. I have a rough idea of what to do, but I am looking for the correct way of doing things. So in the solution I will include what ...
21
votes
1answer
19k views

Figure: how to have “Figure 1.5” in bold

First of all, sorry if it's a nooby question. I'm fairly new to latex, and only know the basics right now. But I'm learning every day! So... I'd like to have my figure captions with the word Figure ...
1
vote
1answer
452 views

How to make half-title pages containing captions with conditional headers

I am required to typeset some (long) figure captions in the "half-title page(s)" as they do not fit in one page with the figure, for a similar example see this link (except that on the first page I ...
6
votes
2answers
2k views

Issue with capt-of package

I'm using the capt-of package to create a caption for my figures: \newcommand\figureFrame[4]{% \begin{center} \includegraphics[#1]{#2} \captionof{figure}{#3}\label{#4} ...
6
votes
2answers
870 views

Different float types side-by-side

I'm familiar with using minipages inside a float to effectively place two floats side-by-side, but is there a way to do this with different float types? Eg a Figure and a Scheme (chemscheme)?
45
votes
2answers
4k views

Why does an environment's label have to appear after the caption?

\documentclass{article} \usepackage{algorithm} \begin{document} \setcounter{section}{54} \section{A section with no label} \begin{algorithm} \label{myalg} \caption{An algorithm with the label ...
0
votes
2answers
439 views

Compounds defined implicitly in captions (chemscheme/chemstyle/chemcompounds)

I'm using the chemstyle package to handle automatic numbering of compounds. It apparently uses the chemcompounds package to handle this. In the documentation for the latter, it explains compounds can ...
13
votes
4answers
23k views

How to reference subfigure in caption

I used to have code like this: \caption{In \subref{fig:foo:a} you can see...}. Now I switched to using memoirs subtop/subbottom command instead of \subfigure. How can I refer to that subfigure? As a ...
10
votes
3answers
38k views

Caption on tabular environment

I have got codes like the following (generated by Kile). How can I add a caption. I guess I should have used the table environment. Is there any solution now? ...
2
votes
3answers
368 views

\caption works in one file but not another

Hi I'm trying to display an image with a caption; the parent file (CODE1) calls the chapter file (CODE2) and the .sty file (CODE3). Here is the the "chapter" file... call it CODE1 ...
2
votes
1answer
343 views

Why won't this macro work in a \caption?

I created a macro to easily shift into typewriter mode, ala markdown or fancyvrb's "short verbatim" command. It works everywhere but in \captions. In that case, TeX fails saying I've exceeded ...
5
votes
2answers
5k views

A style prevents me from setting \belowcaptionskip, how do I change that?

I am writing a paper using the llncs style (Springer lecture notes for computer science). Using the default formatting, the distance between and the caption and the caption and the table is very big, ...
4
votes
1answer
1k views

\gls inside caption without protect

Is it possible to use \gls (from the glossaries package) inside a caption without \protecting it every single time? The glossaries package says the \gls command is not fragile... but I get errors ...
4
votes
1answer
298 views

figure/table caption formatting without packages

I am writing a document which needs to have tables and figures. Normally for formatting the caption of figures/tables I use \renewcommand{\@makecaption} But it affects both tables and figures ...
5
votes
1answer
851 views

How to \ref to subcaption numbers (a, b) when using memoirs subcaptions?

How can I get references to subcaption numbers when using memoir? In this example: \documentclass{memoir} \newsubfloat{figure} \begin{document} \chapter{Lorem} \section{ipsum} \begin{figure}[b] ...
5
votes
2answers
391 views

Can I easily reformat a document to place figure legends on a separate page?

I am submitting an article to a journal with the following requirement: Figure legends should be listed one after the other, as part of the text document, separate from the figure files. ...
4
votes
0answers
522 views

Caption will not go above table with chemstyle [closed]

Caption refuses to go above the table, even when it is called before tabular environment. A similar issue is mentioned in threads elsewhere, and it has been mentioned in the chemstyle documentation ...
3
votes
3answers
6k views

Figure and table numbers in caption are terminated by a period and semicolon

I'd like help redefining the Table and Figure captions. Currently both Table and Figure numbers are terminated by a period and colon. For example, \caption{Foo bar} Produces the text, Table 1.: ...
28
votes
6answers
37k views

Caption on the side of a figure

Can anyone tell me how to get my caption on side of my figure, and at the same time aligned with the top of my figure?
17
votes
3answers
16k views

How to limit the figure caption width?

Figure captions seem to wrap at the page width. How could I make them wrap at the figure width instead? Currently, they can easily be mistaken for normal text. \begin{figure}[!htb] \begin{center ...
0
votes
1answer
552 views

Persistent change of caption width in memoir

How do you persistently change caption width in memoir? I know you can use \changecaptionwidth followed by a \captionwidth{...}, but that only works within a float and I don't want to have to specify ...
9
votes
2answers
2k views

Framed text with a float in it

I'd like to frame the text between \startfoo and \stopfoo, but there is a float in it. \documentclass{article} \begin{document} \startfoo \begin{figure}[h] some float with a \caption{...} ...
10
votes
2answers
16k views

How to suppress caption numbering in a table?

How can the auto-numbering on table captions be suppressed? For example, I have a table: \section{Data} \begin{table}[h] \setlength{\arrayrulewidth}{1.5px} \centering \begin{tabular}{lcccc} ...
2
votes
2answers
16k views

Table caption should be left aligned

How to make table caption left-aligned. I tried \usepackage[singlelinecheck=off]{caption} but it did not work out. In other words it gives an error: \DeclareFloatFont ...
3
votes
2answers
4k views

remove colon from table name

I'm using two-column article document class. Long table Name is displayed in the following format: Table 1: table caption goes here. But I want to change in this way: Table 1 table caption ...
4
votes
1answer
327 views

Suggestion of activities calendar in LaTeX

Is there any way to make a kind of activities calendar to put five activities per month in LaTeX, what would you recommend to make it look nice. Something like: Month Activities ...
13
votes
4answers
382 views

How to prevent last period in captions from appearing in the list of figures?

Is there any simple way of removing the last character of an argument to a command (or environment)? I'm looking for a simple way to remove the punctuation mark from a caption when it appears in the ...
3
votes
2answers
254 views

User-specified positioning of caption

For tuning reasons that I cannot detail here, I would like to be able to control the position of the caption of figures. My current code is as follows: \begin{figure}[ht!] \colorbox{red!10}{% ...
0
votes
1answer
2k views

Problems with captions in the environment wrapfigure

I'm dealing with a rather weird issue. Using the enviroment \wrapfigure, I receive an error message undefined control sequence \float@caption ... oxrestore ... \normalize @fs@capt ... let alone ...
10
votes
2answers
3k views

Remove dot-after-number in figure captions while keeping the dot in chapter/section captions

In my document (using KOMAScript and babel[ngerman]) I have various figures which get captions like "Abbildung 1: ...". However, as soon as I add a \appendix to the document all those captions change ...
-1
votes
1answer
584 views

TeX capacity memory exceeded error

\caption[$Set\:3$: Intermediate set]{$Set\:3$: Intermediate set; Classical orifice plate ($s3c$); Plate numbers ($s3f(0-3)$); Classical plate,($s3p$).} Is this a wrong caption? Because it is ...
5
votes
2answers
1k views

longtable: avoiding multiple captions

I have some problems using longtable with a caption. The caption repeats every page therefore multiple entries are created in the list of tables. I only want one caption per table - for the following ...
3
votes
1answer
521 views

Footnote with right parenthesis

I want to put a closing round parenthesis next to a footnote. I use \footnotemark and \footnotetext, since the footnote is part of a caption. \begin{center} ...
12
votes
3answers
17k views

Control spacing around table caption

I want to put several tables in the same table float like this: \documentclass[a4paper, 12pt]{article} \usepackage[T1]{fontenc} \usepackage{subfig} \begin{document} \begin{table} \caption{Internal ...
1
vote
1answer
5k views

Move the position of figure subcaption of subfloat command

As the following code shows, it will label an 'a' and 'b' under each picture. How can I put the label at the left-top corner of each figure? \documentclass{article} \usepackage{graphicx} ...
7
votes
2answers
2k views

How to use a longtable with only one entry in the list of tables

I'm using longtable to spread my table over three pages. Unfortunately the caption is also added three times to the list of tables. Is is possible to have it displayed only once?
2
votes
1answer
3k views

Multiple captions for a single figure

How do I get subfig-like captions for a single figure? I've got images that have multiple panels each, and I'd like to make a caption for all the sub-panels, as well as be able to reference each ...
2
votes
1answer
2k views

Avoiding newline after “Table” in caption while using IEEETran

IEEETran has the following style for table caption: Table <number> <caption> But I would like to have it, without a line-break, as: Table <number>. <caption> This would ...
13
votes
1answer
1k views

“etc.” abbreviation macro gives error when used in caption

I've been using the abbreviation macros for i.e., e.g., and etc. that are provided in this post. However, I just discovered that the etc. macro, and a similar one I made for et al. both cause errors ...
2
votes
2answers
956 views

Where to add a caption and a reference to a tabbing&fbox&minipage

I put some texts enclosed within tabbing, embedded in fbox and minipage: \fbox{% \begin{minipage}[t]{0.48\linewidth}% \begin{tabbing} \quad \= \quad \= \quad \= \quad \= \quad \= \hspace{5cm} \= ...
5
votes
1answer
464 views

subcaption: how to redefine default separator between figure and subfigure number in \ref's?

I am migrating from subfig to subcaption package and wondering how to make the following thing. The subcaption labels in floats should look like a single italic letter in brackets (a), and ...
2
votes
1answer
520 views

Caption of longtable tables when using memoir

It seems the longtable package provides its own captions totally separate from the ones provided by memoir. There is a question on this site hinting at using the caption package for styling the ...
3
votes
2answers
398 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
756 views

Caption in subfloat shifted to the right

I'm seeing strange behavior when using subfloat. I have 6 figures that I want to display as 2 by 3 (2 lines, 3 columns). The caption (a, b, c etc.) is shifted to the right which means figure b) is ...
7
votes
2answers
6k views

Use caption and long description for figure

I want to have to following text at my figures: << FIGURE >> Figure 1: Title of my figure which is displayed in the list of figures Here in a new line a long description about the figure, ...
6
votes
1answer
4k views

Space after float with [h]

this is my first time here, and I have this question: I'm writing my thesis, that includes many tables and figures in a float environment, with the caption at the end of it. I defined the space ...
0
votes
1answer
1k views

Caption does not work with wrapfig

The following code does not output the caption correctly, font appears in normal size, and "Figure" is not boldfaced. \begin{wrapfigure}{r}{0.5\textwidth} \vspace{-50pt} \begin{center} ...