{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
412 views

plotting side by side two subfigures in a one figure in an llncs class file [duplicate]

I want to plot two figures in the same line. I'm also using the llncs Springer class file found here for my document. I have these two figures: \begin{figure} \begin{tikzpicture} \begin{axis}[ ...
2
votes
1answer
166 views

side by side subfigures alignment problem

I am new in latex writing. I am have problem with figures alignment. I am trying to put six figures on single page side by side. but the last figure is bit right shifted. I am no getting what could be ...
1
vote
0answers
338 views

Why doesn't latex recognize my subfigure?

I'm trying to work with subfigures and although it does work in the final document, in the editor the \begin{subfigure} lines are marked orange with the text: unrecognized command. Why is this? \...
3
votes
1answer
221 views

Figure and two subfigures side by side using caption/subcaption

I've looked at many questions asked here but I don't find quite what I want. Here's roughly the desired output : i.e : On one line a Figure and side by side a Figure made of two subfigures. I don't ...
0
votes
0answers
39 views

Vertical space after grid of figures

So I've tried using normal subfigure environment as well as this Align 16 small images in a 4 x 4 grid and yet I still get this crappy result. How can I remove this vertical space, note that it is not ...
2
votes
1answer
75 views

figure with subfloats is positioned incorrectly

I'm trying to position 3 figures in a column using this code (IEEE document): \documentclass{IEEEtran} \usepackage[demo]{graphicx} \usepackage{subfig} \begin{document} Text \begin{figure} \centering ...
2
votes
2answers
225 views

Counter too large ERROR when it shouldn't

My Latex document suddenly stopped compiling and raising the "! LaTeX Error: Counter too large." error for no apparent reason. It compiled before, with the same amount of figures and subfigures, but ...
1
vote
1answer
280 views

Captions in subfigures and skip subfigures in List of Figures

I don't know whether the two are related each other but I cannot figure out a way to achieve both. What I try to do is basically Put a custom caption below the figure Subfigures automatically ...
1
vote
1answer
44 views

controlling subfloats [duplicate]

I have the following figures created using tikz. I want to center subfigure a so that it will be at the same vertical space as the middle of subfigure b. Here is my code: \documentclass{article} \...
1
vote
1answer
69 views

figures and sub figures are too wide in a row to see in the document

I am facing an issue of floated figures and their sub figures and tables adjustment in the compiled document... They get out of the document and can't be seen when it is compiled. kindly help!
2
votes
1answer
63 views

How to put figure labels above rather than below each image in a multiplot layout?

For example in the following code, each image has its label (a) (b) (c) (d) below the image. I would like to place it above the image. \begin{figure}[h!] \begin{subfigure}[b]{.329\textwidth}...
3
votes
2answers
130 views

Numerating captions of subfigures

I have two figures to add into a single figure environment. When I use subfigure, I got the following error: ! Missing number, treated as zero. <to be read again> } l.25 ...
0
votes
0answers
132 views

Using subfigure without \textwidth command in AAAI format

I want to use AAAI format to write a conference paper. Conference forbid using \textwidth or any other commands that alter page layout but I want to use subfigure to put some figures beside each other....
1
vote
0answers
17 views

LyX: Two differently sized subfigures with a combined width of 100% columnwidth

On LyX I'm trying to create 2 subfigures (one with a square shaped graphic and one that is tall and narrow) side-by-side, such that their combined width is 100% of the column (or page). How do I do ...
2
votes
1answer
49 views

Vertical center aligning pictures and minipages using subfig

I am trying to place 3 sub numbered picture beside 3 unnumbered table and have each picture center aligned with one of the tables. For this I am using the subfig package and minipages to put the ...
3
votes
1answer
73 views

How to typeset uneven length captions?

I have a pair of figures with uneven levels of information needed in the captions (though in both cases documentation that really should go in the caption instead of elsewhere). How could I best ...
0
votes
0answers
25 views

Use of tabular format to insert images [duplicate]

I have used a table to insert images using the suggestion at this SO question. The problem is that I have several images to be placed and hence the images start getting hide behind the bottom of the ...
1
vote
1answer
287 views

Vertical colorbar (in tikz) + subfigures (png)

I have an issue with the placement of a colorbar. The colorbar is defined separately in a tikz-environment, as suggested in this topic. My goal is to place one colorbar together with 4 png pictures (...
1
vote
1answer
62 views

How to get subfigure alignment

I have a 3 figures and I am trying to put them on one line but I can't achieve that. Any help would be great. Here is my code: \documentclass{article} \usepackage[demo]{graphicx} \usepackage{caption} ...
3
votes
2answers
116 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
53 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
140 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 ...
2
votes
1answer
168 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
68 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
201 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
127 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} \def\pgfsysdriver{pgfsys-tex4ht....
0
votes
0answers
164 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
57 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
77 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
84 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
375 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
92 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} \usepackage{...
1
vote
0answers
39 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
2k 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
78 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
105 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
721 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
284 views

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

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 the ...
4
votes
1answer
73 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} \usepackage[utf8]{...
2
votes
1answer
57 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
70 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
28 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} \usepackage{...
1
vote
0answers
17 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
183 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: \...
2
votes
1answer
410 views

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

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.5\...
0
votes
1answer
30 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
119 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
173 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
34 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
71 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 ...