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

2
votes
1answer
372 views

Subfigure moves figures on the top of page

I tried to put two figures in one row and I found that subfigure package could help me. But code: \documentclass[11pt, a4paper, draft]{article} \usepackage{graphicx} \usepackage{caption} ...
3
votes
1answer
796 views

Subfigures side by side not working

I am trying to set two figures side by side while using the picture environment instead of includegraphics as shown in most examples here. Unfortunately they are displayed stacked and I do not know ...
2
votes
1answer
559 views

How to make an article's table of contents clickable so it can redirect to a section?

I'm using Mixtex 2.9 in Windows XP and I'm trying to make my article's table of contents clickable. I tried to add the package hyperref like this: \usepackage{hyperref} \hypersetup{ colorlinks, ...
1
vote
1answer
195 views

Subfigure with caption within an itemize list not indenting correctly

To make it short, I have exactly the same problem as described here Figure with caption within an itemize list not indenting correctly except, the fact that I am using the subfig package and the ...
5
votes
1answer
2k views

Wrong figure reference number

I'm trying to insert a figure in a LaTeX file, but LaTeX always gives the reference number of this figure as figure 1 instead of 2, although there is already a figure 1 earlier in the document. I also ...
5
votes
1answer
390 views

tufte-latex and subfloat positioning

I'd like to have two rows of top-aligned images, with top-aligned captions below each. This answer provides a technique using the floatrow package, but something in that package (or one of its ...
5
votes
1answer
1k views

Adding vertical space between figure and numbering

I have the following MWE: \documentclass[a4paper,10pt]{article} \usepackage{graphicx} \usepackage{subfig} \makeatletter \newbox\sf@box \newenvironment{SubFloat}[2][]% {\def\sf@one{#1}% ...
3
votes
2answers
276 views

Align columns in multiple subfigure tables in figure environment

Here's my code: \documentclass{article} \usepackage{booktabs,caption,subcaption} \begin{document} \begin{table}[h!] \caption{Main figure} \begin{subfigure}{\linewidth} \caption{Table 1} %Table 1 ...
3
votes
1answer
412 views

Nested subfigures alignment

I'm having trouble creating a 2x2 grid of subfigures. With this tex below, I get a 1x4 grid instead. I'm probably not understanding how the 0.5/textwidth worked, I presumed it used the parent's ...
1
vote
1answer
1k views

Aligning figures using subfigure Error: Not in outer par mode

I am soooo lost! have no idea why I keep getting this error. I have tried almost every combination of subfigure, float, centering but I keep getting "Not in outer par mode" error \begin{figure}[htp] ...
4
votes
1answer
319 views

grid of figures, caption to the left of each row

I think the title says it all: I took photos of 5 object from 3 different angles. So for each object there are 3 pics. I would like to display them so there's a row per each object, and in that row ...
10
votes
2answers
299 views

Why is picture and matrix not drawn at the same height

I'm trying to put a adjacency matrix beneath a graph using subfloat. The graph is drawn with tikz. No matter what I do, the matrix is put below the graph as shown here: The code is here: ...
2
votes
1answer
851 views

Inserting subfigures

I'm trying to insert a nested figure using the environment subfigure following the example in http://en.wikibooks.org/wiki/LaTeX/Floats,_Figures_and_Captions#Subfloats I added the following extra ...
3
votes
2answers
861 views

Aligning subfigures both horizontally and vertically with memoir

I'm trying to place 4 subfigures of different sizes aligned. Here the box-k.pdf files contain boxes with marks at the midsides. The result has box-1 and box-3 aligned at the left margin, not centered ...
6
votes
1answer
216 views

How to stack two subfigures next to a third subfigure?

I'm using the subfigure environment to show 3 graphics in one figure environment. However, I'd like to arrange them in the following order (subfig1 is larger than the other two): | SUBFIG1 | SUBFIG2 ...
7
votes
1answer
1k views

How to vertically align two pgfplots in subfigures?

I want to have two subfigures in a figure. Each subfigure contains a simple pgfplot. Here is what I have: \documentclass[12pt]{article} \usepackage{subcaption} \usepackage{pgfplots} ...
3
votes
1answer
372 views

How can we fix subfigure in multicols enviroment

I am using {multicols*}{2} and want to show nonfloating subfigures and have tried following method, but no success, rather it does not show anything. Could you please guide me about the solution. ...
3
votes
1answer
237 views

IEEE paper submission subfig missing

I use IEEEtran bare_jrnl.tex and my .tex file builds on my machine without any problem. I use subfig package. (subfigure doesn't work) When I try to submit my manuscript IEEE page says subfig is ...
1
vote
0answers
747 views

Trouble with subfloats/subcaption/subfigure [closed]

I compiled my tex file in Linux without any problems (text edior: Xemacs). I'm now running the file in TeXWorks with MikteX. I used the subfig package and the following worked perfectly: ...
6
votes
2answers
471 views

compare two diagrams side by side

I'm trying to compare two diagrams in pdf format side by side. I have this post - Two figures side by side to get some hint. This is the code that I'm coming up with. \begin{figure} ...
3
votes
2answers
1k views

Numbers instead of letters with subfloat

I have a document with a figure environment that looks like this: \documentclass[a4paper,10pt]{article} \usepackage{subfig} \usepackage{tikz} \makeatletter \newbox\sf@box ...
6
votes
2answers
2k views

multiple algorithm2e algorithms in two column documents

I tried this example Place four algorithms (algorithm2e) in a subfigure and arrange them in two rows and two columns on two column documents. It doesn't work. The error message is ! LaTeX Error: [H] ...
4
votes
1answer
873 views

Obtaining the behavior of both subfigure and subcaptionbox in the subcaption package

In the subcaption package, the default way to create subfigures is when the subfigure environment: \documentclass{article} \usepackage{caption} \usepackage{subcaption} \begin{document} \begin{figure} ...
7
votes
1answer
2k views

LaTeX Centering newline in subfloat caption

I have these images with their title beneath: I want to add some information below, like this: The good news is, I'm able to do it. The last screenshot is from my pdf previewer. ...
6
votes
2answers
1k views

Align captions of subfigures:

Hi I want to include the following two tikz figures in my document: \documentclass{article} \usepackage{tikz} \usepackage{subcaption} \begin{document} \begin{figure} ...
2
votes
1answer
299 views

Crop a float containing subfigures horizontally with Preview or Standalone package

I have a float containing subfigures. I want to "export" it as a single item so that I can include it elsewhere as one object. I tried to use the Preview package with [active,floats,tightpage], but it ...
3
votes
1answer
154 views

Crop to floats with Preview but skip caption?

I would like my 'figure' environments to be exported tightly cropped. If I use this: \usepackage[floats,active,tightpage]{preview} the caption is included. If I use this (of course, with real ...
6
votes
2answers
884 views

Placing two figures (each having subfigures) next two each other

I would like to place two figures, where each figure has subfigures next to each other. I tried with minipage, but tex does not like the \subfigure as Not in outer par mode. Is there any way to place ...
5
votes
1answer
743 views

subfigures don't appear in list of figures

I've a problem with using subfigures. I want to list their caption in the list of figures. In my opinion this should not be a problem. I have read the subfigure package description ...
6
votes
1answer
2k views

Using subcaption with graphicx: How to solve the “Missing number treated as zero” problem?

I'm trying to use the subcaption package to build composite figures. When I try to include an image using \includegraphics{}. I get the error beneath. I know this is very similar to Subfloat with ...
3
votes
2answers
359 views

Font-sizes in figures and subfigures

Assume the following example of two images inside a figure environment The left image uses font-size 10 and is not scaled. Therefore, the numbers on the axes are of the same size as the Main ...
6
votes
1answer
457 views

Tikz overlay for subfigure environment- beamer

I have been trying to create a list and a bunch of subfigures (both on each half of the slide). I have used \setbeamercovered{transparent}to progress along the list per keystroke. I want this ...
2
votes
1answer
2k views

Subtables, column separate line draws out of table

I am using subtable environment to put two tables side by side. However, the column separate line between the first two columns draws out of the table. Anyone can help with this issue? Sample code ...
3
votes
1answer
725 views

Problem with subfig and pgfplots' graphs

I have a problem with the subfigenvironment. My two graphs created with pgfplots are too large to stay together. How can I fix that? % Graphique \begin{figure} \centering \subfloat[]{$\tau = ...
6
votes
1answer
879 views

How to layout four figures with floatrow, two of them vertically?

how can I get a layout like the one below in my document? _____________ _____________ _______________ |Big Picture1| |Big Picture2| |Small Picture1| | | | | |______________| | ...
7
votes
1answer
1k views

Is it possible to make a reference to a subfigure to appear Figure 2(a) with cleveref?

I am new here, and also new to LaTeX, so apologies if I have included too much or too little! I have been using the subfig package, and just today added in cleveref. The subfig package labels my ...
2
votes
1answer
114 views

How shoud I manage captions and sub captions with float and non float items?

I am currently writing my PhD thesis and I am using this code to put some figures or tables on the left page. So, I have two kinds of figures, some are in a float, some are not. In both cases, I often ...
3
votes
1answer
730 views

centering figure, containing a \subfigure with customized \includegraphics

My Problem: I would like to have all images in my Latex document beeing well sized in height and width. Precisly I want, that protrait and landscape images get a predefined size in the document. I got ...
4
votes
2answers
203 views

Aligning tikzpicture subfloats that span multiple pages

I have 21 pie charts (generated using pgf-pie) that I wanted to display in rows of 3. The "table" spans multiple pages (which has made it difficult to use the figure or tabular environments). I have ...
2
votes
1answer
273 views

table of tables using memoir

I need help to create a "table of tables" using memoir. I'd like to use the booktabs features embedded in memoir. What I'm trying to typeset is something like subfloats, having two 2x2 matrix of ...
5
votes
1answer
2k views

Error using subcaption

I've used the subcaption package in the past without any problem. But now, i can't use it, which makes it impossible to compile some important documents. If i try to compile \documentclass{article} ...
5
votes
2answers
898 views

Side by side figures containing subfloats

Is it possible to get two figure environments side by side across the top of a page, where both (or at least 1) contains subfloats? IE: And if so, how? I am currently using the subfig package with ...
4
votes
1answer
3k views

Multiple subfigures using the subfigure environment

When I compile the attached code,I find that: (a) The figure is not centred (b) The subfigures overlap (c) The captions are duplicated. I wasn't able to include the .tikz file as I am a new user. ...
7
votes
1answer
581 views

How not to show a label under a graph using subfloat — restart numbering of labels

I have this code: \documentclass{beamer} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} \usepackage[caption=false]{subfig} \graphicspath{{/folder/images/}} \title{} ...
5
votes
1answer
909 views

margin caption and subfloat

I'm desperately trying to get a workable setup of margin caption and subfloats. I use mcaption for margin caption which provides an environment which one wraps the inner content of the float in. ...
1
vote
1answer
311 views

Placing several pictures in one line, but with linebreak

I am trying to plot several pictures in one line, but only two per line and then the next two in the next line. And I want it all to be in one Figure so that I have only one caption. I can place ...
4
votes
1answer
130 views

Adding a legend for many subfloats: unlabeled subfloat

I am using memoir and adding subbottom to figure environments like this: \begin{figure} \subbottom[Blah......] { First figure } \subbottom { Legend goes here } \subbottom[Blah.....] { Second figure } ...
2
votes
1answer
2k views

Using minipage with subfigure didn't produce side by side figures

As per this, I tried using \minipage with my \subfigure, however to no avail. (My figures are still stacked vertically) I even tried changing scale to width=0.5\textwidth... What did I do wrong? ...
5
votes
1answer
3k views

Subfloat with subcaption package: Missing number, treated as zero

I want to make a figure consisting of two subfigures. Having read the Wikipedia subentry on subfloats, I tried to follow it exactly, so I did not use the subfig or subfigure package, only the caption ...
3
votes
1answer
3k views

Setting default distance between subfigures

I use a lot of subfigures in my thesis. What I realize now is that the captions between adjacent subfigures are very close together, which makes them hard to read. My two questions are therefore: ...