{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
1answer
30 views

I have 3 figures that I want to place in a row

I have 3 figures that I want to place in a row. I trim the figures as original figures have a lot of whitespace. The two figures gets placed in a row but one figure moves to the next row. Is their a ...
0
votes
2answers
28 views

Side by side images (Centering subfloats and changing font)

I have the following images produced by the following code: \begin{figure} [H] \def\tabularxcolumn#1{m{#1}} \begin{tabularx}{\linewidth}{@{}cXX@{}} % \begin{tabular}{cc} \subfloat[Node 3 - Therapy ...
1
vote
0answers
13 views

2x2 subfigures instead of 4 rows with subcaption package

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} ...
1
vote
1answer
29 views

How do I move the table to the vertically center ? , and align figure and table together

\begin{figure}[htbp] \centering \makebox[0.5\textwidth]{\includegraphics[width=0.7\textwidth]{figure/ch3/result_s2/book.jpg}} \qquad \qquad \scalebox{0.7}{ ...
1
vote
1answer
18 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 ...
0
votes
1answer
37 views

Align axes across subfigures

How can I align the y axes of subsequent subfigures horizontally? Like in this test case: \documentclass{article} \usepackage{tikz} \usepackage{pgfplots} \usepackage{subcaption} \begin{document} ...
0
votes
1answer
13 views

subfigure errors “missing number, illegal unit of measure…”

I've been googling around on how to use subfigure to put two figures side by side. By the examples I've seen, this should work: \usepackage{subcaption} \usepackage{caption} \usepackage{graphicx} ...
0
votes
0answers
13 views

How to make subfloat figures wider vertically

I am trying to make the subfloat figures wider but I couldn't, It looks very small and narrow as shown below .. any ideas?? My Code: \begin{figure*} \centering \subfloat[]{\includegraphics[width ...
2
votes
1answer
32 views

Draw over mutliple subfigures [duplicate]

I currently try to document a project where a lot of image processing goes on. The problem is, that often tiny details are important to show, but also the reference in the bigger picture is required. ...
0
votes
0answers
27 views

Page break between images of a figure

I have several images in a figure which can not come on a single page. The images near the bottom are trying to insert inside the bottom instead of going to the new page. I am using a package ...
1
vote
1answer
14 views

How to put two algorithm2e (one is large and one is small) side by side by using minipage or subfigure?

I have two algorithms wrote by the algorithm2e package. One of them is large and the other is small. My try is here: %\documentclass[runningheads,a4paper]{llncs} \documentclass{article} ...
2
votes
1answer
31 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 ...
0
votes
0answers
32 views

How can i print the label of a subfloat inside a TikZ node?

I'm laying out a few tikzpictures side by side (made with pgfplots, but I think it should not matter). I'm trying to use the subfig package to be able to reference single subfigures. Everything works ...
1
vote
1answer
25 views

Vertically centering figures with caption remaining bottom aligned [duplicate]

When I use subfig package to have two images in one figure the marker (a) stays bottom aligned with (b) but the image is not centred vertically (Figure 1). When I use minipage command to have two ...
1
vote
1answer
21 views

Figure caption side by side of the last subfigure

I have a figure consisting of 4 subfigures and a quite long caption. What I would like to do is to have the first three subfigures in the first row and the last one in the second row while the ...
1
vote
0answers
11 views

Label of both the figure and subfigures [duplicate]

I use a composed figure that contains two subfigures implemented via subfloats. Example code: \begin{figure} \centering \subfloat[Workload = 1,000]{ ...
0
votes
0answers
19 views

Figure floating takes full page

I have about 6 scatter plots which I group together in a single figure by using the subfigure package. I am using a two-column conference layout. The figure I create is a figure* to extend over both ...
1
vote
1answer
18 views

Figure moves downwards

I'm using the below script to display a figure (long one which fits a whole page) and for a reason (I don't know) it moves downwards in below the text when the text finishes.So briefly I reference my ...
1
vote
1answer
35 views

Align Headers of subfloats correctly

I'm using the following code but the columns headers are not aligned in the center of the columns, so if anyone could please advise: \documentclass{report} \usepackage{mwe} \newlength{\tempheight} ...
3
votes
1answer
29 views

why subfigure doesn't occupy the full textwidth

I have 5 subfigures with width set to be 0.2 \textwidth, I want them to be in one row, but I have to set their width smaller than 0.2 to do that. Does anyone know the reason? Thank you!
2
votes
1answer
23 views

How can I customise the code for side-by-side subfigures so they can be adjusted up or down?

How can you move a subfigure up and down arbitrarily when using the code written here ? \documentclass{article} \usepackage{caption,subcaption} \usepackage{graphicx} \begin{document} ...
3
votes
2answers
38 views

How to create new subfloats?

Using \newfloat, new float environments can be created and as exemplified in this post, I created a new float called suppfig but I want to add subfigures in it. When I simply add subfigures inside it ...
2
votes
0answers
30 views

Wrong caption using subfloat command

I am using the following: \documentclass[11pt,letterpaper,landscape]{article} \usepackage[utf8]{inputenc} \usepackage{epstopdf} \usepackage{amsmath,amsfonts,amssymb} \usepackage{mathtools} ...
2
votes
2answers
67 views

subfig vs exercise: LaTeX Error: Not in outer par mode

I'm able to use the subfig package in my documents, but not within an exercise environment: \documentclass{scrreprt} \usepackage{exercise} \usepackage[demo]{graphicx} \usepackage{subfig} ...
2
votes
1answer
54 views

Top alignment of subfigure [duplicate]

For some reason I'm not able to have a top alignment of figures using subfigure and the environmental option [t]. I have search the internet for solutions and found them pretty complex for such a ...
2
votes
2answers
59 views

Multi-line alignment : two pictures on the first line, third picture on the second line in a square fashion

I have three picture to show, in three different aspect ratios, and I'd like to align them so that the two first have the same height on the first line and the third has the width of the two first, so ...
1
vote
1answer
29 views

place colorbar in subfloat array

I have created a subfloat array that is showing different heatmaps that I generated using matlab. This works very well until I want to include a colorbar I generated with tikz. I know that my ...
3
votes
1answer
45 views

Horizontal space between subcaptions

I have the next graphic As you can see, the subcaption (b) is not centered from the corresponding subfigure like (a). If I increase the value for [.51\linewidth] unwanted things happen. I'm using ...
2
votes
1answer
33 views

Subfloats don't have the same size

I have a 3x1 subfloats as shown below and the problem is that there is a slight difference in there size dimensions, and I'm asking how this can be fixed so that they have the same size? If anyone ...
1
vote
1answer
21 views

Add Titles to only Rows using subfloat

Following the answer found in this question , I've tried to use the below code to add titles to only the rows, but what happens is that the title appears in a line then the picture in the line under ...
3
votes
1answer
51 views

Can I define a variable to scale with it several figures?

I have several pictures in my document, using the subfigure environment, the code is the following: \begin{subfigure}[b]{0.22\textwidth} \includegraphics[width=\textwidth]{pictures/...} ...
1
vote
1answer
53 views

Uneven spacing between subfigures on 2 different lines?

I'm trying to get 8 subfigures to stack on 2 lines so they match up vertically on the page. However, the top line seems evenly spaced across the page and the bottom line is evenly spaced but the gap ...
1
vote
1answer
15 views

Problem with subfig, ref and renewcommand

I have a problem with using the subfigure package and the corresponding references. I'm wirting my thesis and I want the Figure to be named like this \numberwithin{figure}{part} ...
1
vote
1answer
47 views

Add titles for rows and columns in a subfloat

I have this 6x3 subfloats and I want to add vertical titles to each row of them and horizontal titles to each column.If anyone could please advise how this can be done. I also want to fit this figure ...
1
vote
1answer
38 views

Add titles and remove numbering in subfloat

I have this 6x3 subfloats and I want to add vertical titles to each row of them and horizontal titles to each column. I also want to remove these (a) (b) (c) ... labels so that it's only the caption ...
0
votes
0answers
46 views

/textwidth error “missing number treated as zero”

I am having trouble with the subfigure command, \textwidth comes up with the error missing number treated as zero \documentclass[journal]{IEEEtran} ...
6
votes
1answer
55 views

Centering subfloat caption with subfig package

A footnote on page 12 of the subfig documentation says in part: Note that the ‘width’ may be larger than the width of the sub-float body, or equivalently, the ‘width’ may be negative to provide ...
3
votes
2answers
34 views

Subfigs captions beside images

I have this LaTeX code: \documentclass{article} \usepackage{graphicx} \usepackage{caption} \usepackage{subcaption} \begin{document} \begin{figure} \centering ...
0
votes
0answers
34 views

How to generate these “subframes” in tex?

Below is a picture in a double-column paper. Essentially I want to generate a picture like this, putting my four figures into it. So here is my quick question, how to generate the "frame" structures ...
0
votes
0answers
22 views

Size subfigure in an input file

I'm writing a large report with several contributors and my plan was to decompose it in several tex files so we can work at the same time and include all of them in the end. This is what I'm doing ...
2
votes
1answer
81 views

Help with subfigure

Hi I would like to use \subfigure in order to have the a figure with 6 subfigures ordered as follows: where (a1) (a2) ... (c1) (c2) should be the figure name not the caption! (I forgot the ...
3
votes
1answer
63 views

Pdflatex on file with large amount of pictures

I have a tex file that's generated by an automated bioinformatics pipeline as a report. Usually, this is roughly 50-150 pages, but that's based on 1-3 samples. It contains many quality control graphs. ...
3
votes
1answer
34 views

Getting an error related to \prevdepth when using \caption on a figure with subfloats

I am writing a manuscript and I am using the subfloat package to include in a figure several figures, if I don't include a caption it compiles nicely, but when including the caption I get the error ! ...
2
votes
0answers
81 views

Merge two EPS Files into one

I want to use sub-figures in my paper. I have used subfig package in LaTeX and fig1a, fig1b as my sub-figures. However, the journal compiles the files itself and only accepts one file for each figure, ...
1
vote
1answer
44 views

Distributing images correctly

I'm writing this text, and I have some images which I would like to put in the text. I am using \usepackage{subfig} \usepackage{float} in my preamble, so I can force the figures to stay where I ...
1
vote
1answer
32 views

Why are subfigures stacked when I want them side-by-side?

I want two images side by side and I'm currently using the following code: \begin{figure}[!h] \centering \begin{subfigure}[t]{.45\textwidth} \centering ...
1
vote
1answer
33 views

I want to change the order of numbering for captions in subfigure

By default the rows are numbered and then it moves to next column like 1,2 3,4 but I want to number it as 1,3 2,4 viz., |Figure 1 | Figure 3 | |Figure 2 | Figure 4 | How to do it?
1
vote
1answer
40 views

\subfloat adds padding on the left

I'm trying to put two page-width tables one on top of the other as follows: \begin{table*}[p] \centering \subfloat[caption1]{\resizebox{\linewidth}{!}{tab1}} \\ ...
1
vote
1answer
72 views

How to add subfigures in a poster?

I am making a scientific poster in Latex. The code is working fine if I am working with single figures but as soon as I am adding subfigures (figures side by side), I am getting several errors at ...
3
votes
1answer
34 views

Vertical alignment in subfigure

I have a problem with the vertical alignment of 3 elements in a subfigure: the 3 items are: a graph made by "tikzpicture", a table made by "tabular" and a normal static image. Here is the code: ...