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

3
votes
2answers
27 views

Two tables side by side with independent and global captions

I want to put two tables side by side in my document, with (a) and (b) subcaptions for them, and also a global caption "Table 1. Blahblahblah" (spanning to one of the columns only). At the moment I am ...
-1
votes
0answers
20 views

subfigures position, multiple rows [duplicate]

How can I have this layout of figures? Thanks!
2
votes
0answers
16 views

For memoir class, what's equivalent of \subfigtopskip and \subfigbottomskip?

With LaTeX book documentclass and subfigure package, the lengths \subfigtopskip and \subfigbottomskip are available. What, if anything, are their equivalents if one uses documentclass memoir without ...
1
vote
1answer
20 views

Subfloat alignment problem with hyperref

Why does simply loading the hyperref package mess up the alignment and how can I solve this? Correct image and sample code: \documentclass{article} \usepackage{tabularx} \usepackage[margin=0pt,...
1
vote
1answer
45 views

How to align 4 subfloats of different size?

I want to control the image positioning that way that the space between the images is always a straight cross. But for unequal image width it doesn't work. I want to use subfloat and textwidth to. How ...
4
votes
1answer
21 views

Problems referencing subfigures in wrapfigure environment

I have just tried using wrapfigure (to wrap text around my figure, duh). Now I find that I'm unable to reference my subfigures. Here's my MWE \documentclass[a4paper,11pt]{book} \usepackage{wrapfig}...
0
votes
1answer
20 views

Referring to a set of subfigures not working [duplicate]

trying to refer to a whole figure results in ?? but referring to each individual subfigure works fine. How can I fix this? I wish to refer to fig. 1 in the example below. MWE: \documentclass[12pt, ...
3
votes
1answer
36 views

Horizontal line below figure

I would to have a horizontal line below my figure caption. To this end, I used the following: \DeclareCaptionFormat{myformat}{#1#2#3\hrulefill} \captionsetup[figure]{format=myformat} Then I obtain ...
1
vote
1answer
34 views

How to add a table below a figure in \figure environment

I want to add a table inside a \figure environment so the figure has a table below it. I want to do this so I can have a caption that explain the figure and its result in this table. \...
3
votes
3answers
34 views

Border two vertically aligned subfigures

I have two vertically aligned subfigures as follows and it works well: \begin{figure}[h] \centering \subfigure[a]{ \includegraphics[width=0.8\textwidth]{image1}}\\ \subfigure[b]{ \...
3
votes
1answer
34 views

subfigure above caption

I want to have sub-figure exactly above the caption, but now I have it on the left side of the caption. \begin{figure}[H] \centering \begin{subfigure}{0.45\textwidth} \includegraphics[scale=0.7]{...
2
votes
0answers
18 views

align to right subfigure

I have a figure with 4 subfigures. I want the subfigures on the right to be aligned to right, I use \usepackage[export]{adjustbox} but it doesn't seem to work. \usepackage[export]{adjustbox} \begin{...
3
votes
1answer
30 views

Alignment of subfigures using pgfplots with clip=false

I am using TikZ/pgfplots with clip=false so that the diagonal line in my "sketch" goes outside the axes' ranges. The problem is that this produces subfigures that are not correctly aligned: \...
1
vote
1answer
33 views

figures in multiple rows [duplicate]

I want to have a figure with subfigures like this: I tried to use \usepackage{subfig} but I get an error: ! Package subcaption Error: This package can't be used in cooperation(subcaption) with the ...
1
vote
1answer
9 views

beamer subfloat number alignment

I want the letter to align exactly with the images(little righter). Here is my code \begin{figure} \subfloat[\label{fig1}]{ \includegraphics[scale=0.74]{varnode.pdf}}\qquad \qquad ...
1
vote
0answers
24 views

How to include a large number of images in the appendix?

I would like to put 17 images in the appendix. The 17 images belong together but they span multiple pages. I would like to put 6 images on one page (2 pages per row, 3 rows). So in the end I will have ...
1
vote
1answer
52 views

Floating subfigures

As you can see, my graphs are too big. I wanted them to float as "twins" so if there's much text on a page, the other pairs are shown on the next page. Is there any solution to set them at the right ...
0
votes
1answer
15 views

subfig and “caption type already set” + “can't use `\relax' after \advance.”

I just switched to using \subfig as per advice here on TeX.SX . Now, the following code: \begin{figure}[th] \centering \begin{subfloat}{0.5\textwidth} \includegraphics{graphics/q4-...
2
votes
1answer
45 views

How to arrange 8 figures, with subcaptions, in a 3-row form

I want to figure out how to make an arrangement of eight figures into a compact form as shown in the picture. Could some give a hand?
3
votes
1answer
26 views

merge multiple figures into one pdf using standalone documentclass

I have 4 pdf figures which I would like to merge into one pdf figure (requirements of the journal). I have the follwoing piece of code: \documentclass[varwidth=true, border=100pt,preview]{standalone}...
1
vote
1answer
12 views

Using \subfloat inside sidewaysfigure giving missing \item error

I'm trying to produce a document where one page is in landscape, consisting of a graph and a table. Using the lscape package results in the graph being compressed horizontally, even if I set it to 50\...
-1
votes
1answer
68 views

How to make 8 subfigures fit in one page?

I am a newbie in Latex and I have 8 figures with equal sizes to plot. I want to arrange them in 4*2 and plot them in one page. \begin{figure} \begin{subfigure}[t]{0.32\textwidth} \...
1
vote
0answers
26 views

Arrange tikzpicture horizontally [duplicate]

I want to arrange three pictures drawn with tikzpicture horizontally. Unfortunately I can't make it work using any of the threads on a similar topic. Thank you a lot for your help, best regards ...
0
votes
0answers
18 views

Subfloats with tikz files [duplicate]

I have several tikz files which I include in the following way: \begin{figure}[!htbp] \setlength\figureheight{5cm} \setlength\figurewidth{0.4\textwidth} \subfloat[Subcaption1.\label{fig:...
3
votes
1answer
43 views

Adding axes labels to LaTeX figures

I have almost managed, With this code: \begin{figure}[htb] \hspace*{-5cm} \begin{minipage}{0.5cm} \rotatebox{90}{\textcolor{red}{$y$-axis label}} \end{minipage}% \begin{minipage}{\dimexpr\linewidth-...
1
vote
1answer
56 views

Have side by side figures in LaTeX [duplicate]

I use the code \begin{figure}[ht] \begin{center} \subfig{\label{dfg}\includegraphics[width=1\textwidth]{figures/2dcontour}} [Figure (A)] \subfig{\label{dfg}\includegraphics[width=\textwidth]{figures/...
2
votes
1answer
60 views

Code to move two images to the middle

I am inserting 4 images in LaTeX with the code below. However, the images in the top row have a different size than the images in the lower row. I do not want to make the toprow figures smaller with ...
1
vote
1answer
24 views

confliction between lineno and subfloat?

I was using both subfig and lineno at the same time. \documentclass[aapm,graphicx]{revtex4-1} \usepackage{graphicx} \usepackage[caption=false, font=footnotesize]{subfig} \usepackage{floatrow} \...
4
votes
2answers
92 views

How to stack two subtables next to a third subtable?

Same as described in this question How to stack two subfigures next to a third subfigure?, this time is the opposite and with tables. Instead of this | SUBTBL1 | SUBTBL3 | | SUBTBL2 | SUBTBL3 | ...
6
votes
2answers
39 views

How to place a wrapfigure on top of the page?

Consider the following code \subsection{Seleção da Dosagem Ótima} % \begin{wrapfigure}{R}{0.5\textwidth} \centering \captionsetup{justification=centering} \captionsetup{width=0.45\...
0
votes
0answers
23 views

Table Notes in Sub-table

I want to add table notes in sub-table similar to the one shown below. Any help/suggestion would be much appreciated!
0
votes
1answer
14 views

\begin{alltt} inside subfigure in llncs

I am trying to put some code in an alltt environment, in a subfigure in LLNCS documentclass. I was previously using another documentclass which supported the subcaption package just fine, but when ...
0
votes
1answer
23 views

subfigure environment for 10 figures

I am trying to put 10 figures using subfigure environment. I use 4x3 matricx to do that...but the last figure comes at the bottom of the page instead of going to the new page. What can be done? \...
3
votes
1answer
22 views

label of subfigures

how to write label like this Fig. 1(a) instead of Fig .1a in text. \documentclass[a4paper,aps,12pt]{revtex4-1} \usepackage{floatrow} \usepackage{subfig} \usepackage{caption} \floatsetup[figure]{...
2
votes
1answer
64 views

Create Figure with subfigures from .svg files

I am trying to create a number of figures in Overleaf which consist of several subpictures. To get highly resoluted pictures, I have saved them in .svg format. I have read different posts and learned ...
2
votes
1answer
37 views

Subfloat captions wider than picture

I am having troubles making subfloat captions wider than the picture it describes. Here is a MWE: \documentclass[10pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \...
2
votes
1answer
29 views

confict between the subfigure and customized caption(side-by-side subfigures)

the desired result: Q:The .cls document i used is a template for a journal IJCAS, i want to use the subfloat package to reveal the side-by-side subfigures, 1,when the subfig package is loaded, ...
2
votes
1answer
24 views

Figure number is incrementing by 2 if subfigure is used

\documentclass{svmult} % choose options for [] as required from the list % in the Reference Guide, Sect. 2.2 \usepackage{makeidx} % allows index generation \usepackage{graphicx} % ...
2
votes
2answers
50 views

Two figure colums side by side, subfigure aligment issues

I want to create two colums of figures according to the following MWE. My solution is inspired by: How can I vertically align two minipages with subfigures and differing caption length? I have to ...
2
votes
0answers
33 views

the double parentheses beside subfigures

how can I omit the double parentheses beside subfigures, while i want to show label in text like this: 1.(a) \documentclass[a4paper,aps,12pt]{revtex4-1} \usepackage{floatrow} \usepackage{subfig} \...
3
votes
1answer
42 views

Poor subfigure and subcaption alignment

I have the following figure, containing three subfigures: I'm using the following code to produce it/them: \begin{figure}[htbp]% \tikzstyle{morpho} = [circle,draw,minimum size=1cm,thick,fill=white,...
1
vote
1answer
36 views

Figure numbering: fnum@subfigure and fnum@figure in pdf output

I just started working with Latex and I'm stuck with the following issue: instead of getting 'Figure 1 Caption' and 'Subfigure 1 Caption', I get 'fnum@figure Caption' and 'fnum@subfigure A Caption' ...
0
votes
0answers
80 views

How to use subfigures with the template graduate-thesis in sharelatex?

I am trying to make subfigures in this template, both side by side and to stack two figures on top of each other. I have seen some examples explaining that it is necessary to include this before ...
1
vote
0answers
33 views

Remove white space around subfigure on book class document

I have the following to include two sub figures side by side: \begin{figure}[H] \centering \begin{subfigure}{.5\textwidth} \centering \includegraphics[width=0.6\linewidth]{figure1.png} \caption{...
3
votes
1answer
30 views

Subcaption package not doing what I want it to do

I want to build a figure with 5 subfigures inside. The code I have goes as follows: \begin{figure}[hbt] \begin{subfigure}{0.4\textwidth} \includegraphics[scale=0.25]{mi1} \footnotesize{\caption{masa=$...
1
vote
0answers
26 views

Caption alignment of grid subfigures

I have 5 images and I would like to display them in 2 rows (3x2). This is what I've done so far, \begin{figure}[h] \begin{tabular}{ccc} \subfloat[caption]{\includegraphics[width = 1.8in]{figures/...
1
vote
0answers
30 views

How to put multi-subfigure on a single page with different main caption?

I have to add 8 figures on one page using subfigure command in such a way that first 4 figures should be placed with one caption and next 4 figures with other caption. Please guide me with sample of a ...
0
votes
0answers
47 views

Subfigure not working with tikz

I am trying to put my created tikz pictures in subfigures, but for some reason this is not working. The figure is as follows: \begin{figure} \begin{subfigure}[b]{0.30\textwidth} \centering ...
2
votes
2answers
62 views

How to generate a table of figures

How to generate a table of figures like this example below:
2
votes
1answer
48 views

White space with subfigures using a macro

EDIT The answer proposed by egreg doesn't work for me: When changing the outer sep to outer sep=-10pt, instead of shifting the images, just the labels get shifted and the white space persists. ...