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
0 votes
0 answers
7 views

How to make sublistings with minted package?

I use the minted package for creating highlighted code listings in my text, and I have a need to display several snippets under one float. Firstly, I've tried to use the \subcaptionbox command from ...
user avatar
0 votes
2 answers
36 views

Pgf-pie in subfigure

I have the following code that draw four pie-chart using subfigure: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{subfigure} \usepackage{pgfplots} \usepackage{pgf-pie} \usepackage{...
user avatar
0 votes
1 answer
30 views

Two TiKZ figures side-by-side inside a wrapfig environment

I am trying to place two tikz figures side-by-side inside wrapfig environment. Here is the MWE: \documentclass[tikz]{standalone} \usepackage{tikz} \usepackage{wrapfig} \usepackage{lipsum} \...
user avatar
  • 311
0 votes
2 answers
26 views

Removing page numbering on the Continued float two page figures in Overleaf

I have two pages consisting of two groups of related figures using the floating commands. I want to remove the page number on the second page of these two. I have tried this page using afterpage and ...
user avatar
  • 103
1 vote
2 answers
56 views

Graphics Alignment

I have compiled this code but the right part is somewhat messy. I would like the two graphs on the right to be aligned (centered) one below the other, but I have not been able to do so. Any idea to ...
user avatar
  • 287
1 vote
1 answer
52 views

Multiple pgfplots with common y-axis

As a part of manuscript, I have to plot multiple graphs whose x and y axes ranges are the same. I am using subflot along with tikzpicture. My question is, since the range of values of the both axes ...
user avatar
  • 101
0 votes
0 answers
30 views

Error while using Subcaption package

I am trying to use the subcaption package in my code but it throws errors. Here is the preamble of my code: \documentclass{report} \usepackage[utf8]{inputenc} \usepackage[LGR,T1]{fontenc} \usepackage[...
user avatar
0 votes
0 answers
22 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]{...
user avatar
  • 69
0 votes
2 answers
40 views

How to hyphenate caption in subfigure?

I have a centered subfigure with 2 images with 2 caption like so they are made with the following code \documentclass[12pt,a4paper]{article} \usepackage[a4paper,margin=1in]{geometry} \begin{figure}[...
user avatar
1 vote
2 answers
48 views

Vertical alignment with scaled Feynman diagrams

I'm doing a row of three Feynman diagrams made with tikz-feynman. I'm having some problems with alignments. First, I use subcaptionbox to have a vertical alignment of the subcaptions (see here). ...
user avatar
1 vote
1 answer
29 views

Tables goes unwantedly on next page using IEEE journal

I have made a table with two subtables, that go in to the margin on the sides. For some reason the table always go on the next page even though using [h] or [!b]. An example: \documentclass[journal]{...
user avatar
2 votes
0 answers
35 views

Three subfigures

I am trying to add generate three subfigures in latex like the attached photo. My code is \begin{figure}[H] \centering \begin{minipage}{.66\textwidth} \includegraphics[width=\textwidth]{figA.eps} \...
user avatar
  • 85
1 vote
1 answer
30 views

Putting subfigures side by side using subcaption and caption package

I have the following piece of code: \documentclass{article} \usepackage{subcaption,caption} \usepackag{graphicx} \begin{document} \begin{figure}[hbt!] \centering \begin{...
user avatar
  • 225
0 votes
1 answer
47 views

adjustbox for 'Overfull \hbox LaTeX' with subfloat and minipage

I am trying to put two figures (separately stored in two .pdf files) vertically in a one-column style. \subfigure is not allowed, and below is my code: \documentclass{article} \usepackage{subfig} \...
user avatar
2 votes
1 answer
33 views

Error by loading subcaption using the LNCS class

I've used the subcaption package without any problem. Now I am drawing the tikz picture using the documentclass LNCS. If I use the subcaption package, \documentclass[runningheads]{llncs} \usepackage[...
user avatar
  • 221
0 votes
0 answers
12 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:
user avatar
2 votes
3 answers
73 views

Latex subfigure arrangement

I need help with arranging subfigures in this manner (as subfigure b is a different height but same width as a and c) Any help much appreciated! edit: I've been using the subcaption package!
user avatar
0 votes
0 answers
32 views

Define Command for plotting family of functions in pgf/tikz

I have a lot of families of functions to plot in linear and logarithmic x-coordinates. The plots should all have the same min/max x/y values. MWE: \documentclass{article} \usepackage[utf8]{inputenc} \...
user avatar
0 votes
0 answers
32 views

Subfigures of subfigures

I want to create subfigure of subfigures in latex. A verbose example is below: Given two set group, e.g. felines and canines, I firstly build a subfigure with multiple cats and dogs. Then, add a "...
user avatar
0 votes
2 answers
54 views

Four figures in one row in Overleaf [duplicate]

I would like to add four figures into a single row but I am unable to do it. I tried a lot to figure out the error but still failed. At the moment, there is one figure on row 1, the second figure on ...
user avatar
2 votes
1 answer
40 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 ...
user avatar
  • 61
1 vote
1 answer
48 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. ...
user avatar
  • 61
1 vote
1 answer
31 views

Controlling captions for subfigures

I want to move around the positions of subfigures as follows. Move the Panel 3 figure below the Panel 2 figure; Move the captions below the Panel 1 figure; and if possible Align the subcaptions at ...
user avatar
  • 107
2 votes
1 answer
38 views

How to place two subfigures one above the other in the margin paragraph?

I want to create something like the following: That is, place two graphics in the margin paragraph (I couldn't find a similar MWE in a search here on the website). What I have at the moment is the ...
user avatar
  • 298
0 votes
3 answers
47 views

How to make 1 figure with 4 subfigures containing matrices?

like in the title, but below is an image I want to restore in my LaTeX document. This is what I tried: \begin{figure}[h!] \begin{subfigure}[b]{0.2\textwidth} \begin{tabular}{|c|} \hline ...
user avatar
  • 1
0 votes
0 answers
19 views

how to Subfigure with custom position?

I am trying to place three images in one figure using the subfigure enviorment. I would like the two horizontal figures to be next to the larger vertical figure, so that the top edge of the upper ...
user avatar
1 vote
0 answers
18 views

Main figure label as prefix of subcaption

I have a figure with multiple large subfigures spanning multiple pages, following the syntax from this nicely written answer: https://tex.stackexchange.com/a/278748 The figure and sub-figure captions ...
user avatar
  • 11
1 vote
1 answer
45 views

How to adjust/manipulate labels in subfloat

Given the following code using subfloat: \documentclass[12pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{caption} \captionsetup[table]{font=sf, labelformat=empty} \captionsetup[...
user avatar
1 vote
1 answer
22 views

I want to add two subfigures one under the other, but the code I added below gives an error. I can't find why this code does not work

\begin{figure}[H] \begin{center} \begin{subfigure} \begin{tikzpicture} \begin{scope}[every node/.style={draw, circle, inner sep=0pt, minimum size=.15cm, fill=black}] \node (A) at (0,0) {}; \...
user avatar
  • 31
1 vote
1 answer
74 views

bold the caption of subfigure

I have a figure with two subfigures, I want to bold the caption of the subfigure and the (a) beside the caption of that. Like the following, I want to write (a) this is bold. \documentclass[conference]...
user avatar
  • 13
0 votes
0 answers
30 views

How to create a grid of listings or grid of listings, mixed with figure (similar to `subfigure`, but not exclusive to `figure`)?

From what I understand, there is some big difference between listing and figure. While I have not quite figured out what the differences are, I understand that I should not use them interchangeably. ...
user avatar
  • 141
1 vote
1 answer
21 views

How to make a fixed caption with different margins and smaller fontsize?

Im trying to make the letter of a figure caption smaller, and in addition to have different fixed margins, smaller than the rest of the text. Here's my code: \begin{figure}[h!] \centering \...
user avatar
  • 11
1 vote
2 answers
107 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}...
user avatar
0 votes
1 answer
57 views

Text spacing on latex svg screwed when embedded

I have been trying to import svg images into my latex document, but latex seems to screw up the text spacing. I produce the SVG files using pyplot in python. The images look fine inkscape with proper ...
user avatar
  • 21
0 votes
1 answer
32 views

How to align captions of the side-by-side subfigures by the bottom, but subfigures by the center?

I am trying to put three figures side-by-side. But they have different sizes. Here is the basic code \documentclass[preprint]{elsarticle} %\documentclass[<options>]{elsarticle} \usepackage{...
user avatar
0 votes
2 answers
38 views

How can I set a sub subfigures parameters?

I am looking for way to set the figure according to the following configuration. I've tried embeded subfigures but it didn't work!!!!
user avatar
0 votes
0 answers
24 views

Special arrangement of subfigures and captions

I need to arrange 2 subfigures with the corresponding captions with the special arrangement as follows. Thanks for your help!
user avatar
1 vote
1 answer
56 views

How can I place 3 diagrams next to each other?

I am trying to put three diagrams next to each other, but it does not work. If I use subfigure the third figure is below the others, even if there is enough space for all three in a row. Now I tried ...
user avatar
  • 13
1 vote
2 answers
35 views

2x2 unequal image placement, Subcaption. First two image are stacked horizontally. second two vertically, why?

I have 4 images of various sizes (attached herewith). I want to place them in a 2 x 2 grid. Their widths should be the same, roughly 0.5/textwidth. I have done the following: ''' \documentclass[12pt,...
user avatar
3 votes
1 answer
126 views

Display math in \savebox?

As per the title, I'm trying to utilize display math in a savebox to get the width of the display math: \documentclass{minimal} \newsavebox{\mybox} \sbox{\mybox}{\[ 2 + 2 \]} \begin{document} \...
user avatar
0 votes
1 answer
36 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 ...
user avatar
0 votes
1 answer
41 views

Subfloat problem

Here's my code. I can't understanding what it's missing due to the error: File ended while scanning use of \sf@@@subfloat. My idea is to have a series of the images with subcaptions (a) (b) and (c) \...
user avatar
  • 65
0 votes
1 answer
52 views

Moving subfloat captions vertically

How can I move the subcaptions of the subfloat vertically? My subfigures have a lot of white space and there appears a long white space between the subfigures and the subcaptions. So, I want to move ...
user avatar
  • 67
1 vote
1 answer
24 views

how do I add text around a figure?

I have the following simple code: \documentclass[11pt,letterpaper]{article} \usepackage{fullpage} \usepackage{floatrow} \usepackage{graphicx} \usepackage{lipsum} \begin{document} \lipsum \begin{...
user avatar
  • 13
1 vote
1 answer
33 views

Sub figures of different sizes over two column text

I have two figures of different sizes, one which I want to extend on the full page and the other which I want only on one side of my two column text. Here is what I a achieve: And here is the code I ...
user avatar
4 votes
1 answer
81 views

Draw across two tikzpicture in subfigures

I would like to draw a connection between two tikzpicture, each in a subfigure - in the following MWE, between the nodes n1 and n3. I think my code makes sense: \documentclass[a4paper, 12pt]{article} ...
user avatar
1 vote
1 answer
53 views

Forcing different size svg images into symmetric grid

I have a grid of 4 svg images that I am trying to force into a grid. My problem is that when I put them into LaTex the grid alignment is slightly off. I have tried: moving the \hfill to different ...
user avatar
  • 172
0 votes
0 answers
52 views

University dissertation package/cls table captions broken by subcaption and subfigure. How to fix?

I'm trying to write my dissertation, and I've run into an issue where the subcaption and subfig packages break the caption formatting for tables. For an example, the table number label shows up as, &...
user avatar
  • 1
0 votes
1 answer
52 views

Fig 1a into Fig 1a (but with "a" is in \textit)

\documentclass[conference]{IEEEtran} \usepackage{graphicx} \usepackage{subcaption} \begin{document} \begin{figure}[h!] \centering \begin{subfigure}{.25\textwidth} \...
user avatar
0 votes
3 answers
44 views

Customize the placement of multiple subfigures

Say I have 7 subfigures, and I would like to place 1 figure at left and make it bigger enough to occupy two lines. Then all the other 6 figures are placed at the right, 3 figures for each line. The ...
user avatar
  • 103

1
2 3 4 5
37