{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)

3
votes
1answer
29 views

Adding axes labels to LaTeX figures

I have almost managed, With this code: \begin{figure}[htb] \hspace*{-5cm} \begin{minipage}{0.5cm} \rotatebox{90}{\textcolor{red}{$y$-axis label}} \end{minipage}% \begin{minipage}{\dimexpr\linewidth-...
1
vote
1answer
46 views

Have side by side figures in LaTeX [duplicate]

I use the code \begin{figure}[ht] \begin{center} \subfig{\label{dfg}\includegraphics[width=1\textwidth]{figures/2dcontour}} [Figure (A)] \subfig{\label{dfg}\includegraphics[width=\textwidth]{figures/...
1
vote
1answer
112 views

Magnified subfigure without tikz

I want to create a figure with a magnified subfigure. I know this can be done with tikz (link) however I want to do it without tikz. Can this be done? Example: My early attempt: \documentclass{...
2
votes
1answer
52 views

Code to move two images to the middle

I am inserting 4 images in LaTeX with the code below. However, the images in the top row have a different size than the images in the lower row. I do not want to make the toprow figures smaller with ...
1
vote
1answer
20 views

confliction between lineno and subfloat?

I was using both subfig and lineno at the same time. \documentclass[aapm,graphicx]{revtex4-1} \usepackage{graphicx} \usepackage[caption=false, font=footnotesize]{subfig} \usepackage{floatrow} \...
3
votes
1answer
39 views

The first subfigure appears rotated and very large [closed]

The used the following script in LaTeX but the first subfigure is very large and rotated. I am using subcaption package. The figure is 1920x1080. I used this code twice in the script; the first is ...
2
votes
1answer
36 views

Subfloat captions wider than picture

I am having troubles making subfloat captions wider than the picture it describes. Here is a MWE: \documentclass[10pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \...
87
votes
4answers
10k views

How to create magnified subfigures and corresponding boxes for portions of a large image

Updated Below I hope the title gets at what I'm trying to do. I have a large image for a thesis on an image processing topic, and I want show the large image, with zoomed in boxes (typically with the ...
4
votes
2answers
84 views

How to stack two subtables next to a third subtable?

Same as described in this question How to stack two subfigures next to a third subfigure?, this time is the opposite and with tables. Instead of this | SUBTBL1 | SUBTBL3 | | SUBTBL2 | SUBTBL3 | ...
5
votes
2answers
34 views

How to place a wrapfigure on top of the page?

Consider the following code \subsection{Seleção da Dosagem Ótima} % \begin{wrapfigure}{R}{0.5\textwidth} \centering \captionsetup{justification=centering} \captionsetup{width=0.45\...
0
votes
0answers
21 views

Table Notes in Sub-table

I want to add table notes in sub-table similar to the one shown below. Any help/suggestion would be much appreciated!
0
votes
1answer
5 views

\begin{alltt} inside subfigure in llncs

I am trying to put some code in an alltt environment, in a subfigure in LLNCS documentclass. I was previously using another documentclass which supported the subcaption package just fine, but when ...
3
votes
1answer
17 views

label of subfigures

how to write label like this Fig. 1(a) instead of Fig .1a in text. \documentclass[a4paper,aps,12pt]{revtex4-1} \usepackage{floatrow} \usepackage{subfig} \usepackage{caption} \floatsetup[figure]{...
2
votes
1answer
18 views

confict between the subfigure and customized caption(side-by-side subfigures)

the desired result: Q:The .cls document i used is a template for a journal IJCAS, i want to use the subfloat package to reveal the side-by-side subfigures, 1,when the subfig package is loaded, ...
2
votes
1answer
39 views

Create Figure with subfigures from .svg files

I am trying to create a number of figures in Overleaf which consist of several subpictures. To get highly resoluted pictures, I have saved them in .svg format. I have read different posts and learned ...
2
votes
1answer
20 views

Figure number is incrementing by 2 if subfigure is used

\documentclass{svmult} % choose options for [] as required from the list % in the Reference Guide, Sect. 2.2 \usepackage{makeidx} % allows index generation \usepackage{graphicx} % ...
2
votes
2answers
43 views

Two figure colums side by side, subfigure aligment issues

I want to create two colums of figures according to the following MWE. My solution is inspired by: How can I vertically align two minipages with subfigures and differing caption length? I have to ...
2
votes
0answers
30 views

the double parentheses beside subfigures

how can I omit the double parentheses beside subfigures, while i want to show label in text like this: 1.(a) \documentclass[a4paper,aps,12pt]{revtex4-1} \usepackage{floatrow} \usepackage{subfig} \...
3
votes
1answer
37 views

Poor subfigure and subcaption alignment

I have the following figure, containing three subfigures: I'm using the following code to produce it/them: \begin{figure}[htbp]% \tikzstyle{morpho} = [circle,draw,minimum size=1cm,thick,fill=white,...
1
vote
1answer
34 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' ...
4
votes
2answers
467 views

How can I skip a subfigure caption

i suppressed the caption for the first subfigures so the rest of figures are starting with subsequent label ((b), (c), (d), (e). I want the order as (a), (b) (c), (d) \begin{figure}[H] \centering ...
2
votes
2answers
798 views

Cut-Off Subfigure Captions

I created a figure with four subfigures (two rows of two subfigures) where each subfigure has a caption below the subfigure. Strangely, the captions for the subfigures in the top row are partially ...
0
votes
0answers
52 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
30 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} \caption{...
3
votes
1answer
29 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} \footnotesize{\caption{masa=$...
1
vote
0answers
22 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 = 1.8in]{figures/...
1
vote
0answers
28 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
39 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
56 views

How to generate a table of figures

How to generate a table of figures like this example below:
2
votes
1answer
42 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
26 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} ...
1
vote
1answer
55 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 ...
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
46 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 \...
3
votes
1answer
34 views

Alignment of only some subfigures

Consider the following example: \documentclass{article} \usepackage{pstricks-add} \usepackage{subcaption} \usepackage{siunitx} \ExplSyntaxOn \cs_new_eq:NN \calc \fp_eval:n \ExplSyntaxOff \...
5
votes
1answer
87 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 \begin{...
1
vote
1answer
36 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
39 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[{ \begin{@...
2
votes
1answer
22 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: \...
0
votes
1answer
29 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 ...
1
vote
1answer
55 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} \includegraphics[width=\textwidth,...
2
votes
2answers
45 views

overfull \hbox warning - two plots side-by-side

I am trying to create an environment for plotting two figures side-by-side: \begin{figure}[t] \begin{minipage}[b]{0.49\textwidth} \flushleft \psfragfig[frame,...
2
votes
1answer
31 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 ...
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
37 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}] {\includegraphics[width=.45\linewidth]{two}}\...
2
votes
1answer
16 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} \usepackage{...
1
vote
1answer
19 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
23 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 ...
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 \caption@...
3
votes
1answer
127 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 ...