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

learn more… | top users | synonyms (2)

0
votes
1answer
17 views

Figure numbering: fnum@subfigure and fnum@figure in pdf output

I just started working with Latex and I'm stuck with the following issue: instead of getting 'Figure 1 Caption' and 'Subfigure 1 Caption', I get 'fnum@figure Caption' and 'fnum@subfigure A Caption' ...
0
votes
0answers
25 views

How to use subfigures with the template graduate-thesis in sharelatex?

I am trying to make subfigures in this template, both side by side and to stack two figures on top of each other. I have seen some examples explaining that it is necessary to include this before ...
1
vote
0answers
26 views

Remove white space around subfigure on book class document

I have the following to include two sub figures side by side: \begin{figure}[H] \centering \begin{subfigure}{.5\textwidth} \centering \includegraphics[width=0.6\linewidth]{figure1.png} ...
3
votes
1answer
26 views

Subcaption package not doing what I want it to do

I want to build a figure with 5 subfigures inside. The code I have goes as follows: \begin{figure}[hbt] \begin{subfigure}{0.4\textwidth} \includegraphics[scale=0.25]{mi1} ...
1
vote
0answers
15 views

Caption alignment of grid subfigures

I have 5 images and I would like to display them in 2 rows (3x2). This is what I've done so far, \begin{figure}[h] \begin{tabular}{ccc} \subfloat[caption]{\includegraphics[width = ...
0
votes
0answers
22 views

How to put multi-subfigure on a single page with different main caption?

I have to add 8 figures on one page using subfigure command in such a way that first 4 figures should be placed with one caption and next 4 figures with other caption. Please guide me with sample of a ...
0
votes
0answers
33 views

Subfigure not working with tikz

I am trying to put my created tikz pictures in subfigures, but for some reason this is not working. The figure is as follows: \begin{figure} \begin{subfigure}[b]{0.30\textwidth} \centering ...
2
votes
2answers
53 views

How to generate a table of figures

How to generate a table of figures like this example below:
2
votes
1answer
40 views

White space with subfigures using a macro

EDIT The answer proposed by egreg doesn't work for me: When changing the outer sep to outer sep=-10pt, instead of shifting the images, just the labels get shifted and the white space persists. ...
0
votes
1answer
22 views

Subfloat-caption position

I am trying to create sub-captions above my side-by-side figures. I want sub-caption to be above the figures and main caption to stay below the figures. Here is my code: \documentclass{article} ...
0
votes
0answers
9 views

Anchor position for the `hyperref` links to `subfig` subfloats

The package caption together with hyperref allows to make links to figures point to their top instead of to their caption. What about links to subfloats when using the package subfig? I'm using this ...
1
vote
1answer
43 views

Horizontal alignment of subfigures in PGFplots

I have 4 subfigures in a 2x2 grid. The figures are made in Matlab by using matlab2tikz, and hence the TikZ files are inputted. The problem is, that the y-ticks are different and therefore the ...
1
vote
1answer
36 views

Subfigure - Missing number

I have a problem. I want to include 3 figures via subfigures. I want the first pic to be alone in the center and the second and third fig to be beneath. This is my code: \begin{figure} \centering ...
4
votes
1answer
83 views

What does `\centering` do?

Not specific question: What does \centering command specifically do? MWE: \documentclass[onecolumn]{IEEEtran} \usepackage{graphicx,subcaption} \begin{document} \begin{figure} %\centering ...
1
vote
1answer
31 views

Subfigures. To add A and B to subfigures (in the top left corner), and to label them for referencing

I'm trying to set up a figure, so that it contains 2 subfigures. I would prefer if I could set them up with an A and B in the left-top corner (outside of the figure). However, I would also want to be ...
3
votes
1answer
34 views

Adding a figure containg multiple figures inside \twocolumn optional argument

I read here that you cannot add a \begin{figure} inside of the optional argument for \twocolumn. I want to add a row that contains 3 images in a twocolumn document. \twocolumn[{ ...
0
votes
1answer
25 views

Reduce space between 2 figures

I'm trying to display 2 figures sides by sides but I would like to reduce the space between them, how can I do ? My code so far: \begin{figure}[H] \advance\leftskip-2cm \subfloat[Recheche ...
2
votes
1answer
18 views

How to properly align multiple rows and columns of plots?

My plots are getting misaligned between the rows because of the negative values on the y axis. They're also way too far to the right. Is there any way to fix this? What it looks like: My code: ...
1
vote
1answer
47 views

How should I combine figure, subfigure, tikzpicture and scope environments?

The following code fragment produces a figure with two subfigures side by side: \begin{figure}[H] \centering \begin{subfigure}[b]{0.4\textwidth} ...
2
votes
1answer
23 views

Subfigures with no vertical space and top left aligned letter

I am trying to create an image composed of three subfigures that looks like this: Key features I am trying to capture are: No vertical space between the subfigures Subfigure letters are in the ...
2
votes
1answer
26 views

The first subfigure appears filliped and very large

The used the following script in LaTeX but the first subfigure is very large and filliped (rotated). I am using subcaption package. The figure is 1920x1080. I used this code twice in the script; the ...
0
votes
0answers
16 views

Subfig tables not side-by-side [duplicate]

So I have two tables that I want to be side-by-side by they're not. My code is: \begin{table*} \noindent \subfloat[]{ \begin{tabular}{p{2cm} p{1.5cm} p{1.5cm}} & ...
2
votes
1answer
14 views

Line break between two graphics in a subfig-style subfloat

What I am trying to achieve is this: AA B AA C A being one subfigure, B+C a second. However, I don't achieve the line break between B and C: \documentclass{article} \usepackage{subfig} ...
1
vote
1answer
15 views

Position subfloats (subfig package) of different types one besides two

I would like to make a table with one tabular top aligned left of two tikz figures. The problem seems somehow related to the floatrow package as without the result is, still not good, but better. ...
1
vote
0answers
14 views

How to cite subfigure numbers for caption of the parent figure? [duplicate]

I am trying to cite subfigure numbers in the caption of the parent figure as shown in MWE. It works but I always get the following error which I cannot remove: Error Line 15: Argument of ...
1
vote
0answers
21 views

Subfigures aligned like table

There are several posts about using par, minipage, hfill and other approaches to align subfigures like tables. Is there any package that optimizes the space (as if the main figure is a table and you ...
0
votes
0answers
13 views

Fix subpicture placement

I know this kind of thing has been asked here before, but I have a question about this post. I copied the code from there and only changed the filenames to have my pictures. \begin{figure*} ...
2
votes
1answer
22 views

Using full-sized subfloats causes them to shift to the right

I am going pretty nuts here. The little LaTeX knowledge I have has reached its limits, and I can't find any clues anywhere on the net. So some input would be greatly appreciated! The Problem When ...
2
votes
1answer
31 views

Combine a grid of images into a single figure WITHOUT subfigures and labels, captions, etc

MWE: \begin{figure*} \subfloat[\label{fig:test1}] {\includegraphics[width=.45\linewidth]{one}}\hfill \subfloat[unwanted caption\label{fig:test2}] ...
2
votes
0answers
15 views

Replace subfigure indices with new ones

I have the following code: \documentclass[12pt,a4paper,twoside]{book} \usepackage{graphicx} \usepackage{subfigure} \begin{document} \begin{figure} \centering \subfigure { ...
3
votes
1answer
35 views

Large multiline equation alignment

I have the following latex code: \begin{equation*} \begin{split} Vect =& ...
3
votes
1answer
23 views

wrong numbering in subfigure environment when caption is on top

I got wrong numbering with \subfigure environment when I use \ref to call a figure in the text. The problem only happens when I change caption position to the top of the figures (and yes, I need on ...
3
votes
1answer
126 views

Charts side-by-side in a two column article

I wrote this latex but it does not look exactly as I want it. It is a two column article so the graphs should be two columns and the charts should flow through the two columns with two charts side by ...
1
vote
0answers
18 views

Group together subfloats and reset caption counter in two-column figure

I am creating a figure for a document using the IEEEtran class. The figure spans both columns and is made up of various subfloats. I have provided a MWE of what I have attempted so far (see code and ...
2
votes
1answer
18 views

Column-layout tabular in subfigure

I want a table over each column in my figure that contains subfigures in a column-layout. I have tried different combinations of minipage and adjustbox, but have not managed to find a solution. The ...
2
votes
1answer
21 views

Subfig's ragged-right caption with hyphenated word breaks unaesthetically

Minimal working example \documentclass[11pt, twoside]{report} \usepackage{caption} \usepackage[]{subfig} \usepackage{graphicx} \begin{document} \begin{figure} ...
2
votes
2answers
72 views

Equal size subfigure

I want my subfigures to look uniform, thus each having same width and height. Additionally, each of the two rows should have a center, around which all subfigures in that row are centered. I want ...
2
votes
1answer
37 views

Complex Subfigure layouts?

I'm trying to use subfigure to arrange figures in the following way: Is this possible using subfigure?
3
votes
1answer
36 views

Align two subfigures vertically

I'm writing a LaTeX document where I want two or three QR codes vertically aligned with caption on each. Unfortunately the first QR code is always one line lower than the other QR codes and I can't ...
2
votes
1answer
29 views

Narrow subfigure caption in one line

I have the following TeX code: \documentclass{article} \usepackage{tikz} \usepackage{amsmath,amssymb} %\usepackage{subcaption} \usepackage{xcolor} \usepackage{subfigure} ...
0
votes
1answer
35 views

Problem with circuitikz, subfig and current directions

I've been searching for hours and I can't find a hint about what did go wrong, except that nobody ever tried to do what I intend (?). I need to include several circuits (via circuitikz) in a document ...
3
votes
1answer
22 views

subfigures roman numbering

I have the code: \renewcommand{\thesubfigure}{\roman{subfigure}} \begin{figure}[h!] \begin{subfigure}{.32\textwidth} \includegraphics[scale=.21]{figures/201.pdf} \caption{} ...
2
votes
1answer
36 views

Aligning captions of subfloat

I have a caption alignment problem for the captions of the subfloat. An example case: \documentclass{article} \usepackage{subfig} \usepackage{graphicx} \begin{document} \begin{figure}[htb] ...
3
votes
1answer
49 views

\subfloat \caption odd behavior

I'm very new to Latex and trying my best to adopt it as my method of choice for paper and my Thesis. I have always managed to solve any problems encountered by browsing through this forum but can't ...
7
votes
1answer
112 views

Alignment of TikZ pictures in subfigures

I have made two figures using TikZ that I would like to place side by side. This is done in this MWE: \documentclass{memoir} \usepackage{graphicx} \usepackage{tikz} \newsubfloat{figure} ...
2
votes
1answer
34 views

Black stripe at the edge of subfigure

I am using the subfigure to put two figures by each other. There is a black stripe at the right side of output figure which I am not sure how to remove it without changing the size of my subfigure. ...
1
vote
2answers
33 views

Combining tables and figures with common subtitle

I am trying to obtain the following: Figure 1: Title (A) Panel A subtitle Figure on the left - Table on the right (B) Panel B subtitle Figure on the left - Table on the right (C) Panel C ...
2
votes
1answer
26 views

referencing subfigures with tufte-book and subfig package

I can't figure out how to correctly reference subfigures with tufte-book class. Apparently it's NOT compatible with the subcaption package. After a lot of googling, I tried: subfigure: all ...
2
votes
1answer
47 views

How to use subfigure to make the following table of figures

|Fig A| FigC| |Fig B| - | FigC should span the entire column. Thanks for the help.
1
vote
1answer
34 views

2 figures in 2 rows, not getting aligned properly

I am trying to put 2 plots from matlab one above the other using subfigure. However, they are not getting aligned properly. Also, can anyone please advice as to how the text on the graph axis can be ...