Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [subfloats]

{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}.

3
votes
1answer
18 views

Using lstlisting in subfigure

I would like two side-by-side subfigures, both containing an lstlisting environment. The problem is that using it in the manner shown, I get a left margin from the listing that is redundant, and with ...
1
vote
2answers
33 views

Print subfigure range in caption

Consider the following MWE: \documentclass{article} \usepackage[demo]{graphicx} \usepackage{subcaption} \usepackage{caption} \begin{document} \begin{figure} \subcaptionbox{\label{fig:img1}}{% \...
3
votes
1answer
21 views

Three images on one line using subfigure

I'm trying to put 3 images into one figure on one line. I have done the following approach: \documentclass[sigconf]{acmart} \usepackage{subcaption} \begin{document} \begin{figure*} \begin{...
4
votes
1answer
17 views

A single subfigure with numerical labels

I am using subfigure and want one figure to use, instead of (a),(b) labels, numbered labels like (1),(2). subfigure numbering in subfigure environment (subcaption package) shows how to get roman ...
2
votes
2answers
41 views

How can I format 8 subfigures to have a single legend to the right of the page?

My code produces a figure which looks like this: How can I make it look like this: (which I have produced using paint.) The code \usepackage{graphicx} \usepackage{subcaption} \begin{document} \...
2
votes
3answers
51 views

Complex subfigure grid

I would like to arrange four subfigures into a 2-by-2 grid, where the grid element heights vary; something like this: |------| |----------| |------| |----------| |------| |----------| |------| ...
0
votes
1answer
20 views

How to align figure in .tex file side by side?

I have used \subfigure to align figure side by side. The figure is a graph and is in .tex file form. Thus instead of using \includegraphics, i have used \input. The problem is the graph is in ...
1
vote
1answer
22 views

Subfigure with caption on the side

I am trying to arange four images in a 2 by 2 grid. The caption of the entire figure (not the subfigure) should appear on the right side and not on the bottom. I tried using the caption and subcaption ...
1
vote
1answer
20 views

Multifigure in 2-column pushed 2 pages forward

I've tried multiple solutions leaving me with no option but to ask the community. I have the following code: \documentclass[10pt, final, journal, letterpaper, twocolumn]{IEEEtran} %\documentclass[...
0
votes
0answers
20 views

Captions of subfigures are wrong placed, long captions will not behave right

below my hopefully minimal MWE, the bad behaviour still appears, before I had the singlelinecheck=false which makes the wrong beaviour pe default with every caption text and the text ignore each ...
2
votes
1answer
51 views

Bar chart not starting at 0, with nodes in bars (in \subfloat)

I want to recreate the following Excel figure in to a larger figure in my style Latex: For this to work, the figure needs to start at 0.6. When I do that (using ymin), the nodes drop down below the ...
0
votes
0answers
20 views

Load graphicpath set by variable

I would want to define Variables to load from a certain path with a certain name composition like: \newcommand{\Simulation}{callistotoeuropa190} \newcommand{\Timestep}{16000} \newcommand{\FigPath}{/...
0
votes
0answers
30 views

Subfigures and subtables

If there any package which allows us to include both subfigures and subtables. (\usepackage{subcaption} does not go with \usepackage{subfig}). I need to have both subfigures and subtables in my ...
0
votes
2answers
35 views

Outset of images: Figures surrounding figures

I am trying to create a figure layout as in With llap, raisebox and makebox, I managed to achieve until Could someone help/guide me on how to get it as shown in the first figure? Better suggestion(s)...
1
vote
0answers
34 views

How to get justified subcaptions with \subfloat in revtex

I know that the documentclass revtex4-1 is incompatible with the caption (and subcaption) package and thus when using the subfig package I need to add the option [caption=false] as elaborated by ...
1
vote
0answers
39 views

subfigures overlaping

I have 7 images which I need to display by pairs using subfigures environment, but each subfigures overlap and hide some of the uper captions as in the image : Here is the tex code : \documentclass[...
5
votes
1answer
138 views

subfloat: how to position label to the left?

How can I make \subfloat put the labels to the left of the images? It seems it only supports "top" and "bottom". I am searching for a solution without using \tabular. Thanks and regards, Jorge. ...
0
votes
1answer
32 views

Force labels of \subfloat to the centre of \textwidth

I made two timelines using https://tex.stackexchange.com/a/442718/164280. This gives me the following timelines (I added \showframe to show how far off it is): This is the code used for calling the ...
2
votes
1answer
32 views

subfloat - issues with the subcaption

I am new at LaTeX and I have been some problems with the subcaption text, since I have to put five images in a singe row. I have the follow code for this: \documentclass{article} \usepackage[utf8]{...
1
vote
1answer
57 views

Layout of bar chart + line chart in \subfloat

Edited I am trying to make my bar charts look nicer than they are now. What I have now: I would like to: Only have the legend at the top graph Have the legend depict a single grey bar for 'Weekly ...
3
votes
2answers
58 views

How to combine these separate two tables to become as sub tables of a main table?

Here an image of the objective output: a table (TABLE I) of sub-tables (A) and (B) Here is the code of separate small tables: (to be combined) \documentclass[conference]{IEEEtran} \usepackage{array} ...
1
vote
1answer
39 views

Horizontal alignment using subfigure package

I want to align horizontally two images, but I am not able to this in this case: \begin{figure}[!hbt] \centering \subfigure[][Areas used to evaluate the interpolant parameter function.]{ ...
0
votes
0answers
26 views

Memoir: align multiple figures using subbottom

I have 4 subfigures in a 2x2 matrix, where the figures on the left are legends with varying widths and those on the right are plots of equal widths. I would like to have the figures in the 1st column ...
0
votes
1answer
28 views

Redefining “ClearDoublePage” ruins subfigures

I found some solution to add a "This page intentionally left blank" text on clear pages by redefining things in preamble, but it somehow messes up with subfloats. If I have a subfigure / subtable, ...
1
vote
1answer
291 views

“No counter 'subfigure@save' defined ”. This error appear when subfloat command is used

When I use the nex code the following error is shown ***"LaTeX Error: No counter 'subfigure@save' defined. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... ...
0
votes
1answer
39 views

Compiler shows a square with the name of the eps image rather than the image I need

When I use the code, two empty squares ares shown, in each one the name of the figure are displayed, but I need the figures. How could I fix the code, to make appear the images? \documentclass{...
2
votes
1answer
55 views

Using \subfloat for subfigures with custom wheelchart

I have three figures which I want to group together into one figure with subcaptions, because they have the same source: I am using \subfloat for my other figures (got it from https://tex....
1
vote
1answer
159 views

Subfigure does not work for Springer journal

I would like to ask how to compile subfigure command in Springer Journals. Here is my code: \begin{figure*}[htp] \begin{subfigure}[t]{0.65\textwidth} \centering \...
0
votes
0answers
23 views

Problem placing figures where I want when using subfigure

So the problem comes when I use subfigures inside the figure, using a code like this: \begin{figure}[h] \centering \begin{subfigure}[b]{0.3\textwidth} \includegraphics[width=\textwidth]{000.png} ...
0
votes
0answers
21 views

Error in \subfloat

I checked online a lot and I still cannot see the error. I would greatly appreciate any help. \documentclass[12pt,letter]{article} \usepackage{fullpage} \usepackage{setspace} \usepackage{parskip} \...
0
votes
1answer
25 views

Multiple images with improper captions and their positioning

I have 12 images of different sizes which I added in my latex document. But their positions are somewhat random and the captions are also not at proper positions. I would like to have 4 rows of images ...
0
votes
1answer
27 views

\usepackage{subfig} giving captionlablelfont errors

While using \usepackage[caption=false]{subfig} I get an error like in the image below And the chapter 6 where figure is included has the following code. \begin{figure}[h!] \centering ...
1
vote
1answer
60 views

How to add x&y axes labels for the whole figure not the subfigures?

\begin{figure}[htbp] \centering \begin{subfigure}[b]{0.24\textwidth} \includegraphics[width=1.85in]{1.pdf}\vfill \label{} \end{subfigure} \begin{subfigure}[b]{0.23\...
0
votes
0answers
45 views

Centering the figure caption when switching page orientation

I'm a newcomer to Latex but I've already found it very useful. I have a document that requires me to switch the orientation from portrait to landscape midway through the document so I can properly fit ...
2
votes
2answers
45 views

How to align subfigures of different heights in the same row (2)

(This question is related to "How to align subfigures of different heights in the same row"). I plot have plotted an array of 2x2 matrices with this code: \documentclass[journal,twocolumn,10pt]{...
1
vote
1answer
27 views

Figures in (3*2) pattern with labels in a particular manner

I need figures along with the labels in the following manner (a) (d) (b) (e) (c) (f) How to achieve this? Normally the figures are labelled from left to right and then vertically down and so ...
0
votes
2answers
95 views

How to align subfigures of different heights in the same row

The following code: \documentclass[journal,twocolumn,10pt]{IEEEtran} \usepackage[compress]{cite} \usepackage{times} % Font Times New Roman throughout the document \usepackage{subfigure} \usepackage{...
1
vote
2answers
44 views

I'd like to put a table and an image at the same height (subfloat)

\begin{figure}[!h] \subfloat{\includegraphics[width=0.5\textwidth]{plot/figlior.png}} \renewcommand\intextsep{5} \subfloat{\renewcommand\arraystretch{0.5} \begin{tabular}{l|l|l|c} ...
1
vote
1answer
37 views

caption not centered for subfigure

I have three plots which I want to display one after the other. It displays fine but the only problem I have is the captions are not centered. the subcaptions are more obvious after rendering the ...
0
votes
1answer
52 views

How to place and space captions of subfigures

I have the following code: \documentclass[journal,twocolumn,10pt]{IEEEtran} \usepackage{subfigure} \usepackage{mathtools} \begin{document} \begin{figure}[t] \centering \subfigure[Line]{\centering ...
0
votes
0answers
41 views

TikZ plots height and subfloats vertical alignment

I'm using this code to put two TikZ figures on one row: \documentclass{book} \usepackage{tikz} \usepackage{pgfplots} \usepackage{float} \usepackage{subcaption} \pgfplotsset{compat=1.16} \tikzset{...
1
vote
1answer
33 views

Help with referring to sub-float figures?

I have six subfigures (i.e. Figure 1a, 1b, 1c, etc.) and I'd like to reference both the subfigures and the main figure (i.e. Figure 1), in the text. In this example, \ref{fig: lattice_strain} should ...
1
vote
2answers
25 views

keep subfigures inside the page

I insert subfigures using the \subfig package: \documentclass{article} \usepackage{graphicx} \usepackage{subfig} \begin{document} \begin{figure} \subfloat[]{ \includegraphics[width=0.5\...
0
votes
1answer
13 views

subfigures using subfloat- how to change the size of numbering

I am using the following code to create subfigures. \documentclass{article} \usepackage{scrextend} \usepackage{floatrow} \usepackage{graphicx} \usepackage[label font=bf]{subfig} \floatsetup[...
0
votes
0answers
28 views

Two figures side-by-side, rotated and subfigures

I've been trying to get my figures as displayed below for ages, but it is beyond my LATEX abilities... I have 3 figures. I want one figure on the left half of the page and the other 2 next to each ...
1
vote
1answer
53 views

Reduce \vspace between minipage{} environment

How can I control the vspace between minipage{}, the following is a MWE demonstrating the extra white space between two minipage environments. \begin{figure}[htb] \begin{minipage}{.5\linewidth} \...
2
votes
2answers
137 views

Side-by-side minipage figures captions too close together

I'm trying to put two (semi-unrelated) figures side by side using minipages. I don't particularly want to use a solution that would split the figures into Fig. 1(a) and Fig. 1(b), since they don't ...
2
votes
1answer
23 views

Algorithmicx - caption alignment of 2-column sub-algorithms of different height

I have 2 sub-algorithms that need to be placed side-by-side (2 columns) using the algpseduocode layout from the algorithmicx package. Since I need to refer to each of them individually in the ...
1
vote
2answers
35 views

Multi panel figure, superimposed labels and vertical alignment

I am trying to make a figure with 4 subfigures in a 2x2 array, with A-D labels superimposed on the panels. I've used minipage and lpic, but the pictures don't align vertically. Here is my code \...
0
votes
0answers
23 views

Subfigures always are vertical aligned [duplicate]

Following is my code. I have tried minipage and subfigure. I don't know why. 3 Pictures are always vertically aligning. I want to be horizontally aligned with 2 column width. \usepackage{times} \...