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
21 views

How to center text in figure with subfigs

Say that I have this code: \documentclass[12pt,a4paper]{article} \usepackage{graphicx} \usepackage{subfig} \begin{document} \begin{figure} \textbf{Text I want centered} \\ \subfloat[Image]{\label{}\...
1
vote
3answers
48 views

The LaTeX gives error for the figure codes

\documentclass[journal]{IEEEtran} \usepackage[classicReIm]{kpfonts} \usepackage{booktabs,tabularx,lipsum \begin{document} \begin{figure}[H] \centering \subfigure [\ RBM-based load forecast] {...
1
vote
1answer
25 views

Centering caption in subfloat with a forced linebreak [duplicate]

I have a few subfloat captions that are too short to have an automatic linebreak, but I want to force one and still have centering among the lines: Basically I would like a and b to be like c ... ...
0
votes
1answer
55 views

How to format multiple figures in one column in two-columns article?

I am writing a two-columns latex file based on an aip templates. Now I have 6 figures, and I want to arrange them in a 3*2 format in one column. Here is an example I desired I've tried subfigure, but ...
0
votes
1answer
23 views

Fully justifying subfigures

In a figure environment, I can use \centering to achieve this effect: \begin{figure} \centering \begin{subfigure}{0.3\textwidth} A \end{subfigure} \begin{subfigure}{0.3\textwidth} B \end{subfigure} \...
0
votes
1answer
30 views

Positioning two figures (with subfigures) which use 1.5 rows each to occupy 3 rows instead of 4

I have two figures with 4 subfigures each. They are currently placed like this A1 A2 A3 A4 - Ac --- B1 B2 B3 B4 - Bc --- Ac and Bc denote captions. Each subfigure also has its own caption. ...
0
votes
1answer
27 views

Error including four figures in a column with IEEETran class

I am trying to include 4 figures arranged 2figs x 2figs in a column like this \documentclass[conference]{IEEEtran} \IEEEoverridecommandlockouts \usepackage[compress]{cite} \usepackage{times} % Font ...
0
votes
0answers
17 views

customize reference to subfloat [duplicate]

This script: \documentclass{article} \usepackage{graphicx} \usepackage{subfig} \begin{document} See Fig. \ref{fig:exa} \begin{figure} \centering \subfloat[example a]{ \label{fig:exa} \...
0
votes
2answers
29 views

change numbering in subfigure

I use subfigure package, the numbering in the side-by-side figures is automatically (a), (b), (c)... I would like to change the numbering in one of the figures to (i), (ii), (iii)...This might be ...
0
votes
1answer
41 views

Putting two figures side by side shifts them on to a new page? [duplicate]

In two-column paper I want to place two figures side by side. If I use figure* it shifts them to a new page. If I use minipage option again figures don't obtain correct position. Can I fix this ...
4
votes
2answers
101 views

Size of subfigure fitting its content (tikzpicture)

How can I set the width of a subfigure to fit its content, i. e. a tikzpicture. In my MWE I do not want to specify 0.1\textwidth respectively 0.9\textwidth, but instead I want the whitespace to be ...
1
vote
1answer
35 views

subfloat - enclose a set of subfloats in a subfloat environment

I am struggling in finding the correct implementation for putting my two rows of figures inside a subfloat environment. What I have now is the following: \documentclass[english]{article} \usepackage[...
0
votes
2answers
84 views

“\c@subfigure already defined” when using subfig and subcaption

The following is my thesis preamble: \documentclass[12pt,english]{article} \usepackage{subfig} \usepackage{graphicx} % for graphics \usepackage{subfigmat} %\usepackage[draft]{graphicx} % temporarily ...
0
votes
1answer
22 views

How to insert two or multiple figures in a line?

I want to insert two figures in the same lin, but it does not work. Here is my code-I used .arp class. Please help. Thanks \begin{figure} \centering \begin{subfigure} \includegraphics[width=0.5\...
3
votes
1answer
109 views

Center a rounded square into a green line

In relation to my previous question A particular customize with green line and letters for subfloat I would like to have a green line with a center rounded square (with symbol) where the labels (...
0
votes
0answers
20 views

eps images won't show up

I have a figure where each image shows a frame of a video, so their order is important. I have the eps files in the same folder, and I get no errors, but when I run it the images are not shown, ...
5
votes
1answer
88 views

A particular customize with green line and letters for subfloat

For my book, the MWE that it is adding below, is the cropping of a part of the code when I insert only two figures: \documentclass[12pt]{book} \usepackage{newtxtext} %%\usepackage{classico}%%%%%%%%% ...
1
vote
1answer
46 views

Different figures in row and column using subfloat command

I have written the following code to arrange three figures as you see in the picture below. Do you have any idea, how can I better arrange these figures? for some reasons there are lots of free space ...
0
votes
1answer
45 views

Two rotated images on top of each other on same page

I'm trying to embed two images on top of each other with both of them being rotated. I also want them to be on the same page (kinda like how two a5 papers fit on one a4). I've tried to play around ...
0
votes
0answers
31 views

Subfigures with different heights

I have a subfigure with an image on the right side and text on the other side. \begin{figure}[h] \begin{subfigure}{.475\textwidth} \centering \includegraphics[scale=0.16]{img/...
0
votes
2answers
35 views

New command based on \subfigure package

I tried to make a new command to insert photos, but it began to overwhelm me. I tried in three different ways and either I got an unintelligible mistake or it didn't work as it should. I present you ...
3
votes
2answers
33 views

Trying to use sub-figures in a column on a tikzposter

I'm trying to use sub-figures in a figure, within a block, that's in a column, on a tikzposter and instead of placing the figure and caption within the block they appear outside of it, in the middle ...
1
vote
0answers
22 views

Subfigure, submat and easy to-do packages - Command \c@lofdepth already defined. \newcounter{lofdepth}

UPDATE: Added the command \PassOptionsToPackage{subfigure}{tocloft} before the easy-todo package, according to the answers, and it solved the problem! :) I have this error when i try to use ...
1
vote
1answer
46 views

Spacing between tikz subfigures and subcaptions

I'm having trouble reducing the size between the subcaptions and their figures when adding the figures through tikz. I tried a negative \vspace as well as setting (or changing?) the \captionsetup{skip=...
0
votes
0answers
29 views

Force two big images to fit a page

I have two big figures which I'd like to fit on a page, above each other and including their captions. Unfortunately the caption of the bottom figure sticks out. I have tried using the subfigure ...
0
votes
0answers
12 views

Formatting subfigures with images and text

I was wondering if there was a way for format a subfigure like so: Thanks! I originally tried this: \documentclass[acmsmall]{acmart} \begin{figure*}[!ht] \begin{subfigure}[b]{0.25\...
1
vote
1answer
29 views

Insert multiple sub-captions (a,b,…) aligned below flowchart figure

I have a single figure representing the system transitioning between 5 states proceeding from left to right. I would like to add an aligned sub-caption below each state (a), (b), etc. Because the ...
3
votes
2answers
97 views

Adding axes to figures

I need to add axes to a bunch of figures in my document, I'm trying with tikz but maybe there's an easier and more elegant way to do it (looking at you, overpic)? The result I'm trying to achieve is ...
2
votes
2answers
37 views

Error adding a figure with multiples subfigures

I would like to include a figure made by 2 or more subfigures. This is my code: \begin{figure}[ht] \centering \begin{subfigure}[b]{0.3\textwidth} \includegraphics[width=\textwidth]{.....
1
vote
1answer
27 views

ICCV subfigures/subcaptions not recomended?

I want to submit a paper to this years ICCV conference. However, when I am using their Latex template and try to use a subfigure with a subcaption \usepackage{caption} \usepackage{subcaption} I am ...
5
votes
3answers
118 views

Placing subfig vertically

There is a beautiful post where it is explained more or less what I would like to do. Actually, I am not using subfigure, but \usepackage{subfig}. Therefore, I've tried to implement the example with ...
0
votes
1answer
29 views

How to rotate a group subfloat with sidewaysfigure

I am trying to include "sideways" subfigures according to this question How to rotate a group of figures (subfigure) from Torbjørn T. Here is the original code I am trying to implement: \begin{...
1
vote
1answer
18 views

Change subfloat spacing

I tried to remove the spacing around [H] figures by setting \intextsep to 0pt, but this sadly doesn't change the spacing around subfloats. Is there a way to do this (other than manually adding a ...
3
votes
3answers
70 views

How to automatically scale subfigures to have same height? [duplicate]

I have a lot of figures to put side by side in a document, and they are all slightly different in size (i.e. not all 4:3 format or so). What I'm doing at the moment is tweak the width=0.XX\textwidth ...
1
vote
2answers
46 views

Aligned subfigure captions or phantom forest branches

I have a figure with two subfigures of different heights. I'd like the subcaptions to align at the bottom. This could probably be done with some kind of alignment stuff, or by creating a phantom '[RTR]...
1
vote
1answer
23 views

Subfigures set in grid

I am struggling to place a series of subfigures in a 2x3 gri Apologies, I can see similar questions to this have been asked before, and I have attempted to try what is suggested but the responses ...
0
votes
1answer
17 views

Subfig Error while using Tikz

I was reading this post and encountered an error while trying to compile the following code: \documentclass[12pt,letterpaper]{article} \usepackage[utf8]{inputenc} \usepackage[spanish]{babel} \...
2
votes
1answer
67 views

figref with subfigure and parentheses

I use IEEEtran with subfigure and \figref. \begin{figure} \centering \subfloat[Foo.\label{fig:test-foo}]{\includegraphics[width=0.4\textwidth]{foo}} \\ \subfloat[Bar.\label{fig:...
1
vote
2answers
33 views

Subfigure alignment - want horizontal but coming up vertical

I am trying to get the subfigures below to appear on the same line. \begin{figure*}[h!] \centering \begin{subfigure}[t]{\columnwidth} %\centering \subfloat[][]{\includegraphics[width=0.4555\...
1
vote
3answers
65 views

Subfloat: How to align subcaption of image to same elevation as other subcaption?

Assumed we have two images with different heights. Both images are aligned to the top via valign=t. Minimum working example (MWE): \documentclass{article} \usepackage{subfig} \usepackage[export]{...
2
votes
2answers
83 views

figures in a grid with multiple line of texts

How can I put insert figures in a grid? Each figures will have 4 captions. I tried using subfloat but it doesn't seem to work. \documentclass{article} \usepackage{graphicx} \usepackage{subfig} \...
1
vote
1answer
80 views

Subfloat: How to align two images with different width to same height?

Assumed we have two images with different widths. Now we want to align them next to each other, but with same height. Minimum working example (MWE): \documentclass{article} \usepackage{graphicx} \...
1
vote
2answers
18 views

Random numbering and spacing 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. Where the sub-figures are correctly numbered from (a) to (d), but when ...
4
votes
2answers
214 views

How to put text above column in minipage?

I am using the subfigure package. I have an arrangement of total 12 figures. They are sorted in 3 columns with 4 rows in total. The Code works fine, I have a caption which is perfect. My only ...
0
votes
2answers
36 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
37 views

How to escape [ and ]

Consider this script \documentclass{report} \usepackage{graphicx, subfig} \begin{document} \begin{figure} \subfloat[$a>5$~[a.u.]]{% ...
1
vote
1answer
27 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
58 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
46 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
81 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 ...