{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
1answer
188 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
80 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
1k 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
110 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. ...
3
votes
2answers
139 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
106 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
73 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
55 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. ...
5
votes
1answer
377 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 ...
4
votes
2answers
269 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
67 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
135 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
73 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
75 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, ...
5
votes
1answer
105 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
72 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}% ...
4
votes
2answers
678 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
185 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
53 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
42 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
75 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} ...
2
votes
1answer
741 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
409 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
55 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
222 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
519 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
225 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
67 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
93 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
0answers
99 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
59 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
68 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] ...
1
vote
0answers
240 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} ...
3
votes
3answers
2k 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
34 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
88 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
46 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
112 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
43 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
62 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
76 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
54 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 ...
5
votes
2answers
385 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
134 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
153 views

Arrange three images

I need to arrange three figures in a two column document as follows
5
votes
1answer
154 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
99 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
97 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
185 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
79 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} ...