Skip to main content

Questions tagged [subcaption]

{subcaption} is a package for typesetting captions of {subfloats}.

Filter by
Sorted by
Tagged with
3 votes
2 answers
155 views

How to move the color blocks into the red frame region marked?

I'd like to use the area below the two first subfigures to place the color blocks, how can I achieve this effect? The mwe is following \documentclass[aspectratio=2013]{beamer} \usepackage{tikz,...
Meiu's user avatar
  • 558
0 votes
1 answer
33 views

How to achieve the layout of figure with vertical and horizonal placement?

I want to achieve the following layout of combined figures. The requirement is below: use the package such subcaption to arrange the figures Align both the top and the bottom line of the Left Big ...
Explorer's user avatar
  • 121
0 votes
1 answer
12 views

Detaching two sub-captions attached to each other

I would like to understand why, after creating two subfigures with appropriate commands (albeit with TikZ), the sub-captions remain pasted to each other. \usepackage[table]{xcolor} \usepackage[T1]{...
Bml's user avatar
  • 151
1 vote
1 answer
22 views

How to vertically align tikz graphs in subfigures

I want to place 4 tikz graphs in 4 seperate subfigures. I'm using subcaption and the \subcaptionbox environment. However, in the resulting figure the second-row graphs overlap the top-row captions. ...
Uri Barenholz's user avatar
0 votes
1 answer
36 views

The listings package and side-by-side code listings

I'm using the listings package liberally in an article. However, I want to show some code listings side-by-side and for those i use the subfigure package: \begin{figure*} \begin{subfigure}{0.49\...
Gaslight Deceive Subvert's user avatar
0 votes
1 answer
22 views

Caption of \subcaptionbox environment not correctly centered [duplicate]

I am using \subcaptionbox{} to setup a figure containing multiple subfigures. I want to refer to each subfigure in the text, so each subfigure needs a caption. I want to have empty captions, meaning ...
SnackerB's user avatar
3 votes
1 answer
54 views

Is it possible to add images in this format using subcaption?

I understand how to add images in a (2 X 2) or a (m X n) grid in latex using subcaption, but is it possible to add images in this manner using subcaption? If not possible, then is there some other ...
Ghosal_C's user avatar
  • 181
1 vote
1 answer
36 views

Subcaption and size of subfigure are offset

I haven been trying to create a figure with two subfigures aligned next to each other. For the life of me I cannot find a solution. The right subfigure is slightly bigger, and its subcaption is ...
nico's user avatar
  • 15
1 vote
1 answer
23 views

figure captions of the two subfigures to be centered, while the main caption should be justified rather than centered

I am encountering an issue when using the subcaption environment in LaTeX. I want the captions of the two subfigures to be centered, while the main caption should be justified (aligned at both ends) ...
Zixiao's user avatar
  • 11
0 votes
1 answer
16 views

automatically label subfigure overlapping top left

I have a set of subfigures that I want to label like (a) but without any real caption, and I want to place the labels (a) on top of the graphic, in the top-left corner to save vertical space. I want ...
jessexknight's user avatar
  • 2,824
0 votes
1 answer
26 views

The subcaptions are offeset slightly

I am trying to put 8 images in 2 rows and 4 columns, with the caption in-between the rows. For some reason, the captions are offset. How do I solve the problem? \begin{figure}[htbp] \centering \...
nico's user avatar
  • 15
2 votes
2 answers
53 views

Subfigure customization

I have the following code to display multiple images: \begin{figure}[H] \centering \begin{subfigure}[h]{0.35\textwidth} \centering \includegraphics[width=\textwidth]{real_time1....
Roy Turk's user avatar
0 votes
0 answers
25 views

Table page overflow with images

I am creating a table of images for a report using the tabular environment. Unfortunately, the table keeps going over the page boundary and into the "void", and I can't seem to break the ...
John Macauskey's user avatar
0 votes
1 answer
30 views

How to remove extra column at the end of the table

I want to have a 4 column table using package \usepackage[flushleft]{threeparttable}. The table is based on the codes below. \begin{table} [h] \caption{Main results after endogeneity correction} ...
ycenycute's user avatar
  • 101
1 vote
2 answers
39 views

Tikzpicture with subcaption

I would like to make the following figure: I received the code for a somewhat similar figure here Tikzpicture with subfigures and caption but don't manage to change this to the desired format as ...
Drawer's user avatar
  • 35
0 votes
0 answers
16 views

Multi-line subcaption formatting

I need to put 3 images side by side corresponding to 3 graphics with different parameters: I use the subcaption package For clarity of the graph, I would like to put the parameters in the legends of ...
Nicolas's user avatar
  • 1,297
2 votes
1 answer
95 views

Tikzpicture with subfigures and caption

I would like to make the following figure: Thus have an arrow with a few vertical dashes and a text underneath the edges. I tried to use mathcha.io, but if you know how to do so with the commands ...
Drawer's user avatar
  • 35
2 votes
1 answer
76 views

My figures cannot be placed side by side

I have this code to place six images into two rows (3 images for each row): \begin{figure}[htbp!] \centering \begin{subfigure}[b]{0.3 \textwidth} \includegraphics[width=\textwidth]{1agw-eva....
Mouna Ahmen's user avatar
0 votes
0 answers
31 views

How do I use the subcaption package in AAS such as the apjs template, and why do I get a caption marked red error when I use it?

\begin{figure*} \centering \begin{subfigure}[t]{0.23\textwidth} \includegraphics[width=\textwidth]{Figure 2 (a).pdf} \caption{Noisy full-disk image} \end{subfigure}\hspace{1em} \begin{...
bonnle madiline milo's user avatar
1 vote
1 answer
19 views

how to make the caption showup without caption text in `lstlisting` environment?

I found that only the non-empty caption text make the caption appear in outputed file, even a sapce character \ . Here's an example: \documentclass{article} \usepackage{listings} \lstset{ language=...
On_My_Way's user avatar
0 votes
1 answer
12 views

How to move subcaptions to left side for vertical subfigures

How can I move the subcaptions to the left side when I have a vertical subfigure arrangement. eg: \begin{figure}[h!] \centering \begin{subfigure}[b]{0.6\textwidth} \centering ...
Fuergrissa72's user avatar
0 votes
0 answers
19 views

Is there a way to nummerate each subcaptionbox?

I am starting to give up to my hopes, but I want to give it one last try: Is there a way to nummerate each subcaptionbox? My code has the following build up: \begin{figure} \centering \begin{...
Lisastronomy's user avatar
0 votes
1 answer
43 views

Footnotes between subfigures in a standalone document class

In the following MCE, the footnote is between the first and the second sub-figures. Okay, the document class is standalone and the log warns me: LaTeX Warning: Nested minipage: footnotes may be ...
Denis Bitouzé's user avatar
0 votes
1 answer
48 views

Subfigure captions alignment

I have used the subfigures package but there is a slight misalignment between my two captions. The figures however are aligned and of identical size. Would anyone know how I can solve this ? \...
Manon Cha's user avatar
1 vote
2 answers
188 views

Creating a Common Legend for Subfigures with subcaption Package in LaTeX

I'm working on a LaTeX template, the elsarticle class from Elsivier, where I have two subfigures created using the subcaption package. I came across this answer which provides a solution for having a ...
pvti's user avatar
  • 135
1 vote
1 answer
55 views

Why does subcaption not work when using caption?

I'm trying to figure out why caption doesn't display subcaption code, even though the package description for subcaption says The package is distributed with caption. Can anyone answer this? It ...
Felix Maldonado's user avatar
1 vote
2 answers
26 views

How to get captions to appear when wrapping 2 environments into one using the `subtable` environment?

I have a MWE below which is intended to wrap 2 environments into the table environment using subtable. The first is a regular table created using tabular. The other is an array. It mostly works as ...
underdog987's user avatar
1 vote
1 answer
71 views

Table caption is not showing

I have the following issue in overleaf: I'm using the CAIM_sciendo_open_article_BY4 class, and the caption in the table \begin{table}[H] \centering \caption{Physical parameters of polypropylene} \...
Jeji's user avatar
  • 133
1 vote
0 answers
39 views

How to match subfigure height to other subfigure?

I am trying to have two subfigures with significantly different aspect ratios have the same height by calculating the height for one of them then using that height for the other, following the method ...
sandwich's user avatar
0 votes
2 answers
45 views

Make length persistent between subfigures

I am trying to have two subfigures have the same height and have defined a length for this purpose, but the length gets set to zero between them. My understanding is that this is tied to the subfigure ...
sandwich's user avatar
2 votes
2 answers
139 views

Adding a dashed vertical line between subfigures and their subcaptions

Similar to this: How to set color dashed vertical rule between images I want to place a dashed line between two subfigures. I have been able to get it working with a \vrule, but anything I do with the ...
Popyd10's user avatar
  • 23
0 votes
0 answers
20 views

Subcaption package error in LaTeX

I am new to LaTeX. I tried adding images in parallel. For that I added sub-package I have removed this package. But, I am still getting the following error. I am using the 'LaTeX Vorlage für Bachelor-...
programmer_04_03's user avatar
1 vote
1 answer
43 views

Figure placement with difference column distances

I want to do subfigures with two main columns and 5 rows. Each column itself, would break down into 3 sub-columns (in total it would be 2*3=6 columns and 6*5=30 images). I want to have a caption for ...
statwoman's user avatar
  • 129
2 votes
1 answer
56 views

How to add subcaption the the subfigure

I need to add sub caption for the image how can do that? \begin{figure}[!htb] \centering \minipage{0.32\textwidth} \includegraphics[width=\linewidth]{im1.PNG} \endminipage\hfill \minipage{0.29\...
stella's user avatar
  • 23
0 votes
1 answer
125 views

subcaption subfig packages not working

I am using ACM ACR 2 column latex template https://www.sigapp.org/acr.html I tried to put four figures with subtitles/ subcaption but its not working in my template , i think subcaption subfigure ...
user12's user avatar
  • 579
0 votes
1 answer
37 views

pgfplots and subcaption subfigures not aligned vertically

I'm trying to create a figure with 3 figures horizontally. I'm using figure* environment, as I'm working in a two-column document, so that it spans the whole width horizontally. I'm using both ...
Bossipo's user avatar
  • 11
1 vote
1 answer
98 views

Add vertical text to the left of a figure with subcaption

I would like to add text, such as `My Y variable' to the left of the following figure (where I put the red mark): Here is the MWE I got so far: \documentclass{article} \usepackage[luatex]{graphicx} \...
mistral's user avatar
  • 105
0 votes
1 answer
278 views

How to overlap subfigure with caption

Consider the following \documentclass{article} \usepackage{subcaption} \usepackage{graphicx} \begin{document} \begin{figure*}[htpb] \centering \begin{minipage}{0.3\linewidth} \begin{subfigure}[t]...
sam wolfe's user avatar
  • 257
0 votes
0 answers
54 views

Is there any conflict here? \subfloat cannot use \label!

I want to put 3 subplots in latex using subfloat, I refer to the example and write as follows, the picture can be displayed normally. \begin{figure*}[!t] \centering \subfloat[caption fig1a]{\...
朱博文's user avatar
0 votes
0 answers
104 views

Subcaption Package is producing errors

I am working on a document which uses this \subcaptionbox from the package subcaption. Recently I updated MikTeX and now every single subfigure is producing four errors (I use TexStudio). Which option ...
reduccionista's user avatar
0 votes
1 answer
716 views

Subfigure and \textwidth not working correctly

I want to use subfigure to put one image next to the other in my document. I literally copy-pasted the code from Overleaf and modified it to have 2 instead of 3 images. I am working on Overleaf ...
nico_so's user avatar
1 vote
1 answer
288 views

Undefined control sequence. <argument> ...sub\@captype }}}{\caption@subreffmt

I'm trying to understand a particular error encountered from using a subfloat within a figure. A MWE to reproduce the error: \documentclass{article} \usepackage{graphicx} \usepackage{subfig} \...
Jake's user avatar
  • 1,179
0 votes
1 answer
57 views

caption below long table with specific spacing

I have to add caption below the long table and with 12pt empty space before and after the table caption. Help me in this regard. \documentclass[10pt, a4paper, oneside]{article} \usepackage[hidelinks]{...
monika's user avatar
  • 127
0 votes
2 answers
27 views

subcaption: label subfigures in columns

Similar to this question, I am using subfigure to layout a grid of images. I would like (a) to be upper left, (b) to be lower left, (c) to be upper right, and (d) to be lower right. How to do this? \...
rrrrr's user avatar
  • 503
0 votes
0 answers
96 views

subtable alternative. subfig-subcaption conflict

I'm currently writing my thesis and I need to list two sets of data I'm taking from literature. Since they're analogous but different (one gives me $t_0$, the other gives me $\sqrt{t_0}$, this is the ...
Antonino D'anna's user avatar
1 vote
1 answer
210 views

Page break in threeparttable with subtables

My Table includes multiple subtables along with tablenotes at the end and they spend in two pages. I'm try to do page break and I refer to this post, but it was a page break for footnotes only. Here ...
ppp's user avatar
  • 279
1 vote
1 answer
663 views

Environment Subtable not defined

I'm trying to insert a subtable into my document. I have loaded the subcaption package, as well as installed the caption package via MikTex. However I still get the Environment subtable undefined. \...
max.p's user avatar
  • 13
0 votes
2 answers
62 views

Even spacing when placing three tikz pictures side-by-side with single y axis

I am attempting to place three figures side-by-side. The figures can then make use of the same y-axis label to save on space. The problem that I am having is that I have to manually place the space ...
Philip's user avatar
  • 13
7 votes
2 answers
433 views

13 figures OK, 14 figures gives ! LaTeX Error: Counter too large. only with tex4ht and subfigure

I changed to using subfigure inside figure. Now when I include more than 13 figures in one document, tex4ht gives ! LaTeX Error: Counter too large. Same document compiles OK with lualatex. I made MWE ...
Nasser's user avatar
  • 20.3k
2 votes
2 answers
475 views

Problem about using subfigure with subcaption in one column of a double-column template

I have the following code for my figures, \usepackage{subfigure, subcaption, graphicx} \begin{figure}[htbp] \centering \begin{subfigure}[b]{\columnwidth} \includegraphics[width=\linewidth]{...
Mas A's user avatar
  • 137

1
2 3 4 5
21