{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)

3
votes
1answer
44 views

\begin{alltt} inside \subfloat

I am trying to use the alltt environment inside a \subfloat element, and inside a minipage. The problem is that if I use \subfloat the indented text looses its indentation. Do you know any solution? ...
2
votes
1answer
29 views

head don't appear with 3 figures (subfloat) in appendices

I make some appendices to my thesis. But I have some problems with head. There are 3 figures and each one occupies one page (all page). In first page appears everything normal. In second page too, but ...
1
vote
0answers
26 views

subfigure global counting caption

I would like to keep subfigure count my figures globally and label them continuesly. This is the way it is: [Fig 1] [Fig 2] [Fig 3a Fig 3b] [Fig 4] And that is the way I want it: [Fig 1] [Fig ...
2
votes
1answer
70 views

Why does using the subfigure command break my Beamer presentation, and what should I replace it with?

I'm trying to update a Beamer presentation created waaaaay back in 2008 by LyX. It uses the subfig package to create a series of slides that appear to update a single image on the same page. ...
0
votes
1answer
169 views

Overlay subfigure caption with TikZ

I'm trying to place my figure captions on top of the figures. I've found some code that does this and I can get it to work for a normal figure - e.g. I can overlay "Figure 1" on top of the figure. ...
2
votes
1answer
91 views

How to insert a main caption beside subfigures?

I have 3 subfigures that I insert at width=0.5\textwidth, which leaves some empty space. I would like to insert the main caption in this space. How can I do this? I am using subcaption package for ...
3
votes
1answer
103 views

List of figures / tables when using subfloat to combine a figure and a table

I want to have a plot and a table side by side which can be solved using the subfig package. However I'd like the table to appear in the list of tables and not in the list of figures. Is there a way ...
3
votes
0answers
27 views

Subfigures in subsequent frames

I have three subfigures and I want to include two of them in one frame and the third in the next frame. How can I do it?
4
votes
2answers
118 views

Latex how to group subfigures

HI I want to do the following in Latex. How can I do it?
0
votes
0answers
24 views

How can I get the subcaption to be aligned left of the subfigure? [duplicate]

The picture says it all. I would like the subcaption to be on the left of the subfigure, below the top of the subfigure. Ideally, a solution with the subcaption package would be good (if there is one) ...
2
votes
1answer
47 views

how set subfigure 4 rows and 8 cols and a line in middle as figure shows

How I finish this effect in my paper, 4 rows figures and 8 eights figures, especially a red line is in middle of the whole figure. Please. Can you help me finish?
1
vote
1answer
36 views

is possible to use a part of the margins with figure?, as with tabular

is posible to use a part of the margins with FIGURE?, as in this example with tabular \documentclass{article} \usepackage{subcaption,mwe} \usepackage{graphicx} ...
3
votes
2answers
79 views

\newdimen in LaTeX is 0pt after assignment, why?

In the below example, I print out the two dimens in the subfigure captions. Surprisingly (to me), the first one prints correctly but the second one is somehow zero pts. Here is the MWE: ...
2
votes
1answer
30 views

Skip one subfigure

I want to create subfigs like this. The first image in the second row is skipped (also the numbering) and images are vertically aligned. Could someone help for this?
0
votes
1answer
118 views

using subfig (side-by-side) figures

I used the package subfig for my first time, I got this error: ! LaTeX Error: File figures/Rnefft1310' not found. ! LaTeX Error: Filefigures/imt1310' not found. However, I am sure the file is there as ...
1
vote
0answers
83 views

how to reduce the space between subfigures with \subfigure

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
352 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
99 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
71 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
53 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
149 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
125 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
64 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
27 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
25 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
156 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
174 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
38 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
78 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
111 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
81 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
81 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
81 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
144 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
174 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
116 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
62 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
33 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
289 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
95 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
724 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
268 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
45 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
67 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
137 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
141 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
110 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 ...