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

learn more… | top users | synonyms

0
votes
0answers
144 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
22 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
172 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
160 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
177 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
77 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
91 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
75 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
43 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
119 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
125 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
39 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
61 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
86 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
39 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
68 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
122 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
77 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
170 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
188 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
35 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
60 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
65 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
200 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
54 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] ...
3
votes
1answer
68 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
33 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
148 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
94 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} ...
2
votes
1answer
58 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
227 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
104 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
216 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
52 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: ...
1
vote
0answers
68 views

pgfplots subfigure positioned side by side

I am having trouble forcing the two pgfplots to appear side by side, can someone please fix my coding. I would also like to center the subcaptions better if possible. I cut most of the data to fit ...
8
votes
1answer
133 views

xparse's \DeclareDocumentEnvironment gives error on already-defined environment

I'm trying to redefine an existing environment subfigure defined by the subcaption package. To do this, I'm using xparse's DeclareDocumentEnvironment since that's suppose to declare a new environment ...
4
votes
1answer
66 views

align subcaption

I need help aligning the subcaptions of my figures. I want it to be vertically and horizontally aligned. Thank you in advance. \documentclass[a4paper, 12pt]{report} ...
3
votes
2answers
57 views

subfigure caption incorrectly aligned

I have the following code with two tikz pictures (I am not an expert sorry if it can be simplified) \documentclass{article} \usepackage{tikz} \usepackage[ format={hang}, figurename=Figura, ...
2
votes
1answer
104 views

Add the letter of a subfigure to each axis in a tikzpicture

Is there a possibility to add a letter/number to each axis (without additional text) in a tikzpicture generated by matlab2tikz script, maybe with a \subcaption? Because of the lack of space, it would ...
1
vote
0answers
17 views

Acmsmall and referencing subfloats [duplicate]

This question is following almost directly this one : acmsmall and subfigures I managed to insert subfigures using minipage but I'm now wondering how I can refer to these subfigures. My MWE: ...
0
votes
1answer
30 views

Shrink one of two pictures in a picture environment using subcaption but keeping captions alligned

I'm trying to put two pictures beneath eachother within the same figure environment using subcaptions. I would like both subcaptions (which is just a) and b) in my case) to be alligned vertically. ...
0
votes
2answers
134 views

How to include 3 vertically aligned subfigures, while making them appear as 3 separate “Main” (and not sub-) figures?

I want to place 3 figures on top of each other and I figured out a way to do that using subcaption package. But, they appear as sub-figures and not the "main" figures. I think it's because of the ...
1
vote
0answers
32 views

Six figures (3x2) on one page using subcaption package? [duplicate]

I want to have 6 figures on one page distributed on 3 rows and 2 columns. I've tried using \begin{subfigure} in the subcaption package without any luck. The figures are displayed correctly, but any ...
1
vote
1answer
47 views

Using \width command in a \subfigure width argument with the subcaption package

I am trying to make a subfigure using the subcaption package. I have the following: \begin{subfigure}{\width} (...) \end{subfigure} I get "undefined control sequence", "missing number", "illegal ...
1
vote
0answers
31 views

2x2 subfigures instead of 4 rows with subcaption package [duplicate]

I'm working on a 2x2 subfigure figure and they keep appearing in 4 rows instead of 2x2. What am I doing wrong? Code underneath (and some of the included packages): \usepackage{memoir} ...
2
votes
1answer
240 views

subfloat figures in two row with labels top left corner

I want to put two subfigures in two rows but with labels(captions) in top left corner of each subfigure. like this but in two rows not side by side preferebly some vertical space between them. Subfig ...
2
votes
1answer
86 views

Subfigures are not bottom aligned

I'm trying to bottom align two pgfplots figures (both have width=95\textwidth set) and also have a bounding box drawn. The relevant code that sets up the two subfigures: \begin{figure} \centering ...
1
vote
0answers
26 views

Is there anyway to reduce the font size less than scriptsize in subcaption? [duplicate]

I want to use four picture on one slide, using the subfigure command. I did it, but the font size of the subcption is really big, I'm using scriptsize compared with four subfig. Is the anyway to ...
3
votes
1answer
488 views

get caption/subcaption every plot using groupplot pgf tikz

Hello I want to have Under each plot (subgroup plot) its caption or label, so I can also reference it in my document. Here in my example I used (a), (b), (c) I can keep them but they are not well ...