{subcaption} is a package for typesetting captions of {subfloats}.

learn more… | top users | synonyms

3
votes
1answer
22 views

Re-setting the numbering in minipages sub-figures

For my presentation I am using minipage format in a frame to display two figures side by side (in beamer) with short subcaptions for each figures. Each figure is numbered as (a) Carbon (b) Aluminium ...
1
vote
1answer
10 views

Combine a grid of images into a single figure WITHOUT subfigures and labels, captions, etc

MWE: \begin{figure*} \subfloat[\label{fig:test1}] {\includegraphics[width=.45\linewidth]{one}}\hfill \subfloat[unwanted caption\label{fig:test2}] ...
2
votes
0answers
13 views

Replace subfigure indices with new ones

I have the following code: \documentclass[12pt,a4paper,twoside]{book} \usepackage{graphicx} \usepackage{subfigure} \begin{document} \begin{figure} \centering \subfigure { ...
2
votes
1answer
20 views

Automatically set Figure captions to Bold Italics

I wanted to be able to set the figure captions descriptions to bold Italics. I am using the command \usepackage[font={color=blue,bf},figurename=Fig.]{caption} in the preamble to set the figure name ...
3
votes
1answer
31 views

Align two subfigures vertically

I'm writing a LaTeX document where I want two or three QR codes vertically aligned with caption on each. Unfortunately the first QR code is always one line lower than the other QR codes and I can't ...
5
votes
2answers
56 views

strange caption numbers in cross-references and list-of-figures

I am trying to fit a large figure containing four subfigures into my document. The whole thing is close to a page break, so I decided to split the figure via \ContinuedFloat. So just in case the ...
0
votes
1answer
20 views

Undefined control sequence caption

When I compile document that has such code: \usepackage{caption} \usepackage{subcaption} \DeclareCaptionLabelSeparator{emdash}{~--- } ...
4
votes
2answers
4k views

Subfigure arrangment with no caption with IEEE format

I have a little problem. I am trying to arrange to subfigures side by side (i.e. a graph and its legend) using the IEEE article format and I cannot remove the subcaption. I was using package ...
3
votes
1answer
18 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 ...
2
votes
2answers
47 views

How to reduce caption font in \subcaption for a particular figure

How to reduce a font size of a particular figure in \subfigure environment in beamer. I know how to reduce the caption font globally \usepackage[font=small]{subcaption}, but I am looking for a font ...
2
votes
1answer
14 views

Reference to subfigure is either not showing or showing wrong

I am using the subfigure environment, but when I refer to it, the counter is either not showing or showing incorrectly. Here is the code. \documentclass[11pt]{article} \usepackage{amsmath} ...
0
votes
1answer
53 views

Sub caption of table produces large white gap

For tables I need a caption above, and sub captions beneath the table, to define all abbreviations used in the tables. The solution I'm using so far results in a large white space after the table/ ...
2
votes
1answer
30 views

Aligning captions of subfloat

I have a caption alignment problem for the captions of the subfloat. An example case: \documentclass{article} \usepackage{subfig} \usepackage{graphicx} \begin{document} \begin{figure}[htb] ...
3
votes
2answers
2k views

subfigures using subfloatrow, overpic, tikz to add rows to annotate imported images/figures

I did my diligent search for a combination of subfloatrow, overpic, and adding arrows for annotation of imported images using tikz, but couldn't find one. These kind of images are typically found in ...
2
votes
2answers
67 views

Reduce space between subfigure and captions

I know this question has been answered but none of those answers worked for me. I need to decrease the space between subcaption and subfigures. [![\documentclass{article} \usepackage{graphicx} ...
4
votes
3answers
54 views

Multiple figures in tabular format

I know this issue has been discussed in a lot of other topics, but I couldn't make them work, and my issue is kind of special because it requires text and multiple images in each column, and I want to ...
1
vote
0answers
22 views

Place pictures and ref it without using subcaption

I am writing a paper using Springer LNCS format, which is incompatible with the package subcaption. It provides subfig package instead. I wish to achieve the following format (3-by-2, refer each one, ...
0
votes
0answers
29 views

Subfigure: caption and subcaptions overlappin

Caption and sub-captions overlapps as seen on the picture at bottom. Thank you in advance for your help. This is a working example of the case: \documentclass{report} \usepackage{graphicx} ...
2
votes
1answer
18 views

Error while including subcaption package [duplicate]

I am new user to latex and trying to write my thesis in latex. I have received a template in latex that uses following packages. When I try to include \usepackage{subcaption} to include subfigures in ...
4
votes
2answers
38 views

Common caption under subplots

How can i make a common caption in the middle under both plots, which i can reference via a label and how can i remove (a) and (b), so that the subplot captions fit on one line? ...
1
vote
0answers
23 views

Vertical subfigures - what is the proper way? [closed]

I'm using caption, subcaption packages and generally going with this wikibook. However it is not clear to me how to simply place subfigures with captions one over another. I've tried this ...
1
vote
0answers
57 views

TikZ (tikzexternalize) + subcaptionbox error

Update The error comes up only if I change the pictures themselves or insert/delete a picture that occurs before them in the document. As a dirty workaround, I defined a command ...
3
votes
1answer
189 views

How to avoid underfull \hbox when using subfigures?

When compiling the MWE below with pdflatex, I get the warnings Underfull \hbox (badness 10000) in paragraph at lines 26--27 and Underfull \hbox (badness 10000) in paragraph at lines 36--37. I tried ...
0
votes
0answers
11 views

Subcaption problem while using the Oxford CABIOS Template in Sharelatex.

I'm having trouble with the CABIOS Template of Oxford University Press that is included in sharelatex Some of the figures and tables aren't showing. This reduced example shows that it's a problem ...
2
votes
1answer
31 views

Is the subcaption package incompatible with aaai.sty?

A number of packages including caption are included in the AAAI formatting requirements as incompatible, and the list is said to be not exhaustive. Is the subcaption package permitted? I am ...
2
votes
1answer
56 views

Subfigure package caption positioning

I would like to use subfigure package, since it allows to define the subfigure environment size in terms of columnwidth, etc. However, I need to follow some formatting as: Figure title on top and ...
4
votes
1answer
52 views

Adjusting vertical spacing in subfloatrow captions (subcaption+floatrow)

I am trying to adjust sub-captions for sub-figures in a figure which includes multiple \subfloatrows and an additional \ffigbox outside the rows. How can I modify the vertical spacing between ...
2
votes
1answer
64 views

Texstudio \begin{subfigure} unreognized command

I'm really new to latex so please excuse my cluelessness. I'm using the subcaption package to make subfigures in my doccument like so: \usepackage{caption} \usepackage{subcaption} \begin{document} ...
5
votes
2answers
6k views

Subfloat with subcaption package: Missing number, treated as zero

I want to make a figure consisting of two subfigures. Having read the Wikipedia subentry on subfloats, I tried to follow it exactly, so I did not use the subfig or subfigure package, only the caption ...
2
votes
1answer
26 views

Alignment and placing of subtables

I have a table float with four subtables and having trouble with alignment and placing. Here's the code: \begin{table} \begin{subtable}{0.45\textwidth} \centering \begin{tabular}[t]{cccc} \toprule ...
1
vote
0answers
9 views

Unwanted space with label in subfigure (subcaption) environment [duplicate]

I am tiling images in latex using subcaption's subfigure environment. And because I'm taking things very precisely, I tried to calculate exact spacings, so everything aligns nicely, as in the ...
1
vote
0answers
29 views

svg package and subcaption incompability

Is there a way to use the svg package when the subcaption package is included as well? The svg package uses the subfig package, which apparently leads to conflict. But it seems to be common sense that ...
2
votes
1answer
405 views

Global caption issue with table when using subcaption package

Firstly I apologize if this had been answered before. I have tried looking for it anywhere but I couldn't find any solution. Anyway, I have a trouble with the caption of my table when I included the ...
1
vote
1answer
44 views

subcaption width is not registered [closed]

I am trying to use subcaption in order to show two aligned images. This is my code \documentclass{article} \usepackage{caption} \usepackage{subcaption} \usepackage{graphicx} ...
2
votes
1answer
27 views

Automatically put subcaptions inside picture

I want the same thing as those guys: Put subfigure labels inside figures using subfig package Subfigures with number inside figure But with one minor difference: I don't like the idea to write ...
1
vote
1answer
60 views

How to put two subfigures with subcaptions side by side, with the same height, calculated to add up to a specified overall width?

To put it simply, I just want to add subcaptions to the subfigures showed in the accepted answer of this question: Forcing subfigures to have same height and take overall X% of linewidth in LaTeX ...
3
votes
1answer
74 views

2x2 subfigures with tikz graphs

I saw that this has been asked before, but none of the solutions appear to work in my document. I am trying to set an 2x2 grid of sub figures, each filled with a tikz graph. However, no matter how ...
4
votes
2answers
208 views

Double brackets around captions when of subfigures

I am using subfigure to arrange 3by2 subfigures with captions each of them. Normally, the captions should look like this: (a) , (b). But instead they look like this: ((a)) , ((b)). MWE: ...
1
vote
1answer
75 views

Subfigures on next page cause text not come in correct order

I have a problem when using subfigures: When there is not enough space for the two side-by-side subfigures they are put on the next page, which is fine of course, but then the text following the ...
4
votes
1answer
1k views

IEEE template and caption=false option for subcaption package?

According to the IEEE transactions information (tar file here contains IEEEtran_HOWTO.pdf along with the class files) Axel Sommerfeldt’s modern and actively maintained subcaption.sty package [23] ...
0
votes
1answer
33 views

Figure placement problems while using figure* in SAGE journal class

I have written an two column article for SAGE journal. When SAGE compiled the document, the figures are placed in the wrong order. Figures with {figure} environment are placed in their proper ...
1
vote
1answer
33 views

Manually position caption inside a figure

How can I place my caption in the indicated arbitrary box in the below figure. This is what I am using for now for my usual figures: \begin{figure}[h] \centering ...
4
votes
1answer
4k views

**“No counter 'subfigure@save defined.”** -subfig error [closed]

I have used subfig package to compile the following code. The code was running fine in linux machine (That too without loading the 'subfig' package). Now in Windows machine, I am having error message: ...
1
vote
1answer
102 views

Sub-figures of different sizes grid layout

I have two subfigures that I want to align as such: But what I got is this with the codes below: \documentclass{book} \usepackage{subcaption} \usepackage{pdfpages} \begin{document} ...
5
votes
1answer
57 views

Conflict with subcaption and sublisting?

In the code below, partially derived from Split subfigures from pgfplots groupstyle, I am not able to compile my code when I include the sublisting environment. I need this listing for my Python code ...
1
vote
1answer
25 views

Reduce space of index area between subcaptions

I'm inserting 2 rows of images with \subcaptionbox but the vertical space between them remains, which is originally occupied by index of first column images. How could I reduce the space of this ...
2
votes
0answers
216 views

Undefined control sequence \end{tikzpicture} with classicthesis.sty [closed]

Sadly I wasn't able to get the help I needed from this other question with the same problem: Undefined control sequence \draw and \end{tikzpicture} I am using the code presented in this answer: ...
4
votes
1answer
109 views

One Tikz subfigure is not aligned with the others

I created 4 TikZ pictures and used the subcaption package in order to obtain a 2x2 figure of the 4 pictures. However, the upper right figure is not at all aligned with the others and I don't see why. ...
1
vote
0answers
24 views

“caption” package options for subcaptions to be centered

Subcaptions are not centered. I am trying to use like as follows, but empty subcaptions are not centered. while I would like to keep the other styles unchanged. How can I solve this? Thanks in ...
2
votes
0answers
49 views

\counterwithout and \captionlistentry leads to omitting figure numbering [closed]

Here is my MWE: \documentclass[]{scrreprt} \usepackage[]{todonotes} % only for the dummy-figure \usepackage[]{caption} \usepackage{subcaption} \usepackage{chngcntr} \usepackage{hyperref} % needs to ...