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

learn more… | top users | synonyms

-1
votes
1answer
43 views

How to make 8 subfigures fit in one page?

I am a newbie in Latex and I have 8 figures with equal sizes to plot. I want to arrange them in 4*2 and plot them in one page. \begin{figure} \begin{subfigure}[t]{0.32\textwidth} \...
2
votes
1answer
26 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
37 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
20 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
30 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
38 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
54 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/...
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
33 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
38 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
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 ...
3
votes
1answer
114 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
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}}\...
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
44 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
206 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,...
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 ...
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 ...
2
votes
2answers
101 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
18 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] \...
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/ ...
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
2answers
91 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
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
27 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{...
0
votes
0answers
27 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
71 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
81 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
136 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
35 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
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{\...
1
vote
0answers
49 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
30 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
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 ...
3
votes
1answer
104 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
87 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
312 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
53 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 \includegraphics[width=162mm]{images/...