Questions tagged [subfig]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
19 views

how to fill up white spaces in wrapfigure with subfigures

I have the following page where I want to fill up the white space (red drawings) with the paragraph. There is already a post and solution here: which is very cumbersome where I may have to change all ...
  • 13
0 votes
1 answer
35 views

make a figure of subfigures of tables of figures

This question builds off of the following: grid of subfigures with one caption per row on the left However, what I would like to do is to have a figure with subfigures having similar to these tables. ...
3 votes
3 answers
60 views

How to center align subfigures and bottom align the captions?

How can I center align the two subfigures and align the caption (a), (b) for the two figures like this? Assume that the image sizes are unknown. (or probably I can input it manually) I saw some ...
  • 225
1 vote
1 answer
35 views

Replicate sidesubfloat with subcaption-package

Following the answer I received in https://tex.stackexchange.com/a/652074/61517 I wanted to make the figures even more compact by moving the corresponding labels above/to the left of the figure (as ...
  • 1,691
0 votes
0 answers
16 views

Top-align subfigures containing lstlisting

The following code \begin{figure}[t] \centering \begin{subfigure}[t]{.47\textwidth} \centering \small \begin{tabular}{c} \begin{lstlisting} a ... ... ... ... ... ... \...
  • 101
1 vote
2 answers
38 views

subfloat command produces different sized labels

I am putting two images side-by-side using the subfig package and the subfloat command. Here is my MWE: \documentclass[varwidth]{standalone} \usepackage{mwe} \usepackage[ labelfont=bf, ...
0 votes
2 answers
31 views

how to subreference in floatrow package - hyperref?

I have a subfigure environment using the floatrow package and I would like to reference each figure in the panel individually in my paragraph as follows: figure (3a) and figure (3b) but it somehow ...
  • 81
0 votes
0 answers
32 views

how to annotate a panel of two figures?

I would like to annotate my subfigure as shown in the image below: my full code is: \documentclass[12pt,reqno]{report} \usepackage[rightcaption]{sidecap} \usepackage{floatrow} \floatsetup[figure]{...
  • 81
1 vote
1 answer
43 views

how to generate a panel of 2 figs with \subfigures?

I use \subfigures to replicate a panel of 2 figures (see below), and my output does not look like the one I wished to reproduce. The output of my code is as follows: my code is: \documentclass[12pt,...
  • 81
0 votes
1 answer
41 views

Paracol/minipage caption problems

I am trying to have two images side by side, each should have its own caption and numbering. I tried to approach this with paracol and minipage. Both of them seem to have its own flaws. The code is as ...
-1 votes
1 answer
102 views

Making coordinate system with TikZ

I have a problem with making these signals with TikZ package. Can someone explain TikZ package, how it works and how I can start with making this.
0 votes
1 answer
55 views

How to write graphics using subfig package or other?

Can somebody help me with these two linear graphics? At least some hints, how to start. I would be very greatful.
0 votes
0 answers
13 views

How can I mix arabic two counter styles in caption formatting? [duplicate]

I am hoping to mix two counter styles ( arabic numerals and lower case letters) for the caption formatting as shown in the subsequent exemple:
2 votes
1 answer
49 views

Wrong references in subfloat

Recently I asked a question about the incompatibility of caption in revtex4-2. I utilized the suggestions but now I face new problems, e. g.: the difference between the number style of the figure in ...
  • 55
1 vote
1 answer
50 views

The best way for putting pictures Side by side

I read similar questions and answers but unfortunately, I couldn't fix it. I use subcaption package; I know the subfigure is relatively old. I try to use subfig environment but I was not succeeded. ...
  • 55
0 votes
1 answer
80 views

Error with packages \hyperref, \subfig and \subcaption

\documentclass{article} \usepackage{blindtext} \usepackage{graphicx} \usepackage[utf8]{inputenc} \usepackage{multirow} \usepackage{siunitx} \usepackage{caption} \usepackage{...
  • 11
0 votes
1 answer
57 views

Subfigure error while using IEEEtran template

This is my tex to plot subfigures (I use overleaf): \begin{figure}[H] \centering \subfigure{\includegraphics[width=0.25\textwidth]{image1.png}} \subfigure{\includegraphics[width=0.25\textwidth]{...
  • 115
0 votes
1 answer
70 views

How to remove the numbering/counter of subfigure with the subfigure package?

How do I modify this code to remove the numbering of subfigure with the subfigure package? But even the numbering has been removed, I can still refer to them in text. \usepackage[]{subfigure} \...
1 vote
1 answer
32 views

Align captions below images with subfloat

The captions below subfloat figures are not aligned to the corresponding images. Is there any solution to that? \documentclass{article} \usepackage{graphicx} \usepackage{lipsum} \usepackage{subfig} \...
0 votes
0 answers
41 views

Subfigures with different angles rotated

Here is my latex code, \begin{figure}[t] \centering \subfigure[A Circle]{\label{fig:circle}% \includegraphics[height=0.7in,clip]{rectangle}} \hspace{0.1in} \subfigure[A Rectangle]{\label{fig:rectangle}...
0 votes
1 answer
44 views

Subfigure - Centering not working

I'd like to include two images side by side, forcing them to stick to a height of 3cm. However, the following code achieves the side by side setting, but does not enforce the subfigures to be centered ...
  • 61
0 votes
1 answer
149 views

Placing 3 figures in Latex in 2 columns

I want to display 3 figures as shown on the picture: 2 in the same column and the third one on the right column. My document isnt in columns. I tried things with subfigure, but i only achieved to ...
1 vote
2 answers
206 views

Legend in two Figures side by side

I have the following code to plot two figures side-by-side and one legend for each figure: \documentclass[a4,9pt]{article} \usepackage[latin1]{inputenc} \usepackage{graphicx} \usepackage{tikz,pgfplots}...
0 votes
1 answer
164 views

Labeling "a" and "b" on figure with multiple "\includegraphics" (without using actual "subfigure" entries)

I wish to add two panels to a single figures as follows, without using "subfigure" entries: \begin{figure}[t!] \includegraphics[width=1.0\linewidth]{Figa.eps} \includegraphics[width=1....
1 vote
1 answer
27 views

subfig: subrefformat not doing anything

I would like to format my subfigure labels as A, B, ... in the caption of the figure using \protect\subref{...}. Consider the following: \documentclass{article} \usepackage{graphicx} \usepackage{...
0 votes
1 answer
46 views

Figure numbers are same while using the continued float

My figures are very large and I need to use them one after the other and I need to continue the figure on the next page. But the figure number remains the same. Can anyone please provide me any ...
0 votes
0 answers
68 views

How to use subfig, psfrag, and contour packages with LaTex

I'm trying to combine the aforementioned packages to produce a Figure in LaTex, but it isn't working correctly. The subfig and psfrag packages work correctly and the labels get replaced properly. ...
1 vote
2 answers
2k views

How to place 4 figures side by side in Overleaf

I'm trying to plot 4 figures like in the picture in overleaf. I did it in Latex, copy and pasted it to Overleaf, but it won't work. Here is my code from Latex: \begin{figure} \centering \begin{...
  • 13
0 votes
0 answers
39 views

Change subfigure numbering

I would like to change the subfigure numbering (a), (b), (c), (d),... to something like (a), (b1), (b2), (c), (d1), (d2), (d3), (e1), (e2) but cannot find a solution to this... I want some related ...
  • 1
2 votes
1 answer
92 views

Place braces on subfigure intext reference (e.g. Fig. 1(a) instead of Fig. 1a )

I would like to reference a subfigure as "Fig. 3 (a)" using \ref{fig:figure3a} but instead I am getting "Fig. 3a". How would I add the braces to a subfigure reference? Where the ...
  • 182
1 vote
1 answer
101 views

Automatic splitting of subfigure over multiple pages

I have lots of subfigures that I want to split across multiple pages. These subfigures are of different sizes. I'm still editing my document so figures are being pushed around. I don't want to hard-...
  • 157
0 votes
0 answers
42 views

Making spaces after inserting figures as pdf in latex?

Making spaces after inserting figures as pdf in latex. After adding png or jpg, there is no space between the text under the figure. However, when I upload it as a pdf, it leaves a space between it ...
  • 51
1 vote
1 answer
82 views

Bottom-align caption in subfloats

I am trying to align the subcaption of two vertically aligned subfigures of different sizes, this is my code, how can I modify it to obtain the desired result? \documentclass[12pt,twoside]{report} \...
0 votes
0 answers
32 views

show picture with special character name

how i can show picture in latex but with special character file name \begin{figure}[!htb] \centering \subfigure[]{\includegraphics[width=0.1\textwidth]{pictures/datasets/...
  • 1
1 vote
1 answer
37 views

How to use latex to achieve this effect, the number of subfig is shown in the figure

I want to achieve this kind of display effect, do you know how to achieve it?
1 vote
1 answer
98 views

How do I justify the text using subcaptions in the attached code?

I am using revtex4-2 formatting, and have 2 columns. I would like to have 2x2 subfigure, each labeled by a different alphabet. And I want the caption to be justified. However, the attached code ...
-1 votes
2 answers
98 views

generating a table of Figures with labels below the figures

I would like to generate a table of Figures. An excellent example is How to generate a table of figures. Which I have accomplished, however now I would like to add labels below each figure (a), (b).......
2 votes
1 answer
68 views

spreading the table captions for subfloats

Hello I am trying to spread the caption of a subfloat in a table to be in one line but could not figure out a way to achieve that. Here is an example \documentclass{article} \usepackage{subfig}% http:/...
2 votes
1 answer
284 views

How can Overleaf handle \subfloat and subfigure environment together?

I have written a paper in overleaf and used \subfloat and subfigure environment at the same time. I only included \usepackage{subcaption}. When I wanted to compile it on the local computer, it says: ...
0 votes
1 answer
60 views

How to keep subtables together without producing half-empty pages?

I have two subtables placed in a continuous float environment. However, as I've tried to make clear in the example, (i) I want the subtables to be following each other. Moreover, (ii) I want to avoid ...
  • 1
1 vote
1 answer
22 views

Vertical arrangement of subfigure beside a long listing and equation

I am using the env lstlisting and subfigure in the figure. Since I am running out of space, I'd like to put image B on top of image A with their own captions. I'd also keep the general caption. Any ...
  • 149
3 votes
2 answers
203 views

Figures side by side

SOLVED - see edit 2: I am trying to place two figures side by side in a single-column document. I have attempted several suggestions I found online (the subfig package, the minipage environment, just ...
  • 31
3 votes
1 answer
136 views

tabularray with inserted subfloats: why counter "subfigure" doesn't start from "1" (or "a")

Consider the following MWE: \documentclass{article} \usepackage[export]{adjustbox} \usepackage{rotating, makecell} \usepackage{tabularray} \usepackage[skip=0.5ex, belowskip=1ex]{subcaption} \...
  • 262k
2 votes
1 answer
59 views

Beamer subfig captions without prefixes

I am using the subfig package in Beamer to stack two images on top of each other. I'm using \captionsetup[subfigure]{labelformat=empty} to get rid of the figure prefixes, but I am having trouble ...
  • 156
2 votes
2 answers
49 views

How can I place two sub figures under each other vertically?

since I already saw that this question has already been asked here, I tried the suggested solutions but the problem still exists. I have two sub figures that are wide and I would like to place them ...
  • 83
0 votes
0 answers
38 views

Different horizontal and vertical spaces between subfigures with tikz text and inset

I am trying to insert a bunch of pictures of the same size (1416x1158). and inside of some subfigures, there is a zoomed-in picture. Also, I am adding captions using tikz node. But there is a problem, ...
  • 101
1 vote
1 answer
40 views

Placing images into different columns

I have the following requirement where there are some plots which will be stacked in two columns as shown in the figure. And in addition there is a color bar which will be placed on the right side ...
  • 47
0 votes
0 answers
29 views

Second row of my figure is not centered

I am using minipage to show my figures in the pdf file using the following code: \begin{figure*}[tb] \begin{minipage}[b]{.28\linewidth} \centering \includegraphics[width=\columnwidth]{images/...
2 votes
1 answer
20 views

Subfigure arrangement - first image is raised

I am using LaTeX to write my thesis and have found a problem when I try to insert subfigures. I am using the package subcaption. This is the code I have used \begin{figure}[H] \centering \...
0 votes
0 answers
75 views

Continued Float with Subfigures - Modern Approach?

I am often working with subfigures like \begin{figure}[htbp] \begin{subfigure}[t]{0.48\textwidth} \includegraphics[width=\textwidth]{plots/P0.png} \caption{} \label{fig:P0} \end{...
  • 109

1
2 3 4 5