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

9
votes
2answers
3k views

Top-aligned subfigure with bottom-aligned caption

This is a follow-up to an earlier question regarding left-aligning subfigure captions. Having achieved the left-alignment goal, I would now like the caption of the subfigure to be bottom-aligned, ...
2
votes
1answer
326 views

Right-justifying vertical subfigures in a two-column document

I am trying to include a pair of subfigures in my two-column document, stacked one on top of the other. I want them to be right-justified; to achieve this with individual figures I have been using ...
3
votes
2answers
508 views

Arrange three images

I need to arrange three figures in a two column document as follows
5
votes
1answer
344 views

Horizontally align subfloat in figure

I am putting three figures on one row, and the width is not enough if I want to show them clearly (big enough). I used to use hspace to manually shift the figure, but it doesn't work this time. (It ...
2
votes
1answer
283 views

Counter too long subfigure

I'm trying to make a igure with more than 26 subfigures, therefore, the counter of the alphabet is not enough since it goes only to the z. I tried as suggested in other posts to use the package ...
1
vote
1answer
179 views

Subtables using r+hmisc

I'm not absolutly sure if it is the right place to ask my question. I use R+knitr to produce a weekly report(s) from a large database. For my tables I find very convenient to use hmisc's latex ...
8
votes
1answer
339 views

How to align these two tikz figures better?

I'm quite new to latex and I'm trying to get two tikz figures side by side. I've honestly just looked up "tikz figures side by side" and taken code and re-adjusted it to give the figures I want, so ...
1
vote
1answer
222 views

How to reference the whole figure with subfig?

I'm using the subfig package in the following way: Samples of our recordings are shown in the Figure XXXXX. \begin{figure} \centering \subfloat[`One']{\includegraphics[width=8cm]{One.eps} ...
3
votes
1answer
82 views

Two figures side by side with two captions and alphanumeric counting [duplicate]

How can I have two figure side by side with two captions and in the floating format, like fig. 10A. some caption fig. 10B. some caption
3
votes
0answers
37 views

Arrange subfigure according to the text [duplicate]

I have a little issue. I have a figure made by 5 subifgures. They fill perfectly a page. The problem is that, when I have some lines of text before the image, the figure goes to the next page without ...
6
votes
2answers
219 views

How to customize cleveref package macro to be consistent when multiple figure references are used in this case?

The cleveref package does a very nice job of sorting the labels of the many references for you (whatever they are) in their natural order. However, I was stumbled by a special case when I wanted to ...
3
votes
0answers
90 views

Tricky problem with sources in list of figures

I've a very tricky problem here: MWE: \documentclass[12pt,german]{article} \usepackage[demo]{graphicx} \usepackage{caption} \usepackage[list=true]{subcaption} \begin{document} \begin{figure} ...
3
votes
1answer
491 views

How to annotate figures with TikZ without affecting the float position? a template for western blots

I want to do some kind of figures, typical of Western blotting in biology. The figures are enclosed with a frame using mdframed package. A MWE example is shown below. In the middle of creating this ...
2
votes
2answers
252 views

How to center align the below subfigure when it stands alone?

I have three subfigures as shown in the MWE below, I want to align the subfigure c in the center below the two upper figures, how to do that? \documentclass{scrartcl} \usepackage{caption} ...
3
votes
1answer
93 views

How to cross-reference a list of sub figures at once? [duplicate]

How can I define a command similar to \ref for referencing a list of subfigures at once? Just like what cite package does for citations. A command like \myref{a,c,d} which can be tuned to generate ...
0
votes
2answers
201 views

Horizontally aligning figures in tikz

I have produced two figures using TikZ that currently consume one full page(each taking up a half of the page). I want to scale these images and place them side by side horizontally so that I can save ...
2
votes
1answer
246 views

How to set subfig options independently from caption options

My aim is to set the font style for caption labels as small caps and for sub-caption labels as normal. But apparently the option sc of the package caption also trickles down into sub-captions.. ...
4
votes
1answer
886 views

TikZ: Crop images after placing them

I have a ton of microscopy images to include in a report, some of these images have rather uninteresting information I want to crop. Since I add scale bars using TikZ and therefore require all image ...
4
votes
1answer
181 views

Subfloat: Label beside, caption below

I'm looking for a possibility to put the label (a),(b),(c)... of a subfigure beside the subfigure and the caption below. So I'm tried sidesubfigure (Subfig label positioning), which puts the label ...
3
votes
4answers
342 views

Center overfull subfloats

I have some plots that I want to group together into one figure as subfigures using subfloat. I want to align them as two per row but it seems they are too big (Overfull \hbox). Nonetheless I want ...
2
votes
4answers
558 views

Align pictures in subfigure

I'm having troubles with the subfigure package and proper alignment of figures. I'm inexperienced with Latex so please apologize obvious mistakes. The top-left figure is not properly aligned with the ...
5
votes
1answer
101 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 ...
24
votes
2answers
20k 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
104 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 ...
6
votes
2answers
573 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
158 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
2k 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
2k 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 ...
7
votes
2answers
7k 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
146 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
116 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: ...
2
votes
1answer
8k 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
646 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
1k 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
2k 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
226 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
291 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
221 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
539 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
358 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
2k 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
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
426 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
106 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
3k 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
127 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
71 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
234 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
589 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
313 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 ...