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

4
votes
3answers
750 views

Rotating a set of pictures aligned in multiple rows

I made a figure that displays 2x3 images. However, I would like the whole figure, except the caption, to be rotated for 90 degrees. Here is the code that I tried to adjust by 'rotatebox' command: ...
6
votes
1answer
344 views

How to share a counter for a subfloat

I am trying to make a listing float containing 3 subfloats. I have managed to to make the actual float by combining the answers from question1 and question2. Now I only need to make mylisting use the ...
1
vote
1answer
9k views

Align subfigures vertically

It is easy using subfigure environment to place some figures side by side. How could we do it one on the top of the other one without messing with the alignment? Using linebreak (\\) instead of \; for ...
16
votes
2answers
41k views

Subfigure: error “Missing number, treated as zero”

\begin{figure} \center \begin{subfigure}[b] \includegraphics[width=60mm]{a} \label{fig:a} \end{subfigure} % \begin{subfigure}[b] ...
1
vote
1answer
2k views

option clash for tocloft

I have the following packages: \usepackage{amssymb,amsmath,graphicx} %\usepackage{subfigure} \usepackage[titles,subfigure]{tocloft} \usepackage{epstopdf,mathrsfs} \usepackage{algorithm} ...
3
votes
2answers
3k views

Trying to put a box around a collection of subfigures

I'm trying to have a bounding box around the following figure: \begin{figure}[htp] \begin{center} \subfigure[Process with no error]{\label{noerror}\includegraphics[width=1.5in]{noerror-process}} ...
7
votes
1answer
3k views

IEEEtran, subfig clash?

The following code which uses the IEEEtran class, and subfig produces compile errors like, "argument of caption has an extra }", or "TeX capacity exceeded" etc. But the moment I comment out the ...
4
votes
1answer
581 views

Why subfigure are not centered

I'm using beamer with subfigure. I would center it but doesn't work. Why? A MWE follows: \documentclass{beamer} \mode<presentation> \usetheme{Warsaw} \usepackage[utf8]{inputenc} ...
1
vote
1answer
921 views

\twocolumn undefined control sequence }] [closed]

I am trying to add a figure (a center environment) two a \twocolumn command. I tried this: \documentclass[10pt,twocolumn]{article} \usepackage{graphicx} \usepackage{subfig} \begin{document} ...
5
votes
3answers
2k views

Position of figures

I have a question: can I put 3 pictures one beside the other in the same line? Actually I put them one after the other and I would like to put them in the same line if is possible. This is my code ...
1
vote
1answer
871 views

Span columns with a 'center' environment

For the question How to place a "banner image" at the top of a paper the solution was to use a center environment to create a non-floating figure: \documentclass{acmtog} ...
2
votes
1answer
198 views

tkz-linknodes, subfig problems of alignment

I don't succeed in managing the alignment among the various figures. How can I do? thanks \documentclass[a4paper,11pt]{article} \usepackage[utf8]{inputenc} \usepackage[upright]{fourier} ...
3
votes
1answer
940 views

Span sideways figure over multiple pages

I have to place two sidewaysfigure spanned each one on different pages. \begin{sidewaysfigure} \ContinuedFloat \centering \subfloat[Change in ...
6
votes
1answer
726 views

Incorrect figure numbering when using subfloats in a subfloatrow

I have a document with a lot of subfigures which are different heights and need to be placed side-by-side and centered vertically. It seems like the floatrow package is ideal for this. After much ...
6
votes
1answer
722 views

How to place two ctables side by side

ctable, not a regular table/tabular. How can I get two narrow ctables to go side by side? I want them to be subtables of a larger table, just two independent tables side by side. I've tried using a ...
9
votes
1answer
3k views

Change caption width together with subfloat

In the following code the package that give the problems is \usepackage[font=small,format=plain,labelfont=bf,up,textfont=it,up,width=0.85\textwidth]{caption} What I want to do is change ...
5
votes
4answers
6k views

Problem with subfigure numbering using ContinuedFloat

I am using the subfig package for including subfigures into my thesis. That alone has been going without problem. However, as soon as I use the \ContinuedFloat command in order to split a figure over ...
11
votes
3answers
2k views

One caption in listoffigures for a ContinuedFloat

I am using the \ContinuedFloat command of the subfig package to print a series of figures in more than one page. I would like to have one caption in the List of Figures and "compress" the pages so ...
4
votes
1answer
863 views

Adjust a Grid of Photos

I am using the following code snippet to place 11 figures into a 3x4 grid: \begin{figure}[htbp] \caption{\label{fig:aliev-panfilov-frames}The result of monodomain model combined with Aliev-Panfilov.} ...
1
vote
1answer
1k views

Subfloat caption in wrong position

My subfloat command is standard and simple: \documentclass[12pt]{article} \usepackage{graphicx,subfig,caption} \begin{document} \begin{figure}[h!] \centering ...
8
votes
1answer
596 views

Controlling the subcaption space in memoir

Memoir provides these two declarations to control the vertical space surrounding a subcaption: \tightsubcaptions \loosesubcaptions I was wondering if there is a way to control this spacing more ...
1
vote
1answer
284 views

Can't include child document in subfigure

I'd like to save the PSTicks code for my images in seperate files and then include them with \include{image.tex}. This works fine with normal figure floats. But when I use subfloats, I get the error: ...
5
votes
2answers
3k views

Double spacing within the caption of a figure

I am using the memoir class on my thesis and I have the \DoubleSpacing command in my document to set up double spacing through the document. This works great. However, I have a figure with subfigures ...
4
votes
3answers
8k views

subcaption package incompatible with memoir class?

When I try to compile a document with the memoir class and the subcaption package I get the following error: ! Package subcaption Error: This package can't be used in cooperation with the ...
6
votes
1answer
3k views

subfig package displays “figure” below caption

I've included the subfig package in my latex document. The word "figure" is appearing below the main caption in each figure (even those not using subfloats). Has anyone had the same problem? ...
4
votes
1answer
2k views

Adding space between subfigures of tikzpicture (for caption)

I'm trying to draw two figures next to each others using tikzpicture. It's working fine, but the caption of the sub-figures is looking weird. I tried adding the \qquad's, but I'm still having the ...
3
votes
1answer
181 views

Misalignment of text in other cells when figure is placed in table (bounding box problem)

Here is my code: \documentclass[10pt]{article} \usepackage{amssymb} \usepackage{amsfonts} \usepackage{amsthm} \usepackage{amsmath} \usepackage{bigints} \usepackage[pdftex]{graphicx} ...
3
votes
1answer
838 views

How can I align Tables and Figures vertically with Subfig?

---------- TABLE ------------ | a | b | FIGURE 1 | c | d | | e | f | | ...
12
votes
1answer
13k views

Include table as a subfigure

Is it possible to include "table code" as a sub-figure (instead of an image) using the package subfig? If so, how?
2
votes
1answer
923 views

Aligning subfigures

I am trying to align two subfloats so that their captions are on the same horizontal line. The figures themselves should be centered. The code I have is the following, but what I am getting is in the ...
6
votes
1answer
16k views

Vertical space between figures

I really want to get rid of some of the whitespace between figures and subfigures, it is completley unecessary and sometimes causes a page of figures with a third landing on page two with text, while ...
5
votes
1answer
5k views

Trouble with sub figures

I just started using a big template for a paper. With this template, if I \usepackage{subfig}, I get : Unsupported document class (or package) detected, (caption) usage of the caption package is not ...
8
votes
1answer
346 views

display the caption of a figure as if it was a subfigure

I know how to use the subfig package to fit many subfigures (each with its own caption) into a larger figure (with a general caption). I know how to use the sidecap package, the put a figure's ...
1
vote
0answers
556 views

Use \subfloat in custom float/caption [closed]

I am trying to use subfloats in a custom caption/float environment. But I get compilation errors. MWE: \documentclass[a4paper]{report} ...
3
votes
1answer
219 views

Change the reference style for subfloats: from 1a to 1(a)

How to change the reference style to subfloats (package subfloat) in a figure from <number><letter> to <number>(<letter>).
5
votes
3answers
3k views

float and subfig package interference: subfigures with exact placement

I'm using the subfig package for subfigures and the float package for forced float placement (H). Using both these packages results in the subcaption not getting reset. The following example shows six ...
2
votes
1answer
702 views

Subfigure numbering for Greek - XeLaTeX

I am writing a thesis in Greek. Everything compiles well and the produced document is the desired one except one little problem. The numbering on my subfigures is followed by a small rectangle, i.e. ...
4
votes
1answer
3k views

KOMA-Script: caption, subfig, and captionlabel

My problem is best illustrated with an example: \documentclass{scrreprt} \usepackage{caption} \captionsetup[subfigure]{font={sf,md,sl,small}} \setkomafont{caption}{\itshape\sffamily} ...
4
votes
2answers
958 views

verbatim inside subfloat?

When I write the following \subfloat[caption]{\label{fig:xxxx}\verb+xxxx+} I get \verb illegal in command argument. Seems that isn't possible to define a verbatim environment inside a \subfloat. ...
17
votes
2answers
6k views

How to build and combine sophisticated layouts in figures

How can I get a layout like the one below in my document?                 With this question, I am looking for: An ...
24
votes
4answers
41k views

Reduction of Space between two Sub-figures

I want to reduce the space between two subfigures and use that space to make those subfigures large. How to do that? My code is as follows: \begin{figure}[htp] \centering ...
5
votes
1answer
3k views

Two diagrams side by side

I am trying to put two feynman diagrams side by side, but they get displayed below eachother. I am using feynmf and subfloat. This normally works for pictures. \begin{figure}[ht!] \centering ...
6
votes
1answer
13k views

Subfloat caption width requirements and alignment problems

I'm having problems with conflicting width requirements for subcaptions on subfloats that are horizontal versus vertical. I've spent considerable time searching here and more broadly, poring over the ...
1
vote
1answer
209 views

Floating object inside another floating object in ConTeXt

I need page where is text column with pictures on the left side. Inside the text column I need on the right side floating letter. Here is code: \starttext \startfiguretext[left]{none}% ...
3
votes
1answer
1k views

Get combine a `sidewaystable` with a `subfloat` from `subfig`

I use the subtables environment from the subfloat package to combine table numbering (i.e., any tables I wrap in the subtables environment get labeled 1a, 1b, and so on). But I just learned on the ...
5
votes
1answer
27k views

Problem with \subfigure

I am having some troubles in using \subfigure in LaTeX. Here's my code: \begin{figure*}[t] \centering ...
9
votes
1answer
4k views

vertically align different size images in a figure* environment

I have an figure* environment with the following \begin{figure*} \centerline { \subfloat[1]{...} \subfloat[2]{...} } \end{figure*} The images are different heights. How can I ...
7
votes
2answers
744 views

Subfloat indexes misaligned when using setcaptionwidth

I have the following document: \documentclass{article} \usepackage{subfig} \usepackage{graphicx} \usepackage{geometry} \setcaptionwidth{12cm} \begin{document} \begin{figure}[t] \centering% ...
1
vote
1answer
5k views

How to put subcaptions below subtables, and increase gap between subtables with 'subfigure'?

Using 'subfigure', how can I create subtables within a table, such that a) subcaptions are underneath each subtable, and b) there's a reasonable horizontal gap between the subtables? So far I've only ...
8
votes
2answers
5k views

Place four algorithms (algorithm2e) in a subfigure and arrange them in two rows and two columns

I want to arrange four algorithms set with the algorithm2e package in two rows and two columns, as shown in the figure below. I've tried the subfigure package and have also read several related ...