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

0
votes
0answers
5 views

Subfloat alignment problem with hyperref

Why does simple loading of the hyperref package mess up the alignemtn and how can i solve this by your help? Correct image and sample code: \documentclass{article} \usepackage{tabularx} \...
0
votes
1answer
39 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 ...
10
votes
2answers
1k views

Use \captionof in conjunction with \subfigure?

I'm using the KOMA scrreprt class. I have a large figure with 6 subfigures, and a lengthy (but necessary!) caption explaining the figure that doesn't fit on the same page. I'm trying to use the \...
2
votes
1answer
121 views

Magnified subfigure without tikz

I want to create a figure with a magnified subfigure. I know this can be done with tikz (link) however I want to do it without tikz. Can this be done? Example: My early attempt: \documentclass{...
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
18 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
35 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. \...
-1
votes
0answers
25 views

errors with figure and subfigure [closed]

\documentclass[10pt,a4paper]{report} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{mathtools} \usepackage{epstopdf} \usepackage{array} %\usepackage{apacite} \usepackage{cite} \...
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
31 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]{...
3
votes
1answer
28 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: \...
2
votes
0answers
17 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{...
1
vote
1answer
32 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 ...
35
votes
2answers
29k views

subfigure and subfig packages deprecated

I was using the subfigure package to align multiple small images in a document. However, WikiBooks states that "the subfigure and subfig packages are deprecated and shouldn't be used any more" (...
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 ...
0
votes
1answer
13 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 ...
1
vote
0answers
22 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
14 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-...
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? \...
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
11 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
67 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
55 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
59 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
23 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} \...
3
votes
1answer
41 views

The first subfigure appears rotated and very large [closed]

The used the following script in LaTeX but the first subfigure is very large and rotated. I am using subcaption package. The figure is 1920x1080. I used this code twice in the script; the first is ...
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} \...
87
votes
4answers
10k views

How to create magnified subfigures and corresponding boxes for portions of a large image

Updated Below I hope the title gets at what I'm trying to do. I have a large image for a thesis on an image processing topic, and I want show the large image, with zoomed in boxes (typically with the ...
4
votes
2answers
90 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
22 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!
3
votes
1answer
20 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
28 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
60 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
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
32 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' ...
4
votes
2answers
482 views

How can I skip a subfigure caption

i suppressed the caption for the first subfigures so the rest of figures are starting with subsequent label ((b), (c), (d), (e). I want the order as (a), (b) (c), (d) \begin{figure}[H] \centering ...
2
votes
2answers
806 views

Cut-Off Subfigure Captions

I created a figure with four subfigures (two rows of two subfigures) where each subfigure has a caption below the subfigure. Strangely, the captions for the subfigures in the top row are partially ...
0
votes
0answers
72 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
32 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=$...