Skip to main content

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

Filter by
Sorted by
Tagged with
3 votes
2 answers
62 views

Arrange subfigures in 2x2 + 1 centered shape

I'd like to arrange my 5 subfigures like this, where each column is the same width. It must compile with LuaLaTex. Basically there is a 2x2 matrix occupying the two left columns and two rows, and a ...
infinitezero's user avatar
0 votes
1 answer
36 views

The listings package and side-by-side code listings

I'm using the listings package liberally in an article. However, I want to show some code listings side-by-side and for those i use the subfigure package: \begin{figure*} \begin{subfigure}{0.49\...
Gaslight Deceive Subvert's user avatar
0 votes
1 answer
26 views

Adding sub caption under an aligned figure

Is there any way to align vertically the figure on the right in the middle of the figure on the left AND add a sub-caption to fill the blank space below the figure on the right ? Thank you in advance ...
Waxler's user avatar
  • 860
0 votes
1 answer
22 views

Caption of \subcaptionbox environment not correctly centered [duplicate]

I am using \subcaptionbox{} to setup a figure containing multiple subfigures. I want to refer to each subfigure in the text, so each subfigure needs a caption. I want to have empty captions, meaning ...
SnackerB's user avatar
3 votes
1 answer
54 views

Is it possible to add images in this format using subcaption?

I understand how to add images in a (2 X 2) or a (m X n) grid in latex using subcaption, but is it possible to add images in this manner using subcaption? If not possible, then is there some other ...
Ghosal_C's user avatar
  • 181
0 votes
0 answers
17 views

What to do when we use subfig and the images occupy more than one page?

I'm writing my thesis and I have a group of images, but the image group takes up more than one page. How do I ensure that the subfig continues on the next page with the correct figure count? \begin{...
Beatriz Brito's user avatar
0 votes
1 answer
16 views

automatically label subfigure overlapping top left

I have a set of subfigures that I want to label like (a) but without any real caption, and I want to place the labels (a) on top of the graphic, in the top-left corner to save vertical space. I want ...
jessexknight's user avatar
  • 2,822
1 vote
0 answers
11 views

A figure I placed using subfloat has a mismatching number in the text when compared to the caption of the figure [duplicate]

I have a document with a figure comprising two images. I placed the image using subfloat. The hyperlink to the image gives me a spurious figure number. So, the figure is labelled Figure 5 by the ...
Alex Poyser's user avatar
0 votes
0 answers
17 views

Need to make subfigures appear on separate pages [duplicate]

I am a beginner. I need to make some subfigures appear on one page and some on another. There are basically 6 subfigures and they all occupy a single page, leaving a lot of empty page on a previous ...
sanarazakhan's user avatar
2 votes
1 answer
52 views

error on images inserted in one column

I have a two column layout. I want insert two images as subfigures align next to each other, spanning one column. How to solve this error? Overfull \hbox (247.6778pt too wide) in paragraph at lines 79-...
ayla's user avatar
  • 183
2 votes
2 answers
53 views

Subfigure customization

I have the following code to display multiple images: \begin{figure}[H] \centering \begin{subfigure}[h]{0.35\textwidth} \centering \includegraphics[width=\textwidth]{real_time1....
Roy Turk's user avatar
1 vote
1 answer
39 views

complete beginner, need help with figures

i am a complete beginner. i don't know much about latex. i need help with positioning images. basically, there's 6 figures and i want them to be subfigures, where two each are side by side. i am ...
Sana Khan's user avatar
1 vote
0 answers
23 views

Side by side instead of Top Down Picture Position [duplicate]

I write latex with IEEEtrans with TexLive version 2022. I would like to arrange these two pictures side by side (left and right) instead of top and down picture position. Here is the code for top and ...
Nicholas TI's user avatar
0 votes
0 answers
36 views

How to overlay figure caption on a image in overleaf latex?

I am using Overleaf latex. I have an input image that I cannot change/reorganize. I need to use this image to create a figure. The image itself is full page high. The left bottom of the space has ...
skm's user avatar
  • 960
0 votes
0 answers
31 views

How do I use the subcaption package in AAS such as the apjs template, and why do I get a caption marked red error when I use it?

\begin{figure*} \centering \begin{subfigure}[t]{0.23\textwidth} \includegraphics[width=\textwidth]{Figure 2 (a).pdf} \caption{Noisy full-disk image} \end{subfigure}\hspace{1em} \begin{...
bonnle madiline milo's user avatar
0 votes
1 answer
57 views

span a figure over two/multiple pages

I have a large figure in terms of hight dimension which I would like to add to the Appendix of my work in LaTex. Is there a way to have such figure spanning over pages without needing to resort to \...
Matteo's user avatar
  • 365
1 vote
1 answer
24 views

How can I adjust the distance between captions and subcaptions using subfloat?

For the following code I get the result in the image. How can I adjust the distance between the image and its captions ? \begin{figure}[ht] \subfloat[Sinal na $f_c$.]{ \begin{minipage}[c][1\width]{ ...
Arthur De Queiroz Tavares Borg's user avatar
0 votes
0 answers
23 views

Incorrect appearance of the subfigures

I am using below code to include 3 different images in the same figure. However, the caption for each subfigure is with format "Figure 7.2: Gráfico del estado OFF" instead of "a)Gráfico ...
anita fernandez's user avatar
0 votes
0 answers
23 views

How can I replace the semicolon with a full stop after the 'Figure' index?

I'm editing an overleaf paper draft following the general formats defined in the IEEE access template. The color of the overall figure indexes complies with the IEEE access template now, but the ...
Xuanhan Zhu's user avatar
1 vote
1 answer
47 views

reference to a specific part of a subfigure in text

Hi there I was working on a subfigure and since it's part of a pipeline I wanted to have something in my main text saying: ... (Figure 4, top right) ... (Figure 4, middle) ... (Figure 4, bottom). Now, ...
Matteo's user avatar
  • 365
0 votes
0 answers
63 views

Aligning figures in subfigure environment

I would like to know, how is it possible to correctly align all figures below without passing through a vectorial processing software. Is it possible in LaTex ? I am working with subfiguresbut didn't ...
Waxler's user avatar
  • 860
0 votes
3 answers
141 views

Automatically Cropping Images to Match Aspect Ratios in Side-by-Side Figures in LaTeX

I'm working on a document in LaTeX where I need to place two images side-by-side. These images come with different aspect ratios, and I am looking for a way to automatically crop them to appear with ...
Foad's user avatar
  • 983
0 votes
1 answer
47 views

How to edit the title of picture?

I write latex with IEEEtrans with TexLive version 2022 I would like to have the following format: a. There is only (a) and (b) on each respective figure. b. Title of Figure consists of the general ...
Nicholas TI's user avatar
1 vote
2 answers
47 views

Issue with subfigure split across multiple pages

I have 4 subfigures that I want to be presented across two pages, with 2 on each page. (Each set of two subfigs is large enough to take the entire page). I followed the suggestions here: Split ...
wiltabone's user avatar
0 votes
1 answer
48 views

Subfigure captions alignment

I have used the subfigures package but there is a slight misalignment between my two captions. The figures however are aligned and of identical size. Would anyone know how I can solve this ? \...
Manon Cha's user avatar
1 vote
2 answers
187 views

Creating a Common Legend for Subfigures with subcaption Package in LaTeX

I'm working on a LaTeX template, the elsarticle class from Elsivier, where I have two subfigures created using the subcaption package. I came across this answer which provides a solution for having a ...
pvti's user avatar
  • 135
0 votes
1 answer
22 views

How to input pictures with subfloat in IEEE latex

I write latex with IEEEtrans with TexLive version 2022. I would like to input two pictures where Picture A is at the top and Picture B is at the bottom as follows. Here is the latex code: \...
Nicholas TI's user avatar
0 votes
0 answers
35 views

Place subfigure caption top left in revtex4-2 template

I would like to place the subfigure captions at the top left of the images. There are a ton of questions like this here but they all use the subcaption package, which I don't want to do since my ...
Ptheguy's user avatar
  • 373
0 votes
0 answers
13 views

Customizing reference styles of sub-tables in LaTeX

I create and reference to some sub-tables. The following show a minimum example. \documentclass{IEEEtran} \usepackage{subcaption} \begin{document} \begin{table} \caption{Table} \...
Trams's user avatar
  • 365
0 votes
0 answers
27 views

How to fix misaligned subfigures with subcaptions

I have two subfigures where the right one is vertically above the left one. I am not sure how to fix this. Here is the code I have: \documentclass[12pt]{article} \usepackage[margin=1in]{geometry}% ...
melatonin15's user avatar
0 votes
1 answer
59 views

Using figure* moves image to a new page in a 2-column document. Is there a way to prevent it? [duplicate]

I am using \begin{figure*}[H] since I want my figure to span to the whole page width while on double column page but it is causing the figure to move to a new page (despite using [H] to place the ...
Basileus's user avatar
  • 101
0 votes
1 answer
103 views

Figures in Two columns

I'm using overleaf. It's two column and I need 6 figures comes one by one. two figures in column 1 and another 4 in column 2.
Appandairaj R oe23s001's user avatar
1 vote
3 answers
226 views

How to use \autoref to refer to a subfigure

Let's say I have a figure that actually has two subfigures (but composited into a single file), is there a way that I could get autoref to output "Figure 1A" and "Figure 1B"? What ...
Danny Garside's user avatar
0 votes
2 answers
73 views

Warning errors for floats and subfloats in my main document

I found this piece of script to place three images all on top of each other \documentclass[preprint,12pt,review]{elsarticle} \usepackage{multicol, blindtext} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % \...
Alex Poyser's user avatar
0 votes
2 answers
84 views

TikZ-subfigures are not horizontally aligned

I have tried to align two tikz-subfigures. For for some reason though it doesn't work completely and they are misaligned horizontally as per this screenshot. What am I doing wrong here? \documentclass[...
TylerD's user avatar
  • 123
0 votes
1 answer
113 views

Scope command problem

I have a latex document in which I have drawn a figure with two tikzpictures, I need to place the two tikzpictures in specific locations. for this I used the "scope" command with "shift=...
moumou85's user avatar
  • 433
1 vote
0 answers
56 views

tikz code compilation errors between different texlive version

As part of book that I'm working on, one chapter has several drawings that were drawn in tikz some 8 years back. Many people in this forum helped with that effort including Gonzalo Medina I am now ...
jayr's user avatar
  • 229
1 vote
1 answer
120 views

Trying to put images side by side with \begin{subfigure} but it's not working

I'm trying to put two images beside each other using subfigure but they keep compiling on top of one another. On top of that, it's putting a "0.5" below each image and I'm not sure why. I ...
pyat's user avatar
  • 11
1 vote
1 answer
95 views

How can I vertically align four different sized subfigures and their respective captions?

I want to have a Figure out of 4 different sized subfigures in one line. The subfigures should be centered vertically and the captions should be at the same height. I tried with and without [c] after \...
Lennart J.'s user avatar
0 votes
0 answers
26 views

Composition of multiple figures [duplicate]

I'm trying to compose multiple figure into a singular figure block. I would like to obtain something like what in the picture.
john's user avatar
  • 163
2 votes
2 answers
74 views

Align last subfigure on the left side

I have 5 pictures and want to align them that three pictures are on the left side above each other and two on the right side. I have tried it like this \begin{figure} \centering \begin{subfigure}[h]{....
jane's user avatar
  • 23
1 vote
2 answers
115 views

Including two separate figures in latex as a subplot

I have two separate figures in tex file: fig1.tex and fig2.tex for example \begin{figure}[t] \begin{tikzpicture} . . . \end{tikzpicture} \caption{caption} \label{fig1} \end{figure} I use \input{fig1....
learning statistics 's user avatar
0 votes
3 answers
163 views

How to make two tikzpicture's appear one same row

\documentclass{article} \usepackage{tikz} \usepackage{caption} \usepackage{subcaption} \begin{document} \begin{figure} \centering \begin{subfigure}[b]{0.3\textwidth} \begin{tikzpicture} \draw[...
Paul's user avatar
  • 103
3 votes
1 answer
64 views

Subfloat figure arrangment

I'm trying to achieve the following figure layout using \subfloat but without any success. That is to have one figure one the left side of the page, and other two on the right side, aligned, and as ...
Luca Anzalone's user avatar
0 votes
2 answers
65 views

Just cannot get the tikz scaling right in a subfigure environment

I understand how to scale a single tikz picture either by \begin{tikzpicture}[scale = ] or \resizebox or \scalebox. However, this seems to collapse once I put them into a subfigure environment. This ...
trembling_hands's user avatar
0 votes
0 answers
54 views

Is there any conflict here? \subfloat cannot use \label!

I want to put 3 subplots in latex using subfloat, I refer to the example and write as follows, the picture can be displayed normally. \begin{figure*}[!t] \centering \subfloat[caption fig1a]{\...
朱博文's user avatar
0 votes
1 answer
349 views

2 by 2 Grid of Subfigures on Beamer Latex

I'm preparing a beamer presentation with 16:9 aspect ratio. I want to show 4 figures in one frame as a 2x2 grid. How can I adjust them on one slide. If I reduce figure size, they display far apart ...
Fawad Khan's user avatar
1 vote
1 answer
73 views

How to align the bar charts in a stacked bar chart properly?

I'm working on this latex code to fit the bounds properly. I want to include the percentage on top of every bar plot, and the legend must be simply a rectangle. Also, can anyone please help me use ...
Student's user avatar
  • 197
0 votes
1 answer
74 views

Format of \autoref for subfigures

I am using \autoref to cite figures in my document. Here is an example with codes. \documentclass[12pt]{article} \usepackage{graphicx} \usepackage{subfig} \usepackage{caption} \usepackage{float} \...
wxwuse's user avatar
  • 149
0 votes
1 answer
198 views

Align tikzpicture plots (subfigures) horizontally and vertically

I have these four tikspicture plots as subfigures. I want to have the axes aligned as well as the subcaptions (a,b,c,d). Also, I want the plots to have the same size and the subcaption letters to be ...
Fantastic MsFox's user avatar

1
2 3 4 5
39