{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
20 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
65 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
49 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
26 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
53 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
32 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
92 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
72 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
66 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 ...
2
votes
2answers
47 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
57 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
35 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
29 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
59 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
71 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
16 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
63 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
43 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
75 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
62 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
40 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
41 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
32 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
104 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
77 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
105 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
151 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
45 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
39 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
57 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
43 views

\subfloat adds padding on the left [closed]

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
165 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
40 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: ...
2
votes
1answer
97 views

Incompatibility issues within classicthesis

I'm using classicthesis.sty to write my master's thesis. In this style the tocloft is set up with the subfig package, which is now deprecated, so i'm using instead the subcaption package, the problem ...
1
vote
1answer
38 views

get the page horizontal and put 3x3 images

First, I used following: \usepackage{rotating} \usepackage{subfigure} .... \begin{sidewaysfigure} \subfigure[Title A]{\includegraphics[width=7cm]{figures/plot1a.png}} \subfigure[Title ...
1
vote
0answers
48 views

multiple graph in one figure

I cannot figure out which code am I typing wrong, I'd like to insert multiple graphs in one figure, each graph captioned a) b) c) etc.. Here is my document: \documentclass{article} ...
4
votes
2answers
144 views

Does subfigure package have a limit of subfigures within a figure?

I'm inserting plenty of subfigures within a figure, when I reach the letter "z" in the subfiures captions it won't compile any more, can please anybody confirm this? (Can't post a MWE as I don't ...
1
vote
1answer
67 views

How not to show caption of figure but only of subfigure in list of figures

I have a similar problem to How to change the display of subfigures in List of Figures?. I'm using the subcaption package. I dont need to show the caption of all figures but for some figures which ...
2
votes
1answer
45 views

Grouping together two nested figures

I have two Figures made of 4 subfigures (2x2). They both look like this: \begin{figure}[htb!] \centering \begin{subfigure}[b]{0.24\textwidth} \centering ...
6
votes
2answers
99 views

Placing of subfigures with different widths

MWE: \documentclass{scrbook} \usepackage[showframe]{geometry} \usepackage[draft]{graphicx} \usepackage{blindtext} \usepackage{subcaption} \begin{document} \begin{figure} ...
0
votes
0answers
29 views

Sub Figure alignment with two column text

I have to write a two-column document with three subfigures (a), (b) and (c) and some text. The size of figure is such that only two figures can span width of two columns. So i want to place the ...
4
votes
1answer
140 views

pgfplots and subfigure

I'm using Springer LNCS template to create a paper, so that I can't use subcaption Using subfigure with pgfplots results in no aligning at all. The code I use to draw plots: \begin{figure} ...
8
votes
2answers
144 views

Problem with subcaption spacing

When using the subcaption package to place tables1 side-by-side, the spacing between a table and its subtable caption is too small if the table caption is placed above the tables and the subtable ...
4
votes
3answers
64 views

Subbottom with no letters

How can I remove the letters found before the captions made with \subbottom? The usual asterisk (like \caption*) doesn't seem to work. \documentclass{memoir}% http://ctan.org/pkg/memoir ...
2
votes
1answer
26 views

Subfigure alignments

I am at the moment using the code: \begin{figure} \centering \subfloat[][a]{\includegraphics[scale=0.4]{d_vs_r0_varying_redshift_mass.pdf}} \label{test1} ...
2
votes
1answer
77 views

White space between upper and lower subfigure

I am working on a paper right now. In this paper I have some figures, I am using subfigures for creating a page with two figures beside each other and one (bigger) figure beneath it. It is all clear ...
0
votes
1answer
35 views

Three subfigures horizontally to each other in one figure

I am having trouble with the subfigures in one main figure. I am using the following preamble and coding for the figures: \documentclass[11pt]{report} \usepackage{geometry} \usepackage{amsmath} ...
4
votes
2answers
118 views

Align two vertical subfloats

Basically this question (Align vertically two tikzpicture in subfloat) but for vertically placed subfloats. I know you can align them with the baseline option if they're next to each other, but I ...
2
votes
4answers
192 views

acmsmall and subfigures

I'm trying to put a figure with subfigures, using the acmsmall class. When compiling I get the following error: Package caption Warning: Unsupported document class (or package) detected, (caption) ...
2
votes
1answer
41 views

How can I get correct labelling of sub-figures with subfig and floatrow?

I am using subfig and floatrow to manage sub-figures. Without floatrow, everything works OK, but I need floatrow to easily align the captions, as the subfig manual explains. Adapting the example on ...