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

2
votes
1answer
1k views

subcaption: `caption' package not loaded

I am trying to use subfig in ACM class file, but it issues an error that 'caption' package not loaded. I downloaded the 1.3 version of caption (as suggested by ACM), but still the same. Here is the ...
5
votes
3answers
2k views

subfigures in array

How do I create a figure using subfigures with this alignment?: |figure 1 | figure 3 | figure 4 | |figure 2 | | | Note that I want figure 3 to be in both rows and figure 4 to be ...
4
votes
1answer
76 views

Arrays inside a subfigure

I'd like to know how to put an array inside a subfigure (if it can be done). I have no problem putting the following code inside a figure statement but in subfigure it fails miserably and I cannot ...
2
votes
2answers
452 views

Horizontal text alignment in captions for subfigures

Captions in subfigures are justified by default, which does not always look pretty: \documentclass[]{tGIS2e} % http://www.tandf.co.uk/journals/authors/tgislatex.zip \begin{document} ...
2
votes
1answer
1k views

Two images in one line [duplicate]

How can set two images in one line without using a table, but having a caption and a label for each image? Besides image one should be labeled Figure 1 and the second figure with Figure 2. Therefore I ...
3
votes
1answer
425 views

Alignment of several pgfplots of different widths inside subfigures

I try to fit six pgfplots created with matlab2tikz onto a page by placing them inside subfigures. So my document looks something like this: \documentclass[a4paper,11pt, BCOR=12mm, ...
2
votes
0answers
116 views

Incompatibility between fixltx2e, subfigure and figure* [closed]

This minimal example: \documentclass[twocolumn]{article} \usepackage{subfigure} \usepackage{fixltx2e} \begin{document} \begin{figure*} asdf \end{figure*} \end{document} gives the error: Extra }, ...
4
votes
1answer
144 views

Captions in sub floats using subfloatrow are too narrow

I have a figure that has several subfigures, each with its own caption. I am aligning the subfloats using subfloatrow. How do I make the captions expand at least to the width of the graphic? Currently ...
6
votes
1answer
170 views

customizing cleveref for pair of subfigure references: [1a and b] instead of [1a and 1b]

I am using the cleveref package and I am very happy with it. However, I encountered one problem I wasn't able to solve. I am probably just not combining the syntax correctly. This is highly connected ...
4
votes
1answer
92 views

Centering Subcaptions including a linebreak

I found an asnwered question concerning this topic already here: Centering a subcaption Copying \captionsetup[subfigure]{justification=centering} doesn't help me thought for I am using different ...
3
votes
1answer
123 views

Subfigures, long caption side by side

Hello I have really big problems with positioning my sub figures. I have long caption text and I think that is the reason why they don't fit side by side. What can I do for solving this problem. [t] ...
2
votes
0answers
311 views

How to reduce white space above/around R-Plot in LaTeX-Beamer document [closed]

Hi guys, my header looks like: \documentclass[8pt]{beamer} \usepackage[utf8]{inputenc} \input{ix-utf8enc.dfu} \usepackage[ngerman,english]{babel} \usepackage[T1]{fontenc} ...
3
votes
3answers
4k views

Undefined control sequence \subfloat

This is odd, my code was working just fine, then I literally just step out of the room and when I come back and compile I get the error undefined control sequence \subfloat. Basically I am trying to ...
2
votes
0answers
36 views

LaTeX - side-by-side subfigures? [duplicate]

I'm trying to create a float that spans two columns that has multiple side-by-side subfigures. I've included the subcaption environment, and here's what I've got so far: \begin{figure*}[h] ...
3
votes
1answer
122 views

Displaying subfigures of different aspect ratio to look same aspect ratio

I have some figures that came out from gnuplot that I would like to display. The only difference between them is that one has a legend and the other one does not. So although they have the same size ...
2
votes
2answers
60 views

Label figures in col-major order

Use the following commands, I can generate a 2x3 table figures: \begin{figure}[htbp] \centering \begin{tabular}{ccc} \subfloat[configuration 1]{\includegraphics[height=1.8in]{8}} & ...
0
votes
1answer
127 views

LaTeX figure labeling in tables

I have 6 figures in a 2x3 table which, inclucing the caption, fill one page nicely. I would like to label them with a), b), c) at the top left of every row. I experimented with subfigures, but didn't ...
1
vote
0answers
52 views

How to have the same visual effect of a figure in a non-floating environment

I have the following code: \begin{figure} \centering \subfloat[\footnotesize my_sub_caption1]{\includegraphics[width=0.45\linewidth]{images/my_image1}} \quad \subfloat[\footnotesize ...
4
votes
2answers
74 views

How to change numbering of figures (subfloats more specifically in a minipage)?

I have 6 figures in a 2 by 3 minipage like below \begin{minipage} \subfloat[] \subfloat[] \subfloat[] \quad \subfloat[] \subfloat[] \subfloat[] \end{minipage} This structure ...
5
votes
1answer
120 views

bytefield doesn't work with subfigures

I'm trying to use bytefield and subfig (and also tested with subfigure with the same results) but I got the error: ! Extra alignment tab has been changed to \cr. \endtemplate at the end ...
1
vote
0answers
94 views

Caption numbering missing in beamer class when adding subfig package

I am having a problem with the beamer class and subfig package. Once I add the subfig package (for subfloats) the numbering of all my captions disappear. Please see the following minimial working ...
8
votes
2answers
2k views

Top-aligned subfigure with bottom-aligned caption

This is a follow-up to an earlier question regarding left-aligning subfigure captions. Having achieved the left-alignment goal, I would now like the caption of the subfigure to be bottom-aligned, ...
2
votes
1answer
215 views

Right-justifying vertical subfigures in a two-column document

I am trying to include a pair of subfigures in my two-column document, stacked one on top of the other. I want them to be right-justified; to achieve this with individual figures I have been using ...
3
votes
2answers
300 views

Arrange three images

I need to arrange three figures in a two column document as follows
5
votes
1answer
248 views

Horizontally align subfloat in figure

I am putting three figures on one row, and the width is not enough if I want to show them clearly (big enough). I used to use hspace to manually shift the figure, but it doesn't work this time. (It ...
2
votes
1answer
184 views

Counter too long subfigure

I'm trying to make a igure with more than 26 subfigures, therefore, the counter of the alphabet is not enough since it goes only to the z. I tried as suggested in other posts to use the package ...
1
vote
1answer
139 views

Subtables using r+hmisc

I'm not absolutly sure if it is the right place to ask my question. I use R+knitr to produce a weekly report(s) from a large database. For my tables I find very convenient to use hmisc's latex ...
8
votes
1answer
254 views

How to align these two tikz figures better?

I'm quite new to latex and I'm trying to get two tikz figures side by side. I've honestly just looked up "tikz figures side by side" and taken code and re-adjusted it to give the figures I want, so ...
1
vote
1answer
160 views

How to reference the whole figure with subfig?

I'm using the subfig package in the following way: Samples of our recordings are shown in the Figure XXXXX. \begin{figure} \centering \subfloat[`One']{\includegraphics[width=8cm]{One.eps} ...
3
votes
1answer
74 views

Two figures side by side with two captions and alphanumeric counting [duplicate]

How can I have two figure side by side with two captions and in the floating format, like fig. 10A. some caption fig. 10B. some caption
3
votes
0answers
36 views

Arrange subfigure according to the text

I have a little issue. I have a figure made by 5 subifgures. They fill perfectly a page. The problem is that, when I have some lines of text before the image, the figure goes to the next page without ...
6
votes
2answers
179 views

How to customize cleveref package macro to be consistent when multiple figure references are used in this case?

The cleveref package does a very nice job of sorting the labels of the many references for you (whatever they are) in their natural order. However, I was stumbled by a special case when I wanted to ...
3
votes
0answers
79 views

Tricky problem with sources in list of figures

I've a very tricky problem here: MWE: \documentclass[12pt,german]{article} \usepackage[demo]{graphicx} \usepackage{caption} \usepackage[list=true]{subcaption} \begin{document} \begin{figure} ...
3
votes
1answer
405 views

How to annotate figures with TikZ without affecting the float position? a template for western blots

I want to do some kind of figures, typical of Western blotting in biology. The figures are enclosed with a frame using mdframed package. A MWE example is shown below. In the middle of creating this ...
2
votes
2answers
125 views

How to center align the below subfigure when it stands alone?

I have three subfigures as shown in the MWE below, I want to align the subfigure c in the center below the two upper figures, how to do that? \documentclass{scrartcl} \usepackage{caption} ...
3
votes
1answer
83 views

How to cross-reference a list of sub figures at once? [duplicate]

How can I define a command similar to \ref for referencing a list of subfigures at once? Just like what cite package does for citations. A command like \myref{a,c,d} which can be tuned to generate ...
0
votes
2answers
180 views

Horizontally aligning figures in tikz

I have produced two figures using TikZ that currently consume one full page(each taking up a half of the page). I want to scale these images and place them side by side horizontally so that I can save ...
2
votes
1answer
187 views

How to set subfig options independently from caption options

My aim is to set the font style for caption labels as small caps and for sub-caption labels as normal. But apparently the option sc of the package caption also trickles down into sub-captions.. ...
4
votes
1answer
676 views

TikZ: Crop images after placing them

I have a ton of microscopy images to include in a report, some of these images have rather uninteresting information I want to crop. Since I add scale bars using TikZ and therefore require all image ...
4
votes
1answer
166 views

Subfloat: Label beside, caption below

I'm looking for a possibility to put the label (a),(b),(c)... of a subfigure beside the subfigure and the caption below. So I'm tried sidesubfigure (Subfig label positioning), which puts the label ...
3
votes
4answers
245 views

Center overfull subfloats

I have some plots that I want to group together into one figure as subfigures using subfloat. I want to align them as two per row but it seems they are too big (Overfull \hbox). Nonetheless I want ...
2
votes
4answers
379 views

Align pictures in subfigure

I'm having troubles with the subfigure package and proper alignment of figures. I'm inexperienced with Latex so please apologize obvious mistakes. The top-left figure is not properly aligned with the ...
5
votes
1answer
86 views

Alignment of captions in subcaption

I am using subcaption and want to have the following effect. I want the main figure to contain several subfigures. I want the subfigures to have captions that only come from the \caption{} tag, i.e. I ...
24
votes
2answers
15k views

subfigure and subfig packages deprecated

I was using the subfigure package to align multiple small images in a document. However, WikiBooks states that "the subfigure and subfig packages are deprecated and shouldn't be used any more" ...
3
votes
1answer
88 views

subfig reference layout

I have the following working example \documentclass{article} \usepackage[subrefformat=parens,labelformat=parens]{subfig} \begin{document} \textbf{Error} This should say Fig. 1\textbf{a}, not ...
5
votes
2answers
409 views

Error : Too many unprocesssed floats, multiple figures single page

I am trying to include 3 figures on a single page. I tried the following code: \begin{figure}[t!] \begin{center} \includegraphics[scale=0.5]{images/Figure1.pdf} \caption{Figure 1.} \label{fig1} ...
2
votes
1answer
135 views

Multiple listings in one box with sub captions and using listings counter

I am using separate counters for (graphics) figures and listings. I am using the caption and subcaption packages. I construct sub-figures using subfigure: \begin{figure} ...
2
votes
2answers
1k views

Put two pictures above one another within one sub float / reference problem

I was going through some crazy hoops to get minipage and subfloat work nicely (?) together, only to find out in the very end that I screwed up the figure references. I have a figure with two ...
6
votes
1answer
1k views

How to keep multiple figure together

I have 6 graphs that I have to keep together while showing. I have to make them almost same width as text width, otherwise the graphs will not be properly seen. So I cannot add them side by side but I ...
5
votes
2answers
4k views

Arranging multiple plots in a grid inside a figure/subfloat

I have a grid of pie charts which go into subfloats. The number is odd, and I would like to have them on a 3x2 grid, where the cell in the bottom left is empty. I have simulated this by putting an ...