{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
0answers
25 views

Issue with font replacement in captions when using math mode

I'm getting annoying font replacement warnings of the kind: LaTeX Font Warning: Font shape `OT1/cmr/bx/n' in size <10.5> not available and LaTeX Font Warning: Size substitutions with ...
1
vote
1answer
64 views

Wrong caption with subfigure and tikzpicture

when i run this .tex file as input \documentclass{article} \usepackage{pgfplots} \pgfplotsset{compat=1.12} \usepackage{subcaption} \usepackage{graphics} \usepackage{tikz} \begin{document} ...
0
votes
1answer
42 views

Different font sizes in ONE caption

Update: moewe's comment worked great. removing the package cmbright resolved the problem. when I try using \caption{ bla bla \tiny bla bla} in a normal scrbook document, I keep getting the following ...
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 ...
0
votes
1answer
41 views

Wrong caption (As Fig. A.1.) in figure when they put in last page

I got rule from journal as The manuscript (including title page, abstract, manuscript text, references, and table/figure legends), tables, and figures. Files should be labeled with appropriate and ...
5
votes
2answers
207 views

Add both a vertical side caption and a normal caption to a picture

Is it possible to add a caption to the side of the picture, written vertically in small size (for the credits), while below the picture is the normal caption? [EDIT] Minor issue: why is it that ...
1
vote
1answer
66 views

How to get latexdiff to show markup for captionof text?

Is there a way to make latexdiff highlight changes in a captionof? For example, orig.tex: \documentclass{article} \usepackage{caption} \captionsetup{parindent=\parindent} ...
3
votes
2answers
76 views

How to indent text within captionof?

Does someone know how to indent the text within captionof? I have a long caption that I want to make two paragraphs out of but indent does not seem to work. \documentclass{article} ...
2
votes
1answer
39 views

How can I replace the dot between the numbers in a caption with a dash?

How can I replace the dot with a dash between the numbers -- only in captions not in chapters or sections? i.e., replace 1.1 with 1-1 in this command: \documentclass[11pt,twoside,fleqn]{book}‎ ...
0
votes
0answers
10 views

Type of entry behind entry in list of figures and list of tables overlaps description [duplicate]

I stumbled over an odd thing when setting up the lot/lof for my document. Here comes my minimal working example: \documentclass[paper=a4]{scrbook} \usepackage{graphicx} \begin{document} ...
0
votes
2answers
75 views

How to add note and reduce the margin to figure in latex

I have two figures. But I want to used them as one figure in latex. I want to add note for them. For example (a) bellows first figure and (b) for second figure. I used below code but the margin top ...
3
votes
1answer
302 views

How to change Figure 1: to bold Fig.1. in latex

I am using default setting in LaTeX that show Figure 1: Caption.... Now, I am following the format of Magnetic Resonance Imaging journal that require Fig. 1. Caption I tried to add the below ...
2
votes
1answer
36 views

Problem while using caption for rows of multiple figures in 2 columns and many rows

I have a collection of 10*2 figures which are subfigures of a main figure. I have been able to place them in my Latex document. The result is like as follows: a b c d . . . Figure: 1 (Caption ...
6
votes
1answer
118 views

Changing the font spacing in figure/table captions

I am writing a thesis. Both the body of the text and my figure/table captions are double-spaced. However, I need my captions to be single-spaced. I tried resetting the spacing on the captions using ...
1
vote
0answers
69 views

Long captions causes table to shift incrementally [closed]

I'm having an odd problem where the table shifts incrementally with the caption when the tex file is reprocessed multiple times. Suppose there is a table with a caption that goes over 3-4 lines. In ...
0
votes
0answers
56 views

Table caption in floatrow environment

I am using the floatrow environment to display a figure and a table side by side. Here is my latex code : \documentclass[a4paper,11pt,twoside]{article} \usepackage{floatrow} ...
0
votes
1answer
74 views

In Latex, I want my caption to be lower relative to my figure. How do I do that?

instead of: Figure 1 I want: -------- Figure 1 How do I manipulate this?
3
votes
1answer
29 views

Changing figurename in paper document class?

I am looking to change the figure name and table name for captions in the paper environment. In particular, I'd like to change both Fig. and Tab. to Figure and Table. The question answered here does ...
2
votes
1answer
32 views

How to fix default table number and description separator

I have 2 tables using different packages, but the caption gennerate different: When I use table with tabularx: Table 1 – A simple example When I use longtable: Table 2: A simple example ...
3
votes
2answers
115 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
54 views

I am struggling to get some of my figures labelled as schemes

Underneath some of the images in my document I would like the caption to read scheme1.1 etc. instead of figure1.1, I was wondering if it was possible to do this selectively as I use Chemdraw to draw ...
3
votes
1answer
154 views

tikz legend in caption and colorbrewer

Related to the question tikz legend in caption I want to use the colorbrewer library (just unzip the archive in the working directory). However, it seems that they cannot be used together. ...
4
votes
2answers
52 views

Why Strange Formatting For My Caption

I am trying to include an image with a nice caption below it. I have the following: \documentclass{article} \usepackage{graphicx} \begin{document} \begin{figure}[h] \centering ...
0
votes
1answer
137 views

\vspace not working as expected

I have a code block using minted and mdframed and a caption afterwards. \begin{mdframed} \begin{minted}[tabsize=4]{c++} some code \end{minted} \end{mdframed} \begingroup\captionof{listing}{some ...
2
votes
1answer
81 views

latex files generated by tikzdevice leaves large space between image and caption

Ive been using the tikzdevice package in R to generate latex code of my plots, I've noticed that it always leaves a large white space between the caption and the figure itself, here is an example I ...
2
votes
0answers
53 views

Memoir - force table captions above and figure captions below

In the style that I am creating I need to force table captions to go above the table, and figure captions to go below the figure. My style is based on memoir class. I have found solutions that force ...
2
votes
1answer
151 views

How to centerlast a caption in a beamer

There is a problem when I want to centering the caption in the beamer. And I find that the caption package is useless in the beamer And this my MWE: \documentclass{beamer} ...
2
votes
1answer
53 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
88 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
186 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
129 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
91 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
67 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
57 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
62 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
94 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
55 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
79 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
79 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
105 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
125 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
134 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
63 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
52 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
36 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 ...
2
votes
0answers
65 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
91 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
27 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} ...