{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
61 views

Font of siunitx in captions not transfered by options of the caption package

The package option defines the caption text as italic, but this is not reproduced by measures inserted using the \SI functions are not. What can I do ? The MWE: \documentclass[10pt,a4paper]{report} ...
3
votes
2answers
105 views

Is there a way to put subcaption labels on the side?

I need to save space in a document, and I would like to reduce the space on the figures. I'm using the subcaption package for subfigure. Is it possible to do something like shown in the figure with ...
1
vote
0answers
212 views

figure number/caption separator: colon instead of dash

How can I have in a figure caption Figure 1: caption instead of Figure 1 - caption ? I tried this \usepackage[labelsep=endash]{caption} but didnt work. another simple question why we should use ...
6
votes
3answers
131 views

Selective and bunched entries to list of figures

I have a complex document with a few thousand figures (most of which are slight variants, but a few are key). I would like to produce a list of figures (lof) which only includes individual figures ...
1
vote
1answer
107 views

How can I specify a short caption for a listing?

One of my listings has a very long name. In the \lstlistoflistings table of contents, I would just like to have a shortened version of it. How can I specify an abbreviated name for my listing? ...
4
votes
1answer
75 views

How to add caption correctly in listing?

I have two blocks lstlisting and another listing as follows: \documentclass{article} \usepackage[T1]{fontenc} \usepackage{inconsolata} \usepackage{color} \definecolor{pblue}{rgb}{0.13,0.13,1} ...
1
vote
1answer
61 views

Add one or more arguments to \caption

I would like to add an argument to \caption, so that I can add a title to the table, figure or note. Why do I get an error if I modify the definition like I show you below? ...
3
votes
1answer
67 views

Renaming figure caption in proper way

I would like a following caption for my figures: Figure S1 Figure S2 etc. Now, I used \captionsetup[figure]{name=Figure S} but the issue is that after S, there is a whitespace, instead of a ...
3
votes
2answers
96 views

Change caption placement after line break

\documentclass[a4paper,11pt,oneside,openany,fleqn]{scrbook} \usepackage[ngerman,english]{babel} % language listed last is default setting \usepackage[labelfont=bf]{caption} ...
2
votes
2answers
56 views

Is it possible to reference a caption outside of the figure?

For my thesis research I want to be able to reference a caption I've made elsewhere in the text so that I can have a page of all my captions separate from the figures themselves. My figure layout is ...
3
votes
2answers
85 views

Pull settings from package options as variables

Sorry if it is a simple matter, but I am quite new to advanced LaTeX (before I only used preset styles and did simple things), and I couldn't find an answer after ~30 min of searching. I want to use ...
4
votes
1answer
84 views

Why SetKwData defined macro for algorithm2e doesn't work in caption?

I defined a macro with \SetKwData command from algorithm2e but it doesn't seem to be working in the caption. My code: \documentclass[10pt,a4paper,twoside]{report} ...
1
vote
1answer
131 views

Multipage listings with minted and captions

I have source long listings (2+ pages) that I highlight using minited via \inputminted. I wish to have have a caption and a reference label for the listing in \listoflistings and in my text when I ...
0
votes
0answers
17 views

How to resize figure caption to match figure size and wrap text around figure [duplicate]

I have the following structure for a figure and its caption: \begin{figure}[htb] \centering \includegraphics[width=0.6\textwidth]{lipsum.pdf} \caption{Lorem Ipsum is simply dummy text of the printing ...
1
vote
1answer
135 views

Displaying one figure above another figure causes caption/subcaption package error

I am trying to place two figures on a page, one above the other: \begin{figure} \centering \begin{subfigure}[b] \includegraphics[scale=1.00]{AB.png} \caption{A and B} ...
1
vote
1answer
140 views

Bold and colored figure caption label in beamer?

I'm working on a beamer poster and would like my figure labels to be both bold font and colored. I'm using the command \captionsetup[figure]{labelformat=simple, labelsep=period, labelfont=bf} to ...
4
votes
1answer
64 views

Citations not found in short captions

I'm experimenting problems with citations in short captions. If I run the following MWE, three citations are found as expected, but if I add some text (any text) in the document by enabling the ...
2
votes
1answer
64 views

Hypcap giving a “missing \caption” error when used with FPFigure / fltpage

I'm currently using a package for placing the caption on a separate page, CaptionAfterwards, and the hypcap package gives me the following error: "Package hypcap Error: You have forgotten to use ...
0
votes
0answers
37 views

Separating figure caption scrreprt document class

I'm having problem in separating figure caption in scrreprt document class. I have tried using \usepackage[CaptionAfterwards]{fltpage} and an error message saying that fltpage.sty is not found showed ...
3
votes
0answers
73 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 ...
1
vote
1answer
96 views

Hebrew font characters not rendering in \caption command

I am using the polyglossia package from a TeXLive 2015 installation on a FreeBSD platform. Here is the relevant code from my preamble: % !TEX TS-program = xelatex % !TEX encoding = UTF-8 ...
1
vote
1answer
32 views

Fitting figure and centering text in a table as well as adding caption and label

I'm trying to a make a table with figures in it. But, the figures won't fit in the cells (See example at the end). I'm also trying to make the text in the cells next to the pictures come in the middle ...
1
vote
1answer
28 views

I would obtain a size of caption of the first table like in the second table

\documentclass[a4paper,11pt,twoside,openright]{book} \usepackage[margin=1in]{geometry} \usepackage[utf8x]{inputenc} \usepackage[italian]{babel} \usepackage[T1]{fontenc} \usepackage{fancyhdr} ...
2
votes
1answer
126 views

Rotating a Table and the caption

I used sidewaystable, as the table is very big. Latex is always turning the table in some way and I want it to be turn for 180 degree ( makes it easier to read, as it continues on the next page). I ...
4
votes
3answers
149 views

huge spacing between caption and longtabu

I have the problem that my caption is very far away from my table and I can't find a reason and solution for that. Can anyone help me to solve it? I already tried \usepackage{caption} ...
3
votes
2answers
73 views

Misaligned caption and table when positioned side-by-side

I wanted to put the caption of a table to its left, so I tried taking the approach suggested in this answer. As pointed out in the only comment to there, I had a misalignment issue as well. The ...
2
votes
1answer
65 views

Cannot get TiKz images side-by-side instead of up and down

Here is what I have so far after reading a post on here saying subfigure is used to place images horizontally: \documentclass{amsart} \usepackage{amssymb} \usepackage{enumerate} \usepackage{array} ...
5
votes
1answer
114 views

Using side captions with multiple subfloats (floatrow and memoir)

In a large document (memoir class), I'd like to have side captions in the outer margin to save space for figures consisting of multiple subfigures belonging together. After trying sidecap with subfig ...
1
vote
2answers
239 views

Figure and caption are not aligned

I have a particular problem aligning the caption and the figure. I attach for you the image of what latex is producing, plus the image file if somone needs to replicate the code. As you see the image ...
4
votes
1answer
113 views

Marginless full page figure with caption overlay (magazine-like)

On some pages of my latex document I want to have a full-size image, margin-less, covering the whole page, as you can see it often in magazines. Additionally, I want this image to be referable, i.e. ...
4
votes
1answer
450 views

Is it more standard to use subfig or subcaption package with beamer?

Suppose I'm making a beamer presentation and I want to have a figure with some subfigures (each of which shows an image). Is it more standard/popular to use the subfig package or the caption and ...
0
votes
1answer
64 views

Alternative for caption in AAAI template [closed]

I have a source that I need converted to the AAAI publication template, but the template itself clearly disallows the use of the caption environment. What would be the most straightforward and ...
4
votes
1answer
101 views

cross referencing papers in a table

I have trouble referencing papers in a table. I want to reference papers in a table, where the caption's font is defined using the "caption" package. However, I get ?? in the references in the ...
4
votes
1answer
88 views

Separation and width of caption with captionbeside

I'm trying to control the typesetting of a caption beside a figure when using the captionbeside environment of the KOMA Script packages. The \setcapwidth command doesn't work when using captionbeside. ...
2
votes
1answer
134 views

PGF labels in groupplot vs. the list of figures

For my bachelor thesis I'm relying on pgf for my plots. In the groupplot environment I create a node to label each subfigure, something like: \node at (x,y) { \textbf{a)} ...
2
votes
1answer
51 views

Problem with tables and side captions

I'm working on putting captions beside a table. When I used SCtable to do so, it messed up the top text on my page and made it appear below the table. Is there any other way I can do this? Also, how ...
2
votes
2answers
193 views

Two Side by side figures having problem with captions (a) and (b)

I am making presentation in latex, I have two side by side figures with same size. I want to give caption (a) and (b) to the figures left and right respectively, and a main caption (some text) for ...
3
votes
2answers
145 views

Add double hline in table below caption

I would like to insert a double \hline below the caption in my table. The caption is positioned at the top of my table. MWE is below. The %\hline \hline line is where I would like the double \hline ...
4
votes
1answer
476 views

Changing figure captions into italic

Is it possible to change text in figure captions to italic. So this is what I want to get: I tried with this code: \usepackage[format=plain,labelfont=bf,up,textfont=it,up]{caption} but word ...
4
votes
1answer
71 views

Enumerate Minipages inside a figure environment

At the moment I'm working with the figure environment to display two graphs side by side using minipage which works fine. I want to use one caption for both and enumerate the minipages with a small ...
2
votes
1answer
30 views

How to prevent a main caption being wrapped in a figure?

I am writing a paper using LaTeX, and using a subfig package to arrange images. My problem is that the main caption is wrapped when I use 2 x 3 images with subfloat which occupies 2 columns. I have ...
1
vote
1answer
89 views

Width of table captions when using threeparttable in memoir

In the MWE below, I would like the table caption to be left aligned, and have a maximum width as the width of the table. ...
1
vote
1answer
47 views

Captioning my tikzpicture using figure environment causes issues

If I remove the figure environment this code works perfectly fine. Unfortunately, I am not able to put a caption on this figure. \begin{center} \begin{figure} \begin{tikzpicture} ...
1
vote
1answer
74 views

How to make caption above in algorithm

How can I make the caption "Algorithm 1" be placed above the first line and the text still inside the two first lines? And how can the line styles be changed in the algorithm environment? ...
2
votes
1answer
45 views

Newline in caption in amsart

This answer (http://tex.stackexchange.com/a/48313/38588) explains how to eliminate the error from a newline inside a caption for a figure. However, this does not work when using the amsart document ...
2
votes
1answer
70 views

I am losing my indentations after the figure's caption

I am writing my M.Sc. thesis (biochemistry). According to the Graduate Office, full-page figures require that their description be on a different page. Here is my main.tex file (sample) with the ...
2
votes
1answer
68 views

A series of diagrams in the list of figures

I have a number of diagrams (right now 8) that depict different stages of an algorithm, each in its own figure environment together with a caption and a label I am referencing in text (the description ...
1
vote
1answer
70 views

Caption in left margin at the top of tabular

Could you help me I want to remove caption to put it at the left margin for any environment like this I know it is not a good way any advice ? Thank you. This is my MWE: ...
1
vote
1answer
187 views

Caption of figure in list of figures in Lyx

my question is often asked and as often answered for regular Latex, but I would like to know, if there is a simple way in Lyx to make a custom entry for a caption in the list of figures, just like ...
2
votes
1answer
107 views

I want my rotated figure captions to be facing outwards

Edit 2: Curiously, as well as my captions defaulting to the inside, my headers are on the opposite side than I ask them to be using \fancyhead[LE,RO]{\leftmark} Something is making my document get ...