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

14
votes
3answers
9k views

Remove (a), (b) from subfigure numbering, but keep the subfigure caption?

I've a question on the labels in the subfigure environment. I would like to remove the (a) and (b) and insert something else instead. This 'new' caption is different for every subfigure and not a ...
2
votes
3answers
314 views

how to put odd number subfigures in multiple rows

There are five figures. Basically, I'd like them to displayed as following: |figure 1|figure 2| |figure 3|figure 4|figure 5| The first two figures are in the first row and the last three are ...
2
votes
0answers
816 views

Subfigure is not working fine into a beamer presentation - [closed]

I have this in the preamble ... \documentclass{beamer} \usepackage[spanish]{babel} \usepackage[utf8]{inputenc} \usepackage{color} \usepackage{xcolor} \usepackage{graphicx} \usepackage{caption} ...
2
votes
1answer
288 views

Graphical overlay in form of arrows (TiKZ) on subfigures in a poster (a0poster.cls)

I am trying to create a poster (right now I am using 'a0poster.cls') and I am not able to integrate subfigures overdrawn with tikz after this example by Gonzalo Medina. In this poster I am using also ...
4
votes
1answer
4k views

\subfigure errors with ASME template

I am having some troubles in using \subfigure in LaTeX template for ASME conference papers, version 1.7. Here's my code: Figure % GRAPHICS \RequirePackage{caption} \RequirePackage{subcaption} ...
4
votes
1answer
590 views

Subfigure space adjustment — \subfigcapskip and \subfigtopskip

I want to adjust the space in a subfigure environment. Specifically, using \subfigcapskip to increase the space between the subfigure and subcaption, and using \subfigtopskip to reduce the space on ...
2
votes
1answer
568 views

Subfigures in a columnwide figure in a two-column document

I am trying to put two figures next to each other in the top of a two-column document. I found the following code on the internet and it works: ...
2
votes
1answer
7k views

Latex! not in outer par mode - includegraphics - figure

I'm getting that after certain number of figures, with few ones it works but went I add the last seven ones, I got this, please help. Here is the structure of each figure, and here the link to the ...
5
votes
2answers
155 views

Aligning two pictures without subcaptions to the top with the subcaption package

My problem is similar to this one: Align by the top borders of figures when using subcaption I want to align two pictures to the top. The solution given works fine for pictures with subcaptions. ...
5
votes
2answers
3k views

vertical spacing between subfloat

I am using subfig package. Is it possible to reduce the spacing between two sufloats one below the other? I couldn't find anything in the documentation.
1
vote
2answers
388 views

rotated text and figure side with vertical alignment

I am using subfig package to place three figures and a one rotated text side by side. Attached below is the mwe \documentclass[draft]{article} \usepackage{subfig} \usepackage[demo]{graphicx} ...
3
votes
1answer
675 views

Using subcaption package but subfigures end up stacked rather than side by side

I'm trying to put two jpegs side by side using the subcaption package, but the images are consistently stacking on top of each other rather than side by side. All the solutions I've found simply state ...
1
vote
2answers
136 views

Figure with subfigures containing text and a drawing

I am trying to do something similar to this but I have no idea on how to do it. Usually when I add figures i use the \begin{figure}, the problem is that I have no idea on how to achieve this result. ...
6
votes
1answer
2k views

Numbers keep continuing - Problem with subfig and ContinuedFloat

I have a problem with the numbering in continued subfloats. I just changed my package (subfigure) to subfig because I read that this allows me to continue subfloats on a new page using the command ...
5
votes
2answers
2k views

Spacing between subfigure and subcaption

Consider the code below. I'm attempting to add space between the subfigures and their respective captions by modifying subfigcapskip (I've also tried skip, aboveskip, and captionskip), but I'm not ...
1
vote
3answers
112 views

How to add multiple images in one place using captions like Figure x. a, Figure x.b?

Is it possible to caption the two figures as Figure x.a, Figure x.b?
3
votes
1answer
438 views

Code listing in subfigure using lstlisting

I am trying to use the subfigure package of LaTeX to display a piece of SQL code. The purpose is similar to Code listing in subfigure, but I'd like syntax highlighting using lstlisting environment ...
2
votes
1answer
102 views

\label does not work

am looking help for two things. (1) I would like to write the text as 'In Fig. (1) and in Fig. (2a)', for which the TEX is written as follows: Shown in Fig. (\ref{fig:main}) and shown in Fig. ...
3
votes
1answer
208 views

subfigure counters not resetting

My subfigure counter isn't working properly for 2 figures. In the first figure there is an a) and then b) -which is fine, (that I both mark with a begin and end command) but for the second figure, ...
7
votes
1answer
947 views

How can I place a vertical rule between subfigures?

I have implemeted a figure with subfigures by following the instructions here. Each subfigure is an image and some text beneath it. I would like to introduce a vertical rule between each subfigure ...
2
votes
2answers
141 views

Special arrangement of subfigures in memoir

As described in answers to this question, the following code: \documentclass{memoir} \newsubfloat{figure} \begin{document} \begin{figure}[H] \centering% \begin{tabular}{lr} \begin{tabular}{c}% ...
7
votes
2answers
3k views

Can't place figures side by side

I'm trying to place two TiKz pictures side by side in a two-column document (IEEEtrans style). I've looked at various solutions, but each one that claims to place figures side by side only manages to ...
3
votes
1answer
597 views

How to footnote two subfigures in one figure

I have some trouble with footnotes. Here is, what i wanted to do: \begin{figure}[H] \subfigure[WSML Varianten\protect\footnotemark] {\includegraphics[width=0.5\textwidth]{wsml-space.pdf} ...
1
vote
1answer
101 views

subfloatrow: centering single subfigure

In the example below, how can I center the third figure (C)? \documentclass[a4paper,12pt]{article} \usepackage{tikz} \usepackage{floatrow} \usepackage{subfig} \begin{document} \begin{figure}[htbp] ...
1
vote
1answer
134 views

Table next to figure using subfig

I'm trying typeset a table next to a figure using subfig, but I cannot get them to align properly. I have found a similar(/identical) question here, but the solutions/suggestions do not seem to be ...
2
votes
1answer
292 views

subfigure placement incorrect with 4 figures

I am having an issue with latex placing my figures incorrectly. I have 4 related plots that I want to appear together as a single figure (with a,b,c,d sub-references). \begin{center} ...
3
votes
1answer
2k views

subcaption: `caption' package not loaded

I am trying to use subfig in ACM class file, but it issues an error that 'caption' package not loaded. I downloaded the 1.3 version of caption (as suggested by ACM), but still the same. Here is the ...
5
votes
3answers
4k views

subfigures in array

How do I create a figure using subfigures with this alignment?: |figure 1 | figure 3 | figure 4 | |figure 2 | | | Note that I want figure 3 to be in both rows and figure 4 to be ...
4
votes
1answer
114 views

Arrays inside a subfigure

I'd like to know how to put an array inside a subfigure (if it can be done). I have no problem putting the following code inside a figure statement but in subfigure it fails miserably and I cannot ...
2
votes
2answers
891 views

Horizontal text alignment in captions for subfigures

Captions in subfigures are justified by default, which does not always look pretty: \documentclass[]{tGIS2e} % http://www.tandf.co.uk/journals/authors/tgislatex.zip \begin{document} ...
2
votes
1answer
2k views

Two images in one line [duplicate]

How can set two images in one line without using a table, but having a caption and a label for each image? Besides image one should be labeled Figure 1 and the second figure with Figure 2. Therefore I ...
3
votes
1answer
678 views

Alignment of several pgfplots of different widths inside subfigures

I try to fit six pgfplots created with matlab2tikz onto a page by placing them inside subfigures. So my document looks something like this: \documentclass[a4paper,11pt, BCOR=12mm, ...
2
votes
0answers
148 views

Incompatibility between fixltx2e, subfigure and figure* [closed]

This minimal example: \documentclass[twocolumn]{article} \usepackage{subfigure} \usepackage{fixltx2e} \begin{document} \begin{figure*} asdf \end{figure*} \end{document} gives the error: Extra }, ...
4
votes
1answer
187 views

Captions in sub floats using subfloatrow are too narrow

I have a figure that has several subfigures, each with its own caption. I am aligning the subfloats using subfloatrow. How do I make the captions expand at least to the width of the graphic? Currently ...
6
votes
1answer
309 views

customizing cleveref for pair of subfigure references: [1a and b] instead of [1a and 1b]

I am using the cleveref package and I am very happy with it. However, I encountered one problem I wasn't able to solve. I am probably just not combining the syntax correctly. This is highly connected ...
4
votes
1answer
233 views

Centering Subcaptions including a linebreak

I found an asnwered question concerning this topic already here: Centering a subcaption Copying \captionsetup[subfigure]{justification=centering} doesn't help me thought for I am using different ...
3
votes
1answer
290 views

Subfigures, long caption side by side

Hello I have really big problems with positioning my sub figures. I have long caption text and I think that is the reason why they don't fit side by side. What can I do for solving this problem. [t] ...
2
votes
0answers
538 views

How to reduce white space above/around R-Plot in LaTeX-Beamer document [closed]

Hi guys, my header looks like: \documentclass[8pt]{beamer} \usepackage[utf8]{inputenc} \input{ix-utf8enc.dfu} \usepackage[ngerman,english]{babel} \usepackage[T1]{fontenc} ...
4
votes
3answers
8k views

Undefined control sequence \subfloat

This is odd, my code was working just fine, then I literally just step out of the room and when I come back and compile I get the error undefined control sequence \subfloat. Basically I am trying to ...
2
votes
0answers
37 views

LaTeX - side-by-side subfigures? [duplicate]

I'm trying to create a float that spans two columns that has multiple side-by-side subfigures. I've included the subcaption environment, and here's what I've got so far: \begin{figure*}[h] ...
3
votes
1answer
197 views

Displaying subfigures of different aspect ratio to look same aspect ratio

I have some figures that came out from gnuplot that I would like to display. The only difference between them is that one has a legend and the other one does not. So although they have the same size ...
2
votes
2answers
74 views

Label figures in col-major order

Use the following commands, I can generate a 2x3 table figures: \begin{figure}[htbp] \centering \begin{tabular}{ccc} \subfloat[configuration 1]{\includegraphics[height=1.8in]{8}} & ...
0
votes
1answer
149 views

LaTeX figure labeling in tables

I have 6 figures in a 2x3 table which, inclucing the caption, fill one page nicely. I would like to label them with a), b), c) at the top left of every row. I experimented with subfigures, but didn't ...
1
vote
0answers
59 views

How to have the same visual effect of a figure in a non-floating environment

I have the following code: \begin{figure} \centering \subfloat[\footnotesize my_sub_caption1]{\includegraphics[width=0.45\linewidth]{images/my_image1}} \quad \subfloat[\footnotesize ...
4
votes
2answers
121 views

How to change numbering of figures (subfloats more specifically in a minipage)?

I have 6 figures in a 2 by 3 minipage like below \begin{minipage} \subfloat[] \subfloat[] \subfloat[] \quad \subfloat[] \subfloat[] \subfloat[] \end{minipage} This structure ...
5
votes
1answer
225 views

bytefield doesn't work with subfigures

I'm trying to use bytefield and subfig (and also tested with subfigure with the same results) but I got the error: ! Extra alignment tab has been changed to \cr. \endtemplate at the end ...
1
vote
0answers
163 views

Caption numbering missing in beamer class when adding subfig package

I am having a problem with the beamer class and subfig package. Once I add the subfig package (for subfloats) the numbering of all my captions disappear. Please see the following minimial working ...
9
votes
2answers
4k 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
389 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
726 views

Arrange three images

I need to arrange three figures in a two column document as follows