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

learn more… | top users | synonyms

1
vote
0answers
17 views

TikZ (tikzexternalize) + subcaptionbox error

I use subcaption's command \subcaptionbox twice in a figure. In each subcaptionbox, I place a TikZ picture. This works fine as long as I don't change one of the pictures. As soon as I change it, I ...
0
votes
0answers
12 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
10 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
23 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
49 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
33 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
149 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
18 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
27 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 ...
0
votes
0answers
34 views

How to remove the section number in subcaption? [closed]

How to remove the section number in subcaption? What I need is just "(a)" or "b". \documentclass[12pt,a4paper,twoside,final]{report} %\usepackage[phd,front,fancy,nolot,nolof]{nusthesis} ...
1
vote
1answer
44 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
39 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
36 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
17 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
77 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
23 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
53 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} ...
2
votes
0answers
43 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 ...
4
votes
1answer
47 views

Picture in Table with Caption

In my document I use two different commands to add a picture. First I have one command that adds pictures in a table, because the title and the caption have to be with a colored background so it looks ...
0
votes
0answers
17 views

Continued numbering in subfigure of selected figures

I am very confused about for the continued numbering in subfigure of selected figures. I want format a continued numbering in subfigures of selected figures, but not for all the figures. At the same ...
1
vote
1answer
28 views

How to align 2nd line of subcaption with first line?

I am using subcaptions for describing multiple graphs that are located right next to each other. For longer subcaptions, I have the problem that the text is not nicely aligned with the second row ...
1
vote
1answer
112 views

Two figures side by side - Alignment & Size Problem

There are some ways to put the figures side by side such as subfig (which is not recommended), subfigure, subcaption, subcaptionbox and minipage. I tried minipage and subcaption and here the codes and ...
0
votes
1answer
27 views

Figure captions enumerated vertically

I found solution for placing 6 figures like this: a b c d e f Now I want to arrange figures like this: a c e b d f How to achieve this? Thanks
2
votes
1answer
55 views

Change subcaption label format

I need to have subcaption labels (and references) be of the format Fig. 1a Instead of the default "(a)", and be able to reference them with \cref Unfortunately, I can't seem to get any ...
3
votes
1answer
36 views

bug in pgfplots+subcaption?

I'm using pgfplots (with the excellent matlab2tikz), pgfplotstable and subcaptionbox together, and for some inexplicable reason (at least to me), the command \pgfplotsforeachungrouped seems to break ...
1
vote
1answer
52 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
0answers
67 views

Arrange three figures using subcaption in two rows, horizontally centered with a caption for each figure

I want to place three subfigures in one figure using the subcaption package. All three are equal in dimensions, and for each figure an own caption is required. In the first row there should be two ...
1
vote
0answers
19 views

How can print pictures subcaption in margin?

In biditufte-handout class, the caption of figure will apear in margin. I like it. It is nice. Now I want to force LaTex to print subcaption in margin. Hoe can I do this? ...
5
votes
2answers
103 views

Recommended package for making same-height subfigures?

I've read that the subfigure package has been deprecated in favor of the subcaption package. However, the subcaption package has the unfortunate requirement that you specify the width of each ...
6
votes
2answers
112 views

subcaption: No space after label (DeclareCaptionFont breaks labelsep)

In the following example I am using \DeclareCaptionFont to change the color of the caption labels: \documentclass[11pt]{article} \usepackage{xcolor} \usepackage{caption} \usepackage{subcaption} ...
4
votes
1answer
132 views

conflict refcheck/subcaption packages for label with underscores

I found a conflict between the hyperref/subcaption/refcheck packages. I was using figures with subfigures and subcaptions, enabling the hyperref package for cross referencing in the document without ...
2
votes
1answer
63 views

How to put some images inside a tBOX?

How could I use subcaptionbox inside tbox? I typed the same code outside and inside the tbox, and I obtain no images inside the tbox and a Error Message, as you can see in this image ...
3
votes
2answers
68 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
1answer
65 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 ...
2
votes
1answer
38 views

Problems with levels of captions of different subfigures

The problem is that I cant put at the same level the captions (for example (g) and (h) or (c) and (b)). I've already tried with \caption and \subcaptionbox but I did not like the result because the ...
3
votes
1answer
61 views

Multiple panel figure, with figures side by side

I'm trying to create a multiple panel figure and I want the figures to by side by side (thre are 3 so I want two of them to be side by side and the other one below the first one). However, I have ...
1
vote
1answer
84 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} ...
4
votes
1answer
35 views

How to put a matrix of images in bulk?

It's not difficult to put a matrix of images. For example, in such a derectory . ├── document.tex ├── pictures │   ├── CellA │   │   ├── p1.JPG │   │   ├── p2.JPG │   │   ├── p3.JPG │   │   └── ...
2
votes
1answer
46 views

Position of \caption gets counter incremented twice [duplicate]

So, this example was bugging me: \documentclass[12pt,a4paper,twoside,DIV=9,BCOR=2cm,openright,parskip=never]{scrbook} % \documentclass{article} % \usepackage{floatrow} \usepackage{subcaption} % ...
4
votes
1answer
62 views

Caption above subtables with subcaption package breaks numbering of following table

I use the subcaption package to display multiple tables side by side. My document follows the convention of putting table captions above the table and I would like to keep this for the meta caption at ...
2
votes
1answer
34 views

Subcaption, and the ever-changing width of a subtable

I'm using subcaption to layout two tables of different widths side by side, but I do not understand how I am supposed to know the width of the tables beforehand. What am I supposed to write in place ...
2
votes
1answer
58 views

Subcaption of figures in a table

There are two ways I would like to describe the figures in the table: put sub caption under each figure (preferred) or insert the description directly in the figure. To create a table of figures, I ...
0
votes
1answer
88 views

subfig captions messed up in IEEEtran class

I have following packages enables: \documentclass[conference]{IEEEtran} \usepackage{caption} \usepackage[caption=false,font=footnotesize]{subfig} This is because IEEE uses its own caption style. My ...
2
votes
0answers
51 views

How to get Subcaption outside float working for landscape tables?

I use the nice MWE displayed below to display a landscape table (found here: Tex: How to place table on new page.) I have one big table (that's why landscape) which I want to split across multiple ...
0
votes
0answers
16 views

Sub figure in 1 by 2 grid with height properly scaled

I want to produce figure similar to given in question Captioning nested subfigures with subcaption but with combined height of b1 and b2, equals the height of a.
3
votes
1answer
120 views

Figure and two subfigures side by side using caption/subcaption

I've looked at many questions asked here but I don't find quite what I want. Here's roughly the desired output : i.e : On one line a Figure and side by side a Figure made of two subfigures. I don't ...
1
vote
0answers
110 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
30 views

Vertical space after grid of figures

So I've tried using normal subfigure environment as well as this Align 16 small images in a 4 x 4 grid and yet I still get this crappy result. How can I remove this vertical space, note that it is not ...
2
votes
2answers
57 views

How to get equivalent to subfigure without using floats?

I understand that floats are supposed to float, however, I have a lot of graphical data, and sometimes when I say put it here, I mean exactly, not plus/minus two pages. I can achieve this using ...
1
vote
1answer
57 views

Subcaption not in center of minipage

I want to have a label to my minipage of just the "a)" and when I do this it is not in the center of my image. This is not a failure of subcaption but a characteristic of my image of too much white ...