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

learn more… | top users | synonyms

3
votes
1answer
31 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 ...
0
votes
0answers
28 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
29 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} ...
1
vote
0answers
15 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 = ...
3
votes
1answer
36 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 ...
4
votes
1answer
83 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 ...
2
votes
1answer
23 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 ...
1
vote
1answer
28 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
28 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 ...
3
votes
1answer
68 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
1answer
31 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
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 { ...
2
votes
1answer
32 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 ...
0
votes
1answer
40 views

Undefined control sequence caption

When I compile document that has such code: \usepackage{caption} \usepackage{subcaption} \DeclareCaptionLabelSeparator{emdash}{~--- } ...
3
votes
1answer
20 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 ...
3
votes
1answer
36 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
59 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 ...
2
votes
2answers
64 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
15 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
36 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] ...
0
votes
1answer
62 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/ ...
4
votes
3answers
60 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
24 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
30 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
2answers
79 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
2answers
41 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 ...
0
votes
0answers
16 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
32 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
63 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
68 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
99 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} ...
2
votes
1answer
29 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
68 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 ...
1
vote
0answers
36 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
20 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 ...
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 ...
3
votes
1answer
86 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 ...
1
vote
1answer
71 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 ...
4
votes
2answers
255 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: ...
0
votes
1answer
40 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 ...
1
vote
1answer
130 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} ...
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} ...
5
votes
1answer
60 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
30 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 ...
4
votes
1answer
114 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
26 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 ...
1
vote
2answers
70 views

Problems with TikZ overlay in table with varios subfigures

I am trying to overlay a TikZpicture over my table and would like it to look like this: My code is the following \documentclass{scrreprt} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} ...