Skip to main content

Questions tagged [subfig]

{subfig} package concerns of figures broken into subfigures.

Filter by
Sorted by
Tagged with
1 vote
1 answer
54 views

How to avoid page breaks before or after 'figure' environments

I was trying to reference some pictures in my document but something went wrong. Here is the code : main.tex: \documentclass[french, 12pt, twoside, openany]{book} \usepackage[utf8]{inputenc} \...
Gigi's user avatar
  • 137
0 votes
1 answer
27 views

Using Latex with two plots next to each other error with subfigure

i am running the following code: \begin{figure}[htbp] \begin{subfigure}[b]{0.48\textwidth} \centering \begin{tikzpicture} \begin{axis}[ axis lines=left, ...
SebNik's user avatar
  • 101
0 votes
1 answer
27 views

I am trying to use the subfigures to plot the figures with the common figure number

\begin{figure}[htbp] \centering \begin{subfigure}[b]{45mm} \centering \includegraphics[width=0.45\textwidth]{Figures/Chapter4/Simulation Results/Unicycle_sim_without_GEKF/...
shivam bajpai's user avatar
3 votes
1 answer
53 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
16 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
2 answers
62 views

How to avoid centering caption by default?

The caption centering is quite annoying, is it possible to avoid it? My problem comes when in my code \documentclass{amsart} \usepackage{graphicx} \usepackage[font=small, labelfont=bf, ...
baristocrona's user avatar
0 votes
0 answers
24 views

Table page overflow with images

I am creating a table of images for a report using the tabular environment. Unfortunately, the table keeps going over the page boundary and into the "void", and I can't seem to break the ...
John Macauskey's user avatar
2 votes
1 answer
91 views

Tikzpicture with subfigures and caption

I would like to make the following figure: Thus have an arrow with a few vertical dashes and a text underneath the edges. I tried to use mathcha.io, but if you know how to do so with the commands ...
Drawer's user avatar
  • 35
2 votes
1 answer
76 views

My figures cannot be placed side by side

I have this code to place six images into two rows (3 images for each row): \begin{figure}[htbp!] \centering \begin{subfigure}[b]{0.3 \textwidth} \includegraphics[width=\textwidth]{1agw-eva....
Mouna Ahmen's user avatar
9 votes
3 answers
1k views

Draw a car with TikZ

Original question I have drawn a simple car with this code: \begin{document} \begin{tikzpicture} \shade[top color=red, bottom color=white, shading angle={135}] [draw=black,fill=red!20,...
mzn's user avatar
  • 333
1 vote
1 answer
17 views

How to position subfloat captions (subfig) individially per subfloat?

I'm trying to put several subfloats (tikzpicture) into one large figure. As you can see in the attatched image, the subfig captions ((a)...(f)) look weird. I am using: \usepackage{float} \usepackage[...
Sophie K.'s user avatar
2 votes
2 answers
46 views

How to overlap a subfigure into multiple rows

I'm trying to produce figures in a 3x2 pattern with an additional figure on the right overlapping both rows. I was able to produce this in beamer, it looks like this: I used the column environment, ...
Tekbright's user avatar
1 vote
1 answer
67 views

Table caption is not showing

I have the following issue in overleaf: I'm using the CAIM_sciendo_open_article_BY4 class, and the caption in the table \begin{table}[H] \centering \caption{Physical parameters of polypropylene} \...
Jeji's user avatar
  • 133
0 votes
0 answers
82 views

Underfull \hbox (badness 10000) in paragraph at lines 5--5

I'm trying to do a front page template in overleaf and got this error : Underfull \hbox (badness 10000) in paragraph at lines 5--5 The figure I tried to use are not at the right place : What it's ...
Aurélien Lengrand's user avatar
1 vote
1 answer
129 views

Putting figures side by side in a single column of a two-column document

While writing a document using revtex4-1 I need to put two figures side by side in a single column. I have tried \subfigure command as follows, \begin{figure*}[htp] \centering \subfigure[...
bubucodex's user avatar
  • 113
2 votes
1 answer
56 views

How to add subcaption the the subfigure

I need to add sub caption for the image how can do that? \begin{figure}[!htb] \centering \minipage{0.32\textwidth} \includegraphics[width=\linewidth]{im1.PNG} \endminipage\hfill \minipage{0.29\...
stella's user avatar
  • 23
0 votes
1 answer
125 views

subcaption subfig packages not working

I am using ACM ACR 2 column latex template https://www.sigapp.org/acr.html I tried to put four figures with subtitles/ subcaption but its not working in my template , i think subcaption subfigure ...
user12's user avatar
  • 579
1 vote
1 answer
97 views

Add vertical text to the left of a figure with subcaption

I would like to add text, such as `My Y variable' to the left of the following figure (where I put the red mark): Here is the MWE I got so far: \documentclass{article} \usepackage[luatex]{graphicx} \...
mistral's user avatar
  • 105
0 votes
1 answer
270 views

How to overlap subfigure with caption

Consider the following \documentclass{article} \usepackage{subcaption} \usepackage{graphicx} \begin{document} \begin{figure*}[htpb] \centering \begin{minipage}{0.3\linewidth} \begin{subfigure}[t]...
sam wolfe's user avatar
  • 257
0 votes
1 answer
42 views

Wrap text around big subfigure at the bottom row

I wanted to wrap text around the big subfigure at the bottom row of the figure. The top row 4 subfigure are ok, the spacing works. But when I wrap text around the big subfigure (e) at the bottom(the ...
banikr's user avatar
  • 17
-1 votes
1 answer
64 views

Regardless of the size this figure takes a whole page

Regardless of the size this double figure takes a whole page, is there a way to prevent this behavior? \documentclass{article} \usepackage{subfigure} \begin{document} \begin{figure} %\begin{...
zEn feeLo's user avatar
  • 175
1 vote
1 answer
283 views

Undefined control sequence. <argument> ...sub\@captype }}}{\caption@subreffmt

I'm trying to understand a particular error encountered from using a subfloat within a figure. A MWE to reproduce the error: \documentclass{article} \usepackage{graphicx} \usepackage{subfig} \...
Jake's user avatar
  • 1,179
0 votes
1 answer
28 views

Using cleveref to refer to a list of subfigures doesn't work

I have a problem when using cleveref to cross-reference to a list of subfigures. References to a single subfigure work fine, but when trying to group them, something goes wrong. Here is a MWE: \...
KDB's user avatar
  • 3
0 votes
1 answer
49 views

Move equation in subfigure

I'd like to move an equation inside a figure environment. It should appear slightly above the current place: \documentclass[ a4paper, 11pt, ]{article} % Needed for correct typography and ...
Domi1908's user avatar
0 votes
0 answers
93 views

subtable alternative. subfig-subcaption conflict

I'm currently writing my thesis and I need to list two sets of data I'm taking from literature. Since they're analogous but different (one gives me $t_0$, the other gives me $\sqrt{t_0}$, this is the ...
Antonino D'anna's user avatar
1 vote
1 answer
80 views

How to get subref style such as Figure 1(a) when using cleveref with subfig?

\documentclass{article} \usepackage{graphicx} \usepackage{subfig} \captionsetup[subfloat]{subrefformat=parens} \usepackage{cleveref} \crefname{figure}{\figurename}{\figurename} \begin{document} \...
Clara's user avatar
  • 6,017
2 votes
2 answers
471 views

Problem about using subfigure with subcaption in one column of a double-column template

I have the following code for my figures, \usepackage{subfigure, subcaption, graphicx} \begin{figure}[htbp] \centering \begin{subfigure}[b]{\columnwidth} \includegraphics[width=\linewidth]{...
Mas A's user avatar
  • 137
0 votes
1 answer
67 views

How to make a plot with 6 subfigures ( 2 figures in each row*3 rows)?

I am trying to make a plot that would ideally have 3 rows and 2 columns such that the layout is Row Description(A) |fig(a) |fig(b)| Row Description(B) |fig(a) |fig(b)| Row Description(C) |fig(a) ...
Samira's user avatar
  • 3
1 vote
1 answer
105 views

Subfigures giving Error in Report class [closed]

I have the code as follows: \documentclass[a4paper,11pt]{report} \usepackage[left=2.5cm, right=2.5cm, top=2.540cm,bottom=2.540cm]{geometry} \usepackage{setspace,graphicx,graphics} \usepackage{subfig} \...
Bakang's user avatar
  • 13
1 vote
1 answer
42 views

Label Numbering problem

Im trying to use subfigure command like that: \begin{figure} \centering \caption{Problema com 7 nós e 9 veículos} \subfigure[Custo]{\label{fig17}\includegraphics[scale=.5]{part5-figuras/...
Igor Matsumoto's user avatar
0 votes
1 answer
59 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 ...
Ólafur Víðir Guðbjargarson's user avatar
2 votes
1 answer
83 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 ...
CuteQi's user avatar
  • 23
0 votes
1 answer
284 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,...
Questioner's user avatar
1 vote
3 answers
290 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 ...
hofmannj's user avatar
4 votes
3 answers
598 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, ...
Daniel Valencia C.'s user avatar
0 votes
2 answers
113 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 ...
Gokotai's user avatar
  • 173
0 votes
1 answer
24 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 ...
BeBrangg's user avatar
3 votes
2 answers
76 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,...
Matteo Migone's user avatar
0 votes
1 answer
28 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 ...
Gokotai's user avatar
  • 173
0 votes
1 answer
158 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? \...
Avv's user avatar
  • 157
1 vote
3 answers
326 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} \...
Johnny Canuck's user avatar
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}} ...
karima yamine's user avatar
1 vote
1 answer
187 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 ...
Waxler's user avatar
  • 860
0 votes
1 answer
194 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 ...
banikr's user avatar
  • 17
0 votes
1 answer
103 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. ...
user3236841's user avatar
3 votes
3 answers
765 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 ...
emnha's user avatar
  • 445
1 vote
1 answer
107 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 ...
arc_lupus's user avatar
  • 1,781
1 vote
2 answers
42 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, ...
John Smith's user avatar
0 votes
2 answers
59 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 ...
sphero's user avatar
  • 101
1 vote
1 answer
195 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,...
sphero's user avatar
  • 101

1
2 3 4 5