{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)

5
votes
1answer
1k views

Align vertically two tikzpicture in subfloat

I have two sublfoat that I would like to align from the horizontal coordinate line. \documentclass{article} \usepackage{tikz} \usepackage{amsmath} \usepackage{subfig} \begin{document} \begin{figure} ...
2
votes
1answer
393 views

floatrow package, subfigures and cross referencing

I think the question has not been posted already. Here is my problem : I wanted several subfigures within one. I used "subcaption" package at first, as it's the newest. But it appeared that it's not ...
1
vote
1answer
101 views

Different heights of elements of subfloat

I am using "subfloat" to visualize both an image and a table inside the same figure as follows: \begin{figure} \centering \subfloat[Summary statistics\label{subfig-1:tab}]{% ...
2
votes
1answer
2k views

Problems with Subfigures?

As a newbie to LaTeX, I am currently preparing my very first paper. Since the conference to which I am going to submit my paper to requires the authors to use the IEEE conference paper template. I ...
5
votes
2answers
123 views

How can I automatically center all floats including subfloats?

This is a follow up to here. I am using this in my preamble: \makeatletter % inserts a "\centering" to every floatbox. \g@addto@macro\@floatboxreset\centering \makeatother I am having two ...
3
votes
1answer
67 views

Referencing of subfigures is wrong

After Ludovic C. solved my last problem Continous subfigure numbering I have another problem relating to the numbering of subfigures. When I reference a picture with the number (1) like this ...
4
votes
1answer
221 views

Continuous subfigure numbering

I have a lot of files including images and I want them to be numbered continuously. I use many images next to each other, which looks like \begin{figure}[H] \begin{subfigure}[t]{0.45\textwidth} ...
4
votes
1answer
548 views

How to automatically align subfloat captions to xlabel of PGFplots?

Subfloat captions are not usually aligned with their corresponding xlable in PGFplots. One way is to manually move the captions horizontally to align them. For example, (copied from here) ...
1
vote
2answers
267 views

Getting two pictures to appear on the same page

I have two images that I would like to appear on the same page. Each figure should appear as a separate figure with its own caption. My problem is that LaTeX sometimes places the figures on separate ...
8
votes
1answer
2k views

Subtable with multiple tabulars inside does not vertically align properly

The minimal example below yields weird alignment behavior for me (shown in the attached image). I tried a couple of approaches: using minipages instead of subtables didn't work, using xtabs instead of ...
4
votes
1answer
319 views

Align subfloats to the top of the figure

I want to put a listing next to a schematic in one figure. The template of the journal, I am writing my article for, suggests using subfloats. Here is my latex sourcecode, \lstset{ numbers=left, ...
3
votes
1answer
206 views

Sub-images schema with two rows

I would like to show inside my doc sub-images with the following schema: How can I do that? Regards, vi.
3
votes
1answer
220 views

subfig Caption Number is 1a, How to Modify it to 1(a)?

In the following document, the sentence in Figure \ref{fig:loop} in the source produces in Figure 1a in the output, but I want it to be in Figure 1(a). How do I achieve my goal? ...
4
votes
2answers
2k views

Subfigure arrangment with no caption with IEEE format

I have a little problem. I am trying to arrange to subfigures side by side (i.e. a graph and its legend) using the IEEE article format and I cannot remove the subcaption. I was using package ...
3
votes
1answer
5k views

Reduce space between subfigure and the subfigure captions

How can I reduce the space between subfigure and the sufigure captions ? Preamble \usepackage{float}%exact location \usepackage{graphicx} \usepackage{caption} \usepackage{subcaption} % for ...
5
votes
1answer
190 views

How Can I Format My Tikz Figure Correctly?

I am having problems formatting my picture correctly. There are three graphs here. I'd like the first two to be side by side and the third to be under them. With what I've got the first two ...
2
votes
2answers
440 views

subfigures don't show (a) and (b)

I want to insert to graphs into a paper. I want to make these two graphs arranged like the top 2 graphs in the following pic however, using the following source, I can't see (a) and (b) what are ...
3
votes
1answer
129 views

Subfigure without using caption packages?

I'd like to create a figure consisting of two subfigures without using the caption or subcaption package since these two packages seem to destroy my template. But all the solutions for subfigures I ...
3
votes
1answer
699 views

Right-aligned figure while vertically aligning subfigures with beamer

This question is almost a duplicate of this question. The question is asked in a comment, but is never answered. When vertically aligning two subfigures as suggested in section 5.4 of the ...
5
votes
1answer
2k views

latex multirow figures with side caption

I need to create figures and caption as follows. How can I do it?
5
votes
3answers
8k views

Placement of images in row using subfigure

I want to put four figures in a single row. The code I am trying to use is taken from http://en.wikibooks.org/wiki/LaTeX/Floats,_Figures_and_Captions. This puts three figures in a row. When I add a ...
5
votes
1answer
374 views

Moving a subfigure

I need to move the left part of the subfigure in the following picture upward: That is, the image should like the following: so the subfigures are aligned vertically at the top. Document: ...
2
votes
1answer
429 views

Title in subfloat without line-break

My code is like this, but the title of subfigure is with line-break, which looks very ugly? How can I solve it? \begin{figure}[!ht] \centering \subfloat[Subgraph]{ \label{fig:subg} ...
3
votes
2answers
373 views

Errors and alignment of subfigures

I want to put two pictures side by side in a two-column conference paper. The LaTeX code is as follows: \documentclass[conference]{IEEEtran} % Add the compsoc option for Computer Society conferences. ...
5
votes
1answer
588 views

How can I vertically align two minipages with subfigures and differing caption length?

Following "Placing two figures (each having subfigures) next to each other", I used the following code in order to place two figures with subfigures next to each other putting the subfigures ...
3
votes
1answer
94 views

Since the captions have different lengths, I cannot horizontally align the subfigures

\documentclass{article} \begin{figure}[!] \centering \begin{subfigure}[b]{0.24\textwidth} \centering \includegraphics[width=\textwidth]{1.eps} ...
1
vote
1answer
89 views

how to include subfigures in list of figures or sub tables in the list of tables

Currently, \listoffigures and \listoftables display only the root and not the sub parts. I there any way to make them display sub parts as well? I tried searching but found nothing that I can use ...
3
votes
1answer
113 views

Why does hyperref break the labels of subfigures with ContinuedFload?

This is a follow up to here: http://tex.stackexchange.com/a/130629/32245 When I insert \usepackage{hyperref} as last line of the preamble. The main figure (or the two continued figures) are labeled ...
2
votes
0answers
44 views

LaTeX does not render the picture? [duplicate]

I am a bit new LaTeX, so having some difficulties. I am writing a paper using the IEEtran template. I use the graphicx package to insert the figures: \usepackage[pdftex]{graphicx} I try to add the ...
2
votes
2answers
267 views

How to cite a complete figure which contains several subfigures extending over multiple pages

I would like to cite a complete figure (say Fig.1) which contains several sub-figures (say a,b,c,d,e,f,g,h) and extends over next page. Here is the code which I used. \begin{figure}[!htb] ...
1
vote
0answers
33 views

subfig and subfloat stopping doc compiling [closed]

I have a nice little tiled image sequence that relies on \usepackage{subfig} and \usepackage[countmax]{subfloat} being declared. Is it that [countmax] is trying to run against the whole doc and this ...
3
votes
0answers
75 views

subfig and subfloat stopping doc compiling [closed]

I have a nice little tiled image sequence that relies on \usepackage{subfig} and \usepackage[countmax]{subfloat} being declared. Is it that [countmax] is trying to run against the whole doc and this ...
2
votes
1answer
1k views

Error when trying to use the subcaption package

When I try to use the subcaption package (\usepackage{subcaption}), I get some errors. However, using the subfigure package (\usepackage{subfigure}), the compilation is successful with no errors. I ...
2
votes
1answer
134 views

How to order 3 images horizontally (two with sub-figure and the third one is one figure)

I put three figures in a row. One figure is independent one and with a caption underneath; the other two figures are sub-figures. Please see the picture below. I tried to combine minipage with ...
4
votes
1answer
236 views

Using subfloat with hyperref

I have several large figures which I have split over several pages using the \subfloat command. I would like each page in the figure to display the Figure number, but the full caption should only be ...
3
votes
1answer
2k views

Subcaption Package Error

I'm having an issue compiling with the subcaption package. I'm starting to write my thesis, and I originally started a chapter with a separate document. This compiled fine and had the following ...
3
votes
1answer
2k views

How to split a figure over multiple pages using subfigure package

I am using subfigure package and would like to split a figure (that has a number of subfigures in it) into two pages, rather than one single page. I have seen few posts about how to do this with ...
4
votes
1answer
385 views

Placing listing and figure side by side in memoir

I am writing a document using the memoir class where I want to place listings (with the listings package) and figures side by side. My first approach was to save the listing in a box and use subbottom ...
5
votes
1answer
278 views

Two subfigures in two rows

I would like to have two subfigures but on two rows. I tried with this code: \documentclass[11pt,a4paper,titlepage]{report} \usepackage[T1]{fontenc} \usepackage[latin9]{inputenc} ...
10
votes
2answers
4k views

Put subfigure labels inside figures using subfig package

I'd like to put subfigure labels (a), (b), etc., at the top left corner of subfigures like the following figure: I know there are some workarounds like this post (with stackengine) or this post ...
5
votes
1answer
3k views

subcaption/subfigure not centered, and caption too narrow

I'm using the subcaption package to make some subfigures with subcaptions (clearly), in a two column document, specifically the IEEE Transactions journal document class. There are a lot of figures, ...
7
votes
1answer
4k views

Vertical alignment of subfigures with different subcaptions length

I would like to vertically align 3 subfigures (same size), but I don't manage to do so if the subcaptions have different lengths, like here: This is the code that generated the image: ...
4
votes
1answer
362 views

Arrange four images with letter captions and vertical/horizontal separators

I would like to arrange four images in a similar style to this code taken slightly modified from Four Arranged Figures are offset . \documentclass{article} \usepackage[demo]{graphicx} % leave off ...
5
votes
2answers
906 views

Subfigures with number inside figure

I like to have 3 (or whatever number) images and I like them to be as subfigures with numbering a), b), c) and so on: Here, the numbering is done manually and I wonder if there is a way to let LaTeX ...
2
votes
2answers
2k views

Is it possible to use subcaption inside a minipage?

I have tried formulations of using subcaption inside minipage--subcaption and subcaptionbox. I have also look at some threads but couldn't find anything doing what I needed. Please note that this ...
5
votes
1answer
2k views

Subcaption: having two subfigures captions on the same line

In my document, the TikZ pictures have different bounding boxes so the two subfigures have staggered captions. \documentclass{article} \usepackage{standalone} \usepackage{subcaption} \begin{document} ...
2
votes
0answers
440 views

Subfigure plot in conflict with psfragfig

I am trying to place 2 graphs one next to the other using pstools. I have generated 2 graphs using the commands hFig = figure(1); set(gcf,'PaperPositionMode','auto') set(hFig, 'Position', [0 0 300 ...
2
votes
0answers
544 views

center align 2x2 plot of subfigures [duplicate]

I've got a 2x2 plot of subfigures that is too wide to fit within the margins of a page. Latex left aligns it and the right hand side goes off the page. I would like to center align the whole thing ...
4
votes
1answer
1k views

Incompatibility problem of the packages subfig and subcaption [duplicate]

I want have three subfigures in a special order. One on the right, two on the left. Therefor I found a snippet here on StackExchange. Alone the snippet works fine, you can check this by comment out ...
1
vote
2answers
170 views

Why don't these figures align horizontally?

I am trying to use the subcaption package for horizontally aligning up some figures, and I did as the documentation instructs me to do, yet the result is these are vertically aligned. It really ...