Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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

0
votes
1answer
15 views

How to embed a subfigure inside another subfigure

I have multiple plots which I built using Tikz. I need to put all of them in the next configuration. Can anyone give me an idea of how to do it?
0
votes
0answers
27 views

How to escape [ and ]

Consider this script \documentclass{report} \usepackage{graphicx, subfig} \begin{document} \begin{figure} \subfloat[$a>5$~[a.u.]]{% ...
0
votes
0answers
11 views

LyX - Random numbering of sub-figures in pdf output

The numbering of the sub-figures in my pdf output is kind of random, but in the editor the numbering is as it should be. In the LyX editor this is what I see: Where the sub-figures are correctly ...
1
vote
1answer
19 views

How to plot subfigures in a specific order (two columns)?

I'm using the following class and package: \documentclass[journal]{IEEEtran} \usepackage[caption=off]{subfig} I'd like to know how to create the subfigure in the caption order as shown in the image ...
0
votes
1answer
44 views

Using subfigures in a wrapfigure with proper captions

I am trying to create a wrapfigure that has two subfigures. Normally when I create subfigures, I use the following structure: \begin{figure}[h] \centering \begin{subfigure}{.5/textwidth} \...
1
vote
1answer
36 views

Placing a figure with subfigures immediately below paragraph title

I would like to have some paragraphs including a sequence of figures (no text at all). However I am not succeeding in placing the figures right below the paragraph title. What happens is that the ...
1
vote
2answers
67 views

How to set up perfectly multiple figures when using subfigure and tikz

I have the next latex script. I want to align up perfectly the borders (bounds) of each plot with respect to the others, basically guaranteeing that the real space (i.e., over the paper) used for each ...
1
vote
2answers
28 views

How to place multiple pdf figures next to each other in Latex

I have four charts which were originally in eps file format. I have exported them as pdfs and I am trying to include them next to each other and under each other. I have the following code \...
0
votes
1answer
36 views

How increase size of two sub images side by side

I have the following code: \usepackage{graphicx} \usepackage{cite} \usepackage{subfig} \begin{document} \begin{figure}[H] \begin{minipage}{.5\linewidth} \centering \subfloat[horizontal mic pairs]{...
1
vote
1answer
42 views

line break in subfigure caption with proper “hang” alignment

I want to insert a manual line break in the subfigures captions. I have achieved this with either \protect\\ or \newline. However, the second lines do not align properly. I want them to start at the ...
0
votes
0answers
21 views

How to place arrays of figures in comparison and zooming in particular parts

I am puzzled in plotting an image similar to the following (presented in the CARN paper), I used subfloat and cropped images outside LaTeX. I would like to include the left full image and highlight ...
0
votes
0answers
24 views

use of @subcaption and @subfig package

I am going to insert various figure by using subcaption but when i use \usepackage{subfig} or \usepackage{subcaption} the program doesn't run and give an error like subfig.sty not found. Please help ...
2
votes
3answers
42 views

Fitting 6 pictures in 2 rows: how to increase their size

I need to fit 6 pictures in two lines in Latex (3 figures per line). The method I am using now makes them too small \documentclass[12 pt,a4paper, oneside, openany, notitlepage]{article} \usepackage{...
1
vote
3answers
42 views

spacing when using subfloat

Consider this example: \documentclass{report} \usepackage{subfig} \usepackage{graphicx} \usepackage{lipsum} \begin{document} \begin{figure}[htp] \centering \def\twidth{0.45} \subfloat[{\lipsum[...
0
votes
0answers
16 views

lipsum as a caption for subfloat [duplicate]

Consider this script: \documentclass{report} \usepackage{subfig} \usepackage{graphicx} \usepackage{lipsum} \begin{document} \begin{figure}[htp] \subfloat[\lipsum[1]]{ \includegraphics{example-...
0
votes
1answer
46 views

Subcaption environment failed. All figures containing a subfigure crashing all of a sudden

I am currently writing my thesis in LaTeX. Today, all of a sudden, LaTeX started crashing. All the figures which contain a subfigure (NOTE: I am using the subcaption package) started receiving the ...
1
vote
1answer
36 views

Subfloat figure and text overlap in \begin{figure}[H]

\documentclass[sort&compress, 5p,draft]{elsarticle} \usepackage{lineno} \journal{Journal of \LaTeX\ Templates} \usepackage{subfig} \usepackage{pgf,tikz} \usetikzlibrary{shapes.geometric, arrows} \...
2
votes
1answer
30 views

Using deprecated subfigure package and succeeding subfig package in parallel

I have a lot of figures in my document and unfortunately used the deprecated subfigure package. Now, I don't want to change all figures to the better subfig package, but instead, want to use it for ...
0
votes
0answers
9 views

Text after subfigure skips second column of the subfigure in a two column document

My code is below. This gives me four figures one on top of each other, occupying one column (left) of a two column document as desired. My problem is that the text after these figures does not fill ...
0
votes
0answers
34 views

Caption of subfigure is not centering

I am transferring my data on IEEE access latex format. It is a two-column format and I have to put 6 subfigures (two in a row). For importing these sub-figures, I made a page in a single column by ...
1
vote
1answer
42 views

Two figures are arranged on top and bottom position

I want to arrage two figures in "side-by-side" (left-right). But the out put I got is like this (top-bottom): My code is here. \documentclass{article} \usepackage{graphicx} \usepackage{subcaption} ...
2
votes
1answer
49 views

Two tables side by side without losing caption

I am trying to do two tables side by side. I have also benefited from the following thread, followed this answer and a couple of others. Two tables side by side with minipage My code is the ...
0
votes
0answers
48 views

how to insert subfigures

I want to insert subfigures. I'm using this code \documentclass[twocolumn]{mnl-author} \usepackage{epstopdf} \usepackage{hyperref} \usepackage{graphicx} \usepackage{caption} \usepackage{subfigure} \...
0
votes
0answers
25 views

Undefined control sequence error for \subref command used in svjour3 latex

I am trying to use the subfigure environment along with sub-reference using \subfloat and \subref command and have already installed and tried with the packages like \subfig, \subcaption, \float in ...
7
votes
2answers
134 views

Uneven placement of 6 subfigures

Is there a way to arrange the subfigures in the following way in LATEX?
2
votes
2answers
53 views

Subfigures with combined caption?

Is it possible to group figures into a single float and reference them separately, without creating separate caption for each of the figures? I am aware of subfloat and subfigure environments, but ...
0
votes
1answer
75 views

Side-by-side subfigures, MATLAB export, textwidth

EDIT: This might be solved with just the knowledge of what size \textwidth in points or centimeters is with this setup. I have the problem of exporting MATLAB figures to LaTeX and keeping the font ...
1
vote
1answer
31 views

Center a table and figure on a page on the same line

So I am trying to make a page of a Latex document which has an image next to a table below another image. I was trying to use the subfigure command to center them, but due to the subfigure command ...
2
votes
0answers
34 views

Unaligned Subfigures blocking each other

I have the following piecharts in two subfigures, however: One of them is blocking the legend as shown in the picture. Is there any workaround? I tried modifying pgf-pie (thanks Xu Yuan!)but to no ...
1
vote
2answers
36 views

How can I force my subfigures to be aligned?

I have 4 images and I'd like them all to be aligned along their vertical and horizontal edges. The problem is that the caption on the top right image takes up 2 lines, but the caption on the top left ...
2
votes
1answer
43 views

Change numbering of subfigure

I have two figures with multiple subfigures in each. The subfigures in my first figure are named a), b), c), d). In my second figure, I want my subfigures to start numbering where my first figure ends,...
4
votes
1answer
35 views

inconsistent space between subfloats in subfloatrow

There is an inconsistent space between the second and third subfloat in subfloatrows. I don't understand where it comes from and how to remove it. (OMFSM, MWEs can take a really long time to assemble!)...
3
votes
3answers
70 views

How to add a description after each column at the bottom?

I want to add a description "column a" for the first column, "column b" for the second column, "column c" for the third column. How to do that? \documentclass{article} \begin{document} \begin{figure}[...
1
vote
1answer
18 views

Mixed size sub-figures in LyX without ERT (“evil red text”)

Is there a way in LyX to make this figure, with its three sub-figures having the same arrangement as in that answer, but without resorting to using actual LaTeX code? I found an almost duplicate ...
0
votes
1answer
62 views

Responsive collage of pictures

I need to make a collage of picture responsive. Below my current MWE, I cannot use any environemnt but subcaption as this is the guideline of my university: \documentclass{article} \usepackage{...
0
votes
1answer
24 views

Put text in whitespace wrapfigure of subfloats

I've got this right now: As you can see, the text does not occupy the whitespace above the left graph which makes it look very awkward. It also has to work with multiple lines\sections\paragraphs ...
4
votes
1answer
54 views

Table next to figure with table caption on top but figure caption on bottom

I use the following code, which I modified from the code I found here (second example), to place a table next to a figure. However, in comparison to the example linked above, I would like to have the ...
0
votes
1answer
32 views

Table below figure, spanning two columns

In one of my documents, I am attempting to put have a table inside of a figure environment, and have one caption that refers to both of the above (I am trying to have the table act as a separate panel)...
1
vote
1answer
38 views

subfloat vertical alignment

I am having a problem aligning figures in a subfloat. Here is the raw code: \begin{figure} \centering \subfloat[]{{\includegraphics[width=.48\textwidth]{image1.pdf} }\label{}}% \newline \subfloat[]{{...
0
votes
1answer
63 views

Defining a new figure environment

I want to define a new environment, that sets up two \figure side by side. I have already done it manually, but I need to make a shortcut for it, so I can just write "\begin{sidebyside}"+enter to make ...
2
votes
1answer
40 views

Captioning tikz matrix with subfigure [duplicate]

I am having trouble wrapping a tikzpicture, which is a matrix of nodes, within a subfigure. I would like this tikzpicture to be captioned and labelled. However I am getting the following error: ...
1
vote
1answer
136 views

Side by side subfigures in lyx

I am using lyx and want to put two figures side by side. I could do it by inserting two minipages separated by a \hfill inside a float but it only allows me to use separate captions rather than ...
3
votes
3answers
119 views

How to add subcaption to tikz

I need to place three tikz pictures side by side, and assign one caption to the triple and a subcaption to each tikz. I currently use subcaption package and it works well. However, I need migrate to ...
1
vote
1answer
48 views

Reduce horizontal space between subfigures

I have created a 2x2 subfigure with the following code: \begin{figure} \centering \begin{subfigure}{0.49\textwidth} % width of upper left subfigure \centering \includegraphics[width=.5\...
3
votes
1answer
47 views

Using subfigure with tex4ht

i've read this question and the subfigure environment works fine, except captions aren't centered below the images. Instead, it looks like this: is there a way to fix this? my config.cfg looks like ...
0
votes
1answer
39 views

Can't get an (a) and (b) under the subfigures

I am trying to plot two graphs as subfigures and place them aligned. When I align normal figures, automatic subcaption like (a) and (b) etc appears under the figure. It does however not appear under ...
2
votes
1answer
34 views

Odd subfigure indexing with minipages

I have two figures in this document. The second uses minipages to keep its subfigures together with a table (as suggested in this answer), unfortunately the subfigures of the second table are not ...
0
votes
1answer
36 views

Align figure and tables in subfigure environment

I am trying to put a table and a figure side by side with a subfigure environment. I followed some resources online and the most similar is the following: Join figure and table on the same page. In ...
1
vote
1answer
32 views

Uneven horizontal spacing for 3 subfigures

I am tryining to show 2 rows of subfigures where each row contains 3 subfigures. However, the horizontal spacing between the subfigures is unequal and also it seems to be different between the two ...
1
vote
1answer
40 views

subfig package in nature document class

I am using subfig package inside the document class "nature". It is not working. Is there any other way to draw subfigures in this class? \documentclass{nature} \usepackage{amsfonts} \usepackage{...