{subfloats} is about small "sub"-figures and "sub"-tables within a single (floating) figure or table environment. For questions specifically about formatting a subfloat's caption, consider to use {subcaption}.

learn more… | top users | synonyms (2)

1
vote
0answers
110 views

how to reduce the space between subfigures with \subfigure [closed]

I want to put figures in rows, but the vertical space between sub-images is too large, how can I reduce the space between them? Note: The template uses \usepackage{subfigure}, so it cannot use ...
2
votes
1answer
551 views

Subfig package: Undefined control sequence \includegraphics

I want to use subfig to put multiple pictures under one caption. However, the error mentioned in the title occurs. \documentclass[conference]{IEEEtran} \usepackage{cite} ...
2
votes
1answer
127 views

Cleveref mislabels figures when using \ContinuedFloat

When using subfloats over multiple pages I have used \ContinuedFloat to carry on the figure environment which also preserves the numbering. However, when I try to reference the whole figure, cleveref ...
2
votes
1answer
160 views

How to reference to subfigure in latex

I have 2 figures with same meaning, So I put them in subfigure package, to make it easy to show their similarity. Here is the code that I used: \usepackage{subfigure} \begin{figure}[H] ...
2
votes
1answer
63 views

matching height of subfloats by defining height screws up captions

I am Using the following method to put two pictures beside each other in one figure: \begin{figure}[ht] \centering \subfloat[ Caption 1 ...
0
votes
1answer
206 views

Subfigure sublabel inside figure

I have the following code included in my LaTeX report: \begin{figure}[h] \subfigure[Probe 1, Fluoreszenz]{ ...
5
votes
3answers
129 views

Vertically center a table inside a subfloat

The following MWE produces two tables side by side: \documentclass{report} \usepackage{tabu} \usepackage{booktabs} \usepackage{multirow} \usepackage{subfig} \usepackage{siunitx} ...
2
votes
0answers
72 views

How to zoom (and apply grid on) subfigures

So I have folders containing triplets of images which all have the same style as shown in an example below It is basically an automatically generated image and a color-bar besides it. I want to ...
1
vote
1answer
31 views

Two figures with two sub-figures each on same page

I need a layout like this on a single page without any other text or floats. | figure 1a | figure 1b | Caption for Figure 1 | figure 2a | figure 2b | Caption for Figure 2 Do anyone know ...
3
votes
1answer
26 views

How can I change the horizontal spacing in a figure environment?

I want to put two figures, one at the top and one at the bottom, into one figure environment. I only want one common label and caption. How can I adjust the horizontal positioning of each of the ...
3
votes
2answers
241 views

Reducing margin as small as possible in subfigure

I use subfigure to implement subfigure and I use \hspace or \vspace. I want very small margin to maximize the size of subfigures but when I set \hspace{0cm} and \vspace{0cm}, there is still large ...
4
votes
1answer
222 views

IEEEtran and TikZ subfigures over two columns

I have multiple images produced by TikZ and I want to span them on 2 columns. The IEEEtran documentation says that I should use the figure environment to get figures spanning 2 columns. I tried it ...
1
vote
1answer
44 views

How to place the sub label of a figure to the right using package `subcaption'

I am creating a scheme and I need to add to figures, but I want the figures to have the sub caption to the right, this because my figures could be also seen as equations. I don't know if a minimal ...
1
vote
1answer
84 views

Positioning 4 figures in to two pair on one line [closed]

currently I have something that looks like; These images have come from epslatex plots from gnuplot. So my code looks like \documentclass{article} \usepackage{subcaption} \begin{document} ...
2
votes
0answers
17 views

Strange reference number for main figure label containing subfigures [duplicate]

I have problem in referencing number for main figure label. I have this code : \begin{figure}[t] \centering \subfigure[11a's signal strength]{ \includegraphics[scale =0.25] {fig/cdf_sig11a.eps} ...
3
votes
2answers
128 views

Editing the reference style for subfigures using cleveref and memoir

I'm using the cleveref package to reference floats (in this case subfigures) in the memoir class. Currently the output looks like this (sorry for the danish, I don't think it matters): Using the ...
0
votes
0answers
89 views

cleveref and subcaption: how to handle subfigure reference?

Given \usepackage{caption} \usepackage{subcaption} \usepackage{cleveref} \crefname{subfigure}{figure}{figures} \Crefname{subfigure}{Figure}{Figures} \begin{figure}[h] \centering ...
0
votes
1answer
112 views

autoref to graphics inside a subfloat inside a figure

I have the following figure, which displays 3 graphics horizontally: \begin{figure}[bth] \myfloatalign \subfloat[A]{\label{fig:a}% \includegraphics[width=.31\linewidth]{a}} \enskip ...
2
votes
1answer
92 views

How to make a non-float subfigure environment? [duplicate]

I am writing a document class report that has a maximum page limit. I tend to stay away from float environments for tables and figures since I like to have them where I code them in (I try [h], and ...
4
votes
1answer
170 views

How can I vertically align subfigures of different size without affecting subcaptions?

Please consider the following MWE \documentclass{article} \usepackage[demo]{graphicx} \begin{document} \begin{figure} \centering \begin{minipage}[c]{0.45\textwidth} \centering ...
4
votes
3answers
283 views

Using \cref on a \minipage label?

A couple of times I've had trouble using labels on minipage. I use minipage to create subfigures a) and b), each with their own \subcaption and \label, the whole figure also got a \caption with a ...
1
vote
1answer
148 views

Figure and subfigure long caption wrap

\FBwidth declaration seems to work for subfigures and for parent figures only if subfigures are placed in the same row. With subfigures in separate rows, \FBwidth for figure caption does not measure ...
1
vote
0answers
67 views

Trying to change from subfigure package to subcaption

I am working with a template that uses the package subfigure, as I understand that it is outdated (and also because I have problem understanding how to place to figures side by side using this ...
1
vote
1answer
37 views

How to direct all sub-captions of the subfigures in a central caption

Is there a way to direct all the \caption{}'s found within multiple nested subfigure environments within a central \begin{figure} environment given as \begin{figure} ... ...
1
vote
1answer
430 views

Adding 2x2 PNG Subfigures, natwidth, natheight

How do I add 2x2 PNG figures using subfigures? I am unsure as to how the natural height/width (natwidth, natheight) mean and there is a huge gap in between the figures. This is my code: ...
4
votes
1answer
72 views

Distorted caption in listings

The following code produces strange results. Everything looks fine, if I don't include the subfig package or don't use the xleftmargin parameter. It also works if I use captionpos=t. Is there a ...
3
votes
2answers
105 views

How can I skip a subfigure caption

i suppressed the caption for the first subfigures so the rest of figures are starting with subsequent label ((b), (c), (d), (e). I want the order as (a), (b) (c), (d) \begin{figure}[H] ...
3
votes
1answer
990 views

Subcaption package error, even without the use of the subfigure package

I have read countless instructions on how to use the subcaption package, and tried several examples. Each time I get two types of errors, which I will post further down. This is my premable: ...
1
vote
1answer
50 views

Separating caption of first figure from top of second figure

I am setting two TikZ subfigures on top of each other by setting 1\textwidth for both subfigures. Now, the caption of the first figure is really close to the top of the second figure. Is there any ...
3
votes
2answers
464 views

Problem with using TikZ pictures as subfigures

I tried to create a figure which consists of two subfigures, each of which is a TikZ picture. \documentclass[a4paper,10pt]{article} ...
4
votes
1answer
48 views

Caption package in subfigures

In Wikibooks it is suggested that to have subfigures, one should use the subcaption package. However, in the given example, the caption package is also included. Is it necessary here? If so, what is ...
1
vote
0answers
72 views

How to align/wrapping pstricks figures and text [closed]

I´m trying to put easily 3 pstricks pictures in a row (or in a column). I was trying with wrapfigure with no success, so I found any info about subfigure... but I´m trying and LaTeX tell me: ...
3
votes
1answer
196 views

Insert 4 figures in a square like structure [duplicate]

I want to insert 4 figures in structure of a square i.e. in two rows and two columns, the structure I talk about is given in the image below; Please help me with piece of code. Thanks.
1
vote
1answer
173 views

floatrow + caption = odd behaviour + wrong figure numbers

Looking for means to control vertical alignment in subfigures, I decided to use floatrow package, but later found it behavior quite strange. The issue is with figure captions, which may disappear or ...
3
votes
1answer
139 views

Streched vertical space between two subfigures

I want to add vertical space between two subfigures so that so that the upper figure is aligned with the top of the page and the last line of this figure caption is aligned with the bottom of the ...
2
votes
2answers
57 views

How can I make the caption of each sub figure like

I have 6 figures, two classes, and want them to be arranged as Figure 1-C1 Figure 2-C2 (a) (c) Figure 3-C1 Figure 4-C2 (b) (d) Figure 5-C1 Figure 6-C2 (c) ...
0
votes
0answers
46 views

placing figure with all subfigures in a two column ieee trans article on a single page

I am trying to place a figure containing six subfigures in a separate page just after its reference page in IEEEtrans format article. How to do this. I have use figure* but some text of the next page ...
3
votes
1answer
188 views

\input in figure environment not centering

I'm making a presentation with beamer, and I've drawn some figures in TikZ that I'm inserting into the presentation using \input{footikz.tex} For some reason the tikz picture is appearing off to the ...
3
votes
2answers
310 views

Subfigure label position and visibility in memoir

I am writing my master thesis using Memoir. I want all subfigures to have their labels in the top left corner. I have so far done this with tikz, but I would like to find a more elegant solution as my ...
3
votes
1answer
226 views

3 subfigures in a row, different sizes. How to manually adjust the spaces in beween?

I want three subfigures to be shown next to each other so that the subcaptions of all three subfigures are equally 'wide'. I'm experiencing 2 problems. Since my middle subfigure is a lot smaller, ...
3
votes
1answer
165 views

Include both short and long caption in list of figures

I'm writing a paper where I'm trying to repurpose the list of figures as a figure legends section. I'd like each figure to have something like "Figure X: Title" at the bottom, with list of figures ...
0
votes
1answer
70 views

What might cause crop and trim to behave differently in different contexts?

I have tried to get a MWE for my problem, but really it is more of a dual to an MWE, because it doesn't work where my actual code DOES work, but I don't understand why it should work. For instance, ...
2
votes
1answer
595 views

Adding “\usepackage{subfig}” (no other changes in file) throws error

I want to use the subfig package to have a neat row of figures with captions for each one of them. However, as soon as I add the line \usepackage{subfig}, pdfLaTeX fails with the following error: ! ...
5
votes
2answers
157 views

Horizontal alignment of subfigure edges

I am using the memoir class and I have two subfigures of different width that I would like to lay out vertically. Ideally, these two subfigures should be aligned so that The widest subfigure is ...
4
votes
1answer
133 views

Using \subfigure in the sciposter document class

I'm creating a poster and would like to include subfigures, just to group everything together. However, I'm having problems. I pasted code that worked in an article class document and it is now ...
2
votes
2answers
200 views

Subfigure removing and controlling label/numbering

this problem is similar to others but I cannot find a solution. In the example below I have a figure with 6 subfigures. I would like to remove the label/numbering from the 2nd, 4th and 6th subfigure, ...
2
votes
2answers
437 views

Resize figures using subfloat environment in elsarticle class

I was working with the elsarticle class and subfig package for my article and I used the subfloat environment to include two pictures. However, the scaling of the pictures is completely wrong and the ...
3
votes
1answer
56 views

referencing in subfloat not working

\documentclass[journal]{./IEEE/IEEEtran} \usepackage{cite,graphicx} \usepackage{url} \usepackage{float} \usepackage{subfig} \begin{document} \begin{figure}[H] ...
4
votes
1answer
98 views

Appendix Figure Placement

Sorry for the long message, I'm pretty new to LaTeX, only starting a few days ago to put my thesis together that's due in on Friday. I managed to get most things together but I'm having trouble with ...
5
votes
1answer
191 views

side by side figures wider than margins

I'm trying to do exactly what's explained here: Figure with two side-by-side subfigures that is wider than textwidth However, I'm working with a large document and already have many subfigures using ...