Questions tagged [subfig]
{subfig} package concerns of figures broken into subfigures.
217
questions
0
votes
1
answer
24
views
Can't get two figures side by side to work
I have tried quite many methods of getting two figures to compile side by side. Most of these method end up giving this error
Emergency stop subcaption.sty 66
Which shows this line in the file ...
2
votes
1
answer
76
views
\subfigure doesn't generate space between words
could anyone tell me why the subfigure can't generate space between the words, they are all linked together?
\begin{figure}[htb!]
\centering
\subfigure[\label{fig:beamFRFdr(a)}$Original stiffness ...
0
votes
1
answer
64
views
Replacing PNG format with SVG due to low resolution
I need to show two diagram in PNG format next to each other and I did it using the following code, but the resolution and quality of the figure is not good as it should be. I have their SVG format too,...
1
vote
3
answers
44
views
Modify subfloat numbering and position
I've made a figure with 15 subfloats. Here below, first, what I get and, second, what I would like.
I would like to remove subfloats (m) and keep at the location the two other subfloats on the line ...
3
votes
3
answers
82
views
How can I reference a picture that consists of two images, (a) and (b), but the file already has both images?
I need a picture in my document, which in one file already has the two images. I just need to reference the figure as Figure 1a and Figure 1b in the text. I tried to do this with the subfig package, ...
0
votes
2
answers
43
views
How can I display these subfigures without cropping them?
I am trying to create a figure comprised of 2 subfigures, either side-by-side on landscape mode or one on top of another in portrait. I have the following code to create the figure, but could use help ...
0
votes
1
answer
19
views
Large figure with caption partially displayed/unable to spread caption onto the next page
I have tried every option that I can find and am not able to figure out a solution. I have a large figure with subfigures and my boss is requiring very long captions for everything. The problem I am ...
3
votes
2
answers
59
views
Group figures with square bracket with vertical text on left side
I have 12 subfigures (of identical dimensions) displayed in a page, arranged in 4 rows of 3 each. I'm using the "subfigure" environment, which is working perfectly for this purpose. Actually,...
0
votes
1
answer
22
views
Issue with subfigures where the image isn't showing [closed]
I have the following project, with the issue that whilst the preview for the image shows just fine, including the image in the subfigure/figure environment seems to stop the image from showing. I've ...
0
votes
1
answer
37
views
Subfigures are not aligned well
Below I have 4 subfigures, but I have a problem if the third subfigure text exceeded one line, the 4th figure will shift down a little bit as you see below. Not sure how to fix this please?
\...
0
votes
2
answers
64
views
subfigure | getting it working with tikzpicture-matrix
Using the subfig package. For simple docs where the sub-figure graphics are included, works fine. For example, the following code works perfectly.
\documentclass{article}
\usepackage{graphicx}
\...
0
votes
0
answers
18
views
How can I set the numbering parameters for subfigures back to default?
Please I did change the numbering parameters for subfigures using:
\newcounter{row}
\makeatletter
\@addtoreset{subfigure}{row}
\makeatother
\renewcommand{\thesubfigure}{\alph{row}.\arabic{subfigure}}
...
1
vote
1
answer
59
views
Merging 2 tikzpictures side by side
How is it possible to "merge" 2 tikzpictures side by side ? I have tried several solutions provided in related posts using \subfigure but it keeps creating a little white space between ...
0
votes
1
answer
46
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 ...
0
votes
1
answer
75
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
188
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 ...
1
vote
1
answer
49
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 ...
0
votes
0
answers
21
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
...
...
...
...
...
...
\...
1
vote
2
answers
40
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
38
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 ...
0
votes
0
answers
69
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]{...
1
vote
1
answer
53
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,...
0
votes
1
answer
61
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
108
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
14
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
97
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 ...
1
vote
1
answer
54
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.
...
0
votes
1
answer
135
views
Error with packages \hyperref, \subfig and \subcaption
\documentclass{article}
\usepackage{blindtext}
\usepackage{graphicx}
\usepackage[utf8]{inputenc}
\usepackage{multirow}
\usepackage{siunitx}
\usepackage{caption}
\usepackage{...
0
votes
1
answer
131
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]{...
0
votes
1
answer
170
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
42
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
88
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
57
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 ...
0
votes
1
answer
275
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 ...
0
votes
2
answers
433
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
373
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
36
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
0
answers
96
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
4k
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{...
0
votes
0
answers
56
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 ...
2
votes
1
answer
137
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 ...
1
vote
1
answer
205
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-...
0
votes
0
answers
51
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 ...
1
vote
1
answer
160
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
37
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
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
220
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
166
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
97
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:/...