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

learn more… | top users | synonyms

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{...
5
votes
1answer
70 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
31 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 area?...
4
votes
1answer
116 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
72 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
55 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
50 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
31 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
45 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
192 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
40 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
99 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
46 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
86 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} \begin{...
0
votes
0answers
191 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
26 views

How can print pictures subcaption in margin? [closed]

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? \documentclass{biditufte-...
5
votes
2answers
253 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
196 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
195 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
89 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
152 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
76 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
51 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
174 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
149 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} \label{fig:...
4
votes
1answer
41 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
74 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
100 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
44 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
74 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
149 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
89 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
18 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
209 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 ...
3
votes
1answer
232 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
37 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
66 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
71 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 ...
3
votes
2answers
239 views

Rescaling gnuplottex to fit in subfigure

I would like to use gnuplot environments (from the gnuplottex package) in subfigures (from the subcaption package). How can I change the size of the gnuplot graph, so that it will fit into the ...
1
vote
0answers
62 views

Vertical align with subcaption package

I'm using the subcaption package (\usepackage{subcaption}), but it seems that in landscape mode the the figure is not vertically centered. \begin{landscape} \begin{figure}[t] \captionsetup{labelsep=...
3
votes
1answer
71 views

How to typeset uneven length captions?

I have a pair of figures with uneven levels of information needed in the captions (though in both cases documentation that really should go in the caption instead of elsewhere). How could I best ...
1
vote
0answers
38 views

Using cleveref with 2 different styles

I like to style my \cref as following (Geophysical Prospecting): Type 1: Fig. 1, Fig. 1(a), Fig. 1(a,b), Figs 1 and 2 Type 2: (Fig. 1), (Fig. 1a), (Fig. 1a,b), (Figs 1 and 2) I have tried with \...
0
votes
1answer
187 views

Subfigure captions of EPS file formats do not align with images in two-column paper

I have trouble getting EPS images aligned work properly in latex. First, my figures were rotated by 90 degrees in the pdf output. So I rotated them by using "angle=90". But I am using a two-column ...
5
votes
1answer
113 views

htlatex and subfigures

Is it possible to have htlatex generate side-by-side subfigures? The mwe tex file \documentclass{article} \ifdefined\HCode \usepackage[compatibility=false]{caption} \def\pgfsysdriver{pgfsys-tex4ht....
2
votes
1answer
68 views

Referencing sublabels without subfloats

Suppose that I have a figure with different panels and I want to use the command \cref to reference each one of the panels. A way to do this is to use the packages subfig, subfigure, or subcaption. ...
1
vote
2answers
303 views

How to force a subfigure's caption to be on one line?

I want the caption for each subfigure to be on one line because it isn't so long that it should line-wrap. Is there any way I can force it to be on one line? Here is a minimum working example: \...
1
vote
1answer
123 views

memoir: subcaption outside float, cross referencing problems

On my question "memoir: subcaption outside float" Gonzales Medina provide the answer, which in first hand solve my basic problem but on second hand open two new: - subcaptions can not be referenced. ...
2
votes
0answers
233 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: ...
3
votes
1answer
55 views

memoir: subcaptions outside float

For figures outside of caption memoir define for example \newfixedcaption{\figcaption}{figure} Is there a way to similarly define fixed subcaption? That it can be used in the following MWE: \...