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

Alignment of captions in subcaption

I am using subcaption and want to have the following effect. I want the main figure to contain several subfigures. I want the subfigures to have captions that only come from the \caption{} tag, i.e. I ...
18
votes
2answers
2k views

subfigure and subfig packages deprecated

I was using the subfigure package to align multiple small images in a document. However, WikiBooks states that "the subfigure and subfig packages are deprecated and shouldn't be used any more" ...
3
votes
1answer
62 views

subfig reference layout

I have the following working example \documentclass{article} \usepackage[subrefformat=parens,labelformat=parens]{subfig} \begin{document} \textbf{Error} This should say Fig. 1\textbf{a}, not ...
4
votes
2answers
135 views

Error : Too many unprocesssed floats, multiple figures single page

I am trying to include 3 figures on a single page. I tried the following code: \begin{figure}[t!] \begin{center} \includegraphics[scale=0.5]{images/Figure1.pdf} \caption{Figure 1.} \label{fig1} ...
2
votes
1answer
83 views

Multiple listings in one box with sub captions and using listings counter

I am using separate counters for (graphics) figures and listings. I am using the caption and subcaption packages. I construct sub-figures using subfigure: \begin{figure} ...
2
votes
2answers
487 views

Put two pictures above one another within one sub float / reference problem

I was going through some crazy hoops to get minipage and subfloat work nicely (?) together, only to find out in the very end that I screwed up the figure references. I have a figure with two ...
6
votes
1answer
341 views

How to keep multiple figure together

I have 6 graphs that I have to keep together while showing. I have to make them almost same width as text width, otherwise the graphs will not be properly seen. So I cannot add them side by side but I ...
2
votes
2answers
1k views

Arranging multiple plots in a grid inside a figure/subfloat

I have a grid of pie charts which go into subfloats. The number is odd, and I would like to have them on a 3x2 grid, where the cell in the bottom left is empty. I have simulated this by putting an ...
4
votes
1answer
77 views

Spacing captions in a subfigure environment

I'm trying to use the subfigure environment to generate side-by-side images with captions, however because the images are different heights the captions come out at different heights. Also, they come ...
4
votes
1answer
58 views

Package conflict in `subfig` and `ifthen`

MWE: \documentclass{article} \usepackage{subfig} \usepackage{ifthen} \begin{document} \begin{figure} \subfloat[\ifthenelse{1>0}{foo}{bar}]{\rule{3cm}{3cm}} \end{figure} \end{document} Error msg: ...
1
vote
1answer
2k views

“Missing number, treated as zero” error adding subfigures

I was ok doing my college work, then I needed to put figures on it. I looked at the Wikipedia's example where it used subfigures, so I tried to use in my work. The following block is public at my ...
13
votes
2answers
407 views

How to draw 3 figures and have them side by side while they're connected

I would like to have 3 figures side by side, as in one of my previous posts. However, this time isn't the same. I would like to link my figures as below: My problem is not only how to put my ...
2
votes
0answers
454 views

MiKTeX Package Manager not installing subfigure package [closed]

I am trying to install subfigure package in MiKTeX using: mpm --verbose --install subfigure But when I run this command in cmd in Windows 7, the crash notification comes up saying: MiKTeX Package ...
2
votes
1answer
353 views

How to change subcaption font size in Lyx?

I want to set the font for captions and sub-captions in my Lyx document to 'large'. There is no issues with changing size of captions, but I can't change sub-captions. Here are the preambles I try to ...
2
votes
2answers
113 views

Reference to a subfigure

I'm using subfigure for some images. To reference to them in the text, I use the \autoref{fig:test} command. But this doesn't matter the problem is the same with \ref command. To shorten the name I ...
2
votes
0answers
224 views

Multiple \label commands before \ref

I have tried several approaches to solve my problem but unfortunately none successful yet. I can not find documentation mentioning how to solve this particular case. My problem is that I am using a ...
2
votes
0answers
99 views

subfloat alternatives

I'm trying to submit a paper to a journal. I submit the TeX archive which includes the tex file + figures in pdf format. However, it fails to compile in the queue, whereas it obviously compiles ...
4
votes
2answers
279 views

How to make grid of pictures span across entire page

I am writing a paper that has a template which runs text down two columns. I have a 2x3 (2 wide, 3 tall) grid of images that currently are contained in one column. I'd like to make it a 3x2 grid ...
6
votes
2answers
174 views

setup of 5 figures as 2x3 table with 6th cell having the caption

I want the figure to look like the following. Cant figure out how to do that using graphicx or subfloat. :s please help :) After the discussions: \begin{figure}[htb] ...
1
vote
1answer
692 views

How to remove caption of some subfigures?

I have four figures and want to put them together as subfigures. However, I don't want the first one to have a caption. Can anybody figure it out please? Thank you in advance! \begin{figure}[t!] ...
5
votes
1answer
368 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
132 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
77 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
637 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 ...
4
votes
2answers
82 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
56 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
117 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
331 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
125 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
456 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
245 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
132 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
143 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
602 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
1k 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
160 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
223 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
101 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
409 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
778 views

latex multirow figures with side caption

I need to create figures and caption as follows. How can I do it?
4
votes
3answers
1k 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
179 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
220 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
169 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. ...
4
votes
1answer
192 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
66 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
66 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
81 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
43 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
158 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] ...