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

Two vertical aligned subfigures not lining up

I've got two subfigures below each other. They got the same aspect ratio but don't line up as they should. This is my LaTeX code and below is the produced image. unity-slide.png is 1174 x 660 pixels ...
2
votes
2answers
50 views

Two Side by side figures having problem with captions (a) and (b)

I am making presentation in latex, I have two side by side figures with same size. I want to give caption (a) and (b) to the figures left and right respectively, and a main caption (some text) for ...
4
votes
1answer
36 views

Enumerate Minipages inside a figure environment

At the moment I'm working with the figure environment to display two graphs side by side using minipage which works fine. I want to use one caption for both and enumerate the minipages with a small ...
2
votes
1answer
25 views

How to prevent a main caption being wrapped in a figure?

I am writing a paper using LaTeX, and using a subfig package to arrange images. My problem is that the main caption is wrapped when I use 2 x 3 images with subfloat which occupies 2 columns. I have ...
5
votes
2answers
151 views

\ref shows the right label but jumps to the wrong \label

in this MWE you can see/explore (hopefully, as it does not work for me) that \ref{tab:2} produces the right label but if you click on it, it will lead you to the \label{tab:1}. \usepackage{appendix} ...
0
votes
1answer
31 views

subfig captions messed up in IEEEtran class

I have following packages enables: \documentclass[conference]{IEEEtran} \usepackage{caption} \usepackage[caption=false,font=footnotesize]{subfig} This is because IEEE uses its own caption style. My ...
1
vote
0answers
26 views

Adjusting Size of Subfigure captions in Beamer

While including two small images the caption appears to be too large. \subfigure[\tiny Original]{\includegraphics[scale=0.15]{1.jpg}} \subfigure[\tiny New]{\includegraphics[scale=0.15]{2.jpg}} ...
3
votes
1answer
22 views

Setting the height of subfigure

I want to include two subfigures in one figure. I tried the following MWE. It works but I can't find out how to define the height of the subfigures (keeping their aspect ratios) without changing the ...
1
vote
0answers
26 views

Subfigures on different pages [duplicate]

Does anybody know the easiest way to prevent a subfigure from going to the next page? I have 3 subfigures, 1 or 2 of which would easily fit on the previous page, but because it is in one figure, it ...
1
vote
1answer
44 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
45 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
31 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
38 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
16 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
40 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
47 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
23 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
30 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
42 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
21 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!] ...
0
votes
1answer
37 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
30 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 ...
1
vote
0answers
12 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
20 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
50 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
19 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
62 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
39 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
40 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
44 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
33 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
31 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
27 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
33 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
30 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
41 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
39 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
58 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
90 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
58 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
30 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
48 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
45 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
31 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
44 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
52 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
37 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} ...
2
votes
1answer
23 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
51 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 ...