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

learn more… | top users | synonyms

2
votes
1answer
36 views

Subfloat captions wider than picture

I am having troubles making subfloat captions wider than the picture it describes. Here is a MWE: \documentclass[10pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \...
2
votes
1answer
21 views

Reference pgfplots' groupplot with subcaption

I created a groupplot with pgfplots. For referencing each plot I added a subcaption within a node into each plot. \documentclass{article} \usepackage{caption} \usepackage{subcaption} \usepackage{...
0
votes
0answers
21 views

Table Notes in Sub-table

I want to add table notes in sub-table similar to the one shown below. Any help/suggestion would be much appreciated!
2
votes
1answer
18 views

confict between the subfigure and customized caption(side-by-side subfigures)

the desired result: Q:The .cls document i used is a template for a journal IJCAS, i want to use the subfloat package to reveal the side-by-side subfigures, 1,when the subfig package is loaded, ...
2
votes
1answer
29 views

Memoir Class, Subcaptions, and the List of Figures

I've been trying to figure out how on earth to get subfigures produced by the subcaption package to show up in the LoF with memoir class. Memoir evidently includes its own way to create subfigures. ...
2
votes
1answer
34 views

centering subcaptions (without text), just keeping (a), (b)..etc

How can I write no subcaptions but keeping subcaptions number. That is, how can I just keep (a), (b), (c) ... and, in turn, center those letters below each picture? Example: \begin{figure} \...
3
votes
1answer
37 views

Poor subfigure and subcaption alignment

I have the following figure, containing three subfigures: I'm using the following code to produce it/them: \begin{figure}[htbp]% \tikzstyle{morpho} = [circle,draw,minimum size=1cm,thick,fill=white,...
0
votes
0answers
53 views

How to use subfigures with the template graduate-thesis in sharelatex?

I am trying to make subfigures in this template, both side by side and to stack two figures on top of each other. I have seen some examples explaining that it is necessary to include this before ...
1
vote
0answers
30 views

Remove white space around subfigure on book class document

I have the following to include two sub figures side by side: \begin{figure}[H] \centering \begin{subfigure}{.5\textwidth} \centering \includegraphics[width=0.6\linewidth]{figure1.png} \caption{...
1
vote
0answers
22 views

Caption alignment of grid subfigures

I have 5 images and I would like to display them in 2 rows (3x2). This is what I've done so far, \begin{figure}[h] \begin{tabular}{ccc} \subfloat[caption]{\includegraphics[width = 1.8in]{figures/...
1
vote
1answer
36 views

subfigure inside tabular multirow

I'm trying to align 3 subfigures in a 2-by-2 table, where the second column is a multirow spanning the two rows. Here's where I am: Usually \multirow vertically centers its contents, but that's not ...
3
votes
1answer
41 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 command?...
5
votes
1answer
87 views

What does `\centering` do?

Not specific question: What does \centering command specifically do? MWE: \documentclass[onecolumn]{IEEEtran} \usepackage{graphicx,subcaption} \begin{document} \begin{figure} %\centering \begin{...
2
votes
1answer
32 views

Subfigures with no vertical space and top left aligned letter

I am trying to create an image composed of three subfigures that looks like this: Key features I am trying to capture are: No vertical space between the subfigures Subfigure letters are in the ...
2
votes
1answer
37 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}] {\includegraphics[width=.45\linewidth]{two}}\...
3
votes
1answer
34 views

Subcaption in a tabular

I have a tabular with 4 sub-figures and I want to set the caption for each figure respectively. I'm using the subcaption package but I'm getting the following error on compilation: package floatrow ...
0
votes
1answer
66 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/ ...
3
votes
1answer
111 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 ...
2
votes
0answers
15 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 { \includegraphics[...
2
votes
1answer
42 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
42 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
68 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
176 views

Undefined control sequence caption

When I compile document that has such code: \usepackage{caption} \usepackage{subcaption} \DeclareCaptionLabelSeparator{emdash}{~--- } \captionsetup[figure]{labelsep=emdash,font=onehalfspacing,...
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
24 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
91 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
16 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} \...
2
votes
1answer
40 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
88 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
64 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
26 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
34 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
28 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
42 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? \documentclass{...
1
vote
0answers
26 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 \begin{...
1
vote
0answers
76 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 \newcommand{\...
3
votes
1answer
231 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
26 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
33 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
68 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
76 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 sub-...
2
votes
1answer
128 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
31 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
47 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
431 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} \begin{...
2
votes
1answer
32 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 ...