{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
2answers
28 views

How to have a figure with multiple groups of image and each image with individual name?

I have several images and I must put their names below them. Moreover, I need to give the name of the group of that images too (for example, "first layer", "second layer" ect as show below). I need to ...
3
votes
1answer
41 views

Adding figures with a certain order

I am trying to add some figures in a specific order as shown below but it didn't work, Any Ideas? My code: \documentclass{article} \usepackage{graphicx} \begin{document} \begin{figure*} ...
2
votes
1answer
20 views

vertically align pgfplots using subfigure

I need to align my two plots. They seem to be anchored by something other than the text. Because one pgfplot has more text in the caption then the other, it offsets it. Please see image. I tried ...
1
vote
1answer
19 views

SCfigure + subfigures

My naive idea was to put three figures on top of each other and put the caption left to it. Now it seems to be impossible, any idea how to achieve this? My errorous code until now: \begin{SCfigure} ...
2
votes
1answer
22 views

How can I reference figure*'s subfigure? [duplicate]

I'm writing a paper to submit a conference. However, I am having some problems fixing non-resolved references in latex. \begin{figure*}[ht!] \begin{subfigure}[b]{0.3\linewidth} ...
0
votes
1answer
23 views

Subfigure captions of EPS file formats do not align with images in two-column paper

I have trouble getting EPS images aligned work properly in latex. First, my figures were rotated by 90 degrees in the pdf output. So I rotated them by using "angle=90". But I am using a two-column ...
5
votes
1answer
28 views

htlatex and subfigures

Is it possible to have htlatex generate side-by-side subfigures? The mwe tex file \documentclass{article} \ifdefined\HCode \usepackage[compatibility=false]{caption} ...
0
votes
0answers
35 views

Error: “Undefined control sequence” in \includegraphics, height

I am using figure and subfigure environment. Inside subfigure I am using includegraphics. The figure and subfigure structure looks like following: \begin{figure} \begin{subfigure}[b]{.25\textwidth} ...
0
votes
1answer
34 views

Caption for subfigures

I'm using the below script to display a figure. The problem is that I don't know how to put subcaption for each subfigure. I don't want to use any other packages. Any advice please? \begin{figure} ...
2
votes
1answer
34 views

Referencing sublabels without subfloats

Suppose that I have a figure with different panels and I want to use the command \cref to reference each one of the panels. A way to do this is to use the packages subfig, subfigure, or subcaption. ...
5
votes
1answer
52 views

Vertically oriented “row names” for subfigures

How can I create vertically oriented "row names" for subfigures? I tried to visualize my idea here: Here is the code for the images using the subcaption package to get subfigures within a larger ...
3
votes
1answer
74 views

How to place two figures next to each other and centered

How can I position two graphs next to each other so that it looks good? For putting two figures next to each other I found the solution below in another question around here, however, I would like ...
3
votes
1answer
56 views

Pspicture is not centered

I am trying to print a pspicture as a subfigure in a figure. Here is the code: \documentclass[12pt]{article} \usepackage[utf8]{inputenc} \usepackage[frenchb]{babel} \usepackage{subfigure} ...
1
vote
0answers
28 views

want figure in section and subsection of appendix [closed]

I want to put a figure in an appendix section as well as in a subsection as that section name and subsection name appears in containt section but I am getting the following error: subsection ...
1
vote
2answers
30 views

Subfigures on multiple pages

I want to have three figures that are each large (taking a full page each) be labeled as Figure 1.4 A, Figure 1.4 B, Figure 1.4 C, etc. rather than Figure 1.4, Figure 1.5, Figure 1.6, etc. I ...
1
vote
0answers
40 views

pgfplots subfigure positioned side by side

I am having trouble forcing the two pgfplots to appear side by side, can someone please fix my coding. I would also like to center the subcaptions better if possible. I cut most of the data to fit ...
0
votes
1answer
27 views

! Missing number, treated as zero. \let \centering

\section{Azimuthal Angle} \begin{figure} \centering \begin{subfigure}[b][0.3\textwidth] \centering \includegraphics[width=\textwidth]{D:/Project/Documentation/Images/muon_phi} \caption{The azimuthal ...
0
votes
1answer
41 views

Beamer subfigure numbering

Is it possible to continue the sub-figure numbering across two frames in beamer? I have four figures which are placed using subfigure, and need to place two on one frame and two on another. The ones ...
1
vote
0answers
37 views

revtex4 with subfig: “Missing $ inserted” error after subfigure caption; no math in caption

I am using the document class "revtex4", and packages graphicx and subfig (with option "caption=false"). I want to make a figure with two subfigures. While I would ideally like to have captions for ...
4
votes
1answer
36 views

align subcaption

I need help aligning the subcaptions of my figures. I want it to be vertically and horizontally aligned. Thank you in advance. \documentclass[a4paper, 12pt]{report} ...
1
vote
1answer
15 views

Suppress extra space between figure and caption when using \subfigure

Is there a way to prevent extra space being added between the figure and its caption when using \subfigure? I am using a command posted in this topic where a \subfigure is added using the ...
1
vote
2answers
46 views

Positioning a figure inside a figure environment

I have a tricky problem: Imagine two graphs in a figure environment and each in a minipage so that each graph gets half of the textlength. Now I realised that I need to put on the right side of each ...
0
votes
1answer
12 views

Figure caption has line break problems when using subfig

I'm using the subfig package and I'm getting words that are broken in captions. Can anyone explain why, or how to stop it? \documentclass[11pt,a4paper, draft]{report} \usepackage{gensymb} ...
1
vote
0answers
16 views

Acmsmall and referencing subfloats [duplicate]

This question is following almost directly this one : acmsmall and subfigures I managed to insert subfigures using minipage but I'm now wondering how I can refer to these subfigures. My MWE: ...
3
votes
2answers
29 views

Referencing subfigures with subfigure package

I'm kinda new on LaTeX and I have a little problem. I'm using the subfigure package and trying to reference my subfigures with \label{key}, but appears "(??)" when I do that. Here's the code: ...
1
vote
1answer
29 views

Missing number treated as zero and Illegal unit of measure when using subfigure

I am trying to put two figures side by side and keep getting these two errors: Missing number treated as zero. Illegal unit of measure. The only way I don't get them is if I comment the ...
0
votes
1answer
24 views

Shrink one of two pictures in a picture environment using subcaption but keeping captions alligned

I'm trying to put two pictures beneath eachother within the same figure environment using subcaptions. I would like both subcaptions (which is just a) and b) in my case) to be alligned vertically. ...
0
votes
2answers
41 views

Vertical subfigures with captions on left

This is what I want I've tried a million things from floatrow package, subfloat, sidecap, etc. but nothing seems to work. This shouldn't be that hard to achieve I feel like but I'm all out of ...
0
votes
2answers
48 views

How to include 3 vertically aligned subfigures, while making them appear as 3 separate “Main” (and not sub-) figures?

I want to place 3 figures on top of each other and I figured out a way to do that using subcaption package. But, they appear as sub-figures and not the "main" figures. I think it's because of the ...
3
votes
1answer
25 views

Alignment of only some subfigures

Consider the following example: \documentclass{article} \usepackage{pstricks-add} \usepackage{subcaption} \usepackage{siunitx} \ExplSyntaxOn \cs_new_eq:NN \calc \fp_eval:n \ExplSyntaxOff ...
1
vote
1answer
41 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
56 views

Side by side images (Centering subfloats and changing font) [duplicate]

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
29 views

2x2 subfigures instead of 4 rows with subcaption package [duplicate]

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
31 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}{ ...
2
votes
1answer
51 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
57 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
0answers
18 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
41 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
37 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
17 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
49 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 ...
2
votes
1answer
55 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
61 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
31 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
23 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
19 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
64 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
44 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} ...