Questions tagged [subcaption]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
17 views

Removing caption and subcaption from tikzposter

I am fairly new to the tikzposter class. I would like to have figures in a subfigure format but without any subcaptions (i.e. (a), (b), (c), etc.) and captions. Option 1: This gives me the right ...
2
votes
2answers
17 views

Problems with subcaption in frontiers documentclass

If I use the subcaption package within the frontiersSCNS documentclass, the subfigure counter seems to be not reset properly. The MWE \documentclass[utf8]{frontiersSCNS} \usepackage{subcaption} \...
2
votes
1answer
23 views

Revtex 4.2 caption error

\documentclass[amssymb,aps,twocolumn,pra,nobibnotes,secnumarabic,prc]{revtex4-2} \usepackage{tabularx} \usepackage[labelformat=simple,caption=false]{subcaption} \renewcommand\thesubfigure{(\alph{...
0
votes
0answers
18 views

Large figure preceded by small text, small caption under figure, large caption on next page

I would like a large figure to be preceded by a bit of text, to be followed right below by "Figure X: (Caption next page)", and then have the large caption on top of the following page. Here is what ...
0
votes
1answer
20 views

Figure preceded by small text, long caption on next page

I have a figure caption that is too long to fit in the same page of the image. I would like to precede the image with a little bit of text and start the next page by the caption, then followed by text ...
1
vote
1answer
27 views

How can I make a subcaptionbox label appear in front of an image?

This MWE: \documentclass{article} \usepackage[labelfont=bf,size=Large,position=top, skip=-10pt, justification=raggedright, singlelinecheck=false]{subcaption} \usepackage{graphicx} \begin{document} \...
4
votes
1answer
37 views

Aligning several columns of varied-height subfigures of subfigures

I'm attempting to align a 3-column x 2-row grid of figures, where the top row is aligned to the top and the bottom row to the bottom. I define the subfigures as columns so that caption numbering ...
1
vote
2answers
31 views

The document Class ''els-cas'' cannot not print subfigure

\documentclass[a4paper,fleqn]{cas-sc} \usepackage{booktabs,siunitx} \usepackage{subfigure} \usepackage{graphicx} \begin{figure}%[!htb] %\minipage{0.32\textwidth} \begin{subfigure}%[b]%{1\textwidth} ...
0
votes
2answers
45 views

Tikz subfigures alignment

I created 5 figures and used subcaption package to align them. My hope is to put three figures in the above line, and the remaining two is the second line in the center. But the current one is, one ...
0
votes
0answers
23 views

Regarding incompatibility of the caption package with IEEEtran class

When trying to load the caption package with the IEEEtran class, I get the following warning Unsupported document class (or package) detected, usage of the caption package is not recommended. See ...
0
votes
0answers
21 views

How to include side-by-side pdf-images into pdfLatex environment (using subfloat)?

I have to include 10 pdf images within 2*5 or 5*2 size. We have tried using tabular and subfloat as shown below. displayed: MISSING $ INSERTED \usepackage{graphicx} \usepackage{subfig} \...
0
votes
1answer
47 views

Undefined control Sequence <argument> \@@magyar@captionfix [duplicate]

When I try to compile the following code in TexMaker I get the following error Undefined control Sequence @@magyar@captionfix. Does anyone know what is the solution to that? \documentclass{...
2
votes
1answer
51 views

What is the difference between subfigure and subcaptionbox both from package subcaption?

I was recently searching for a way to place subfigures into one overall figure. As I found out, today we should make use of the subcaption package rather than usig subfig or something else. However, ...
0
votes
0answers
29 views

Sub captions and numbers for tikzpicture arranged using tabular

Trying to add caption and auto-number for each tikzpicture arranged using tabular. Following is my code. Tried 'captionof' method but didn't work. Seems the document class being used doesn't support '...
1
vote
1answer
27 views

subtable alignment

I am struggling to align two tables using the subcaption package. I have seen answers to this question that rely on tabular* but my tables are produced by a stats software that convert regression ...
1
vote
0answers
20 views

How do I remove page numbers from a list of figures with subcaption and tables?

In subcaption: remove page number from lof, someone asks how to remove page numbers from the list of figures when using subcaption. This in itself works fine. However, when I generate a list of ...
1
vote
2answers
41 views

How set Sub captions horizontally?

I used vspace and hspace to align upper figures with the lowers manually, but upper sub captions do not move with the upper sub figures. What command i must use to locate upper sub captions canter of ...
0
votes
0answers
24 views

Subfigure Texmaker error

I have been using the subfigure package and all has been well despite reported depreciation problems. Recently however, while using my Texmaker IDE as usual, Latex reported an error that seems ...
1
vote
1answer
27 views

Error Message: “Missing number, treated as zero.”

searched a lot around to fix this issue, usually it only takes a few seconds but now I have no luck. LaTeX puts out this error message mentioned above, here's my code: \usepackage{caption, subcaption}...
2
votes
1answer
44 views

Alignment problem with subcaption

Is there a simple solution to alignment the subcaptions into the same level? \begin{figure}[H] \centering \begin{subfigure}[H]{0.3\textwidth} \centering \...
1
vote
1answer
20 views

Space between subcaptions

so there is a lot of topics with spaces between subcaptions and captions etc. but my problem is a bit different. I have two subfiugures and the text is so long that it fills the 0.5\linewidth that I ...
1
vote
1answer
31 views

Letters for figure captions

I would like to represent each figure with a letter caption. For the first row, all figures should have a caption of Figure 1(a), ... Figure 1(d), and Figure 2(a), ... Figure 2(d) for the second row. ...
1
vote
1answer
35 views

Multiple justified lines/paragraphs in subfloat caption with centering line if short

Having the following MWE: \documentclass{scrartcl} \usepackage{graphicx} \usepackage{subcaption} \begin{document} \begin{figure} % \captionsetup[subfigure]{justification=centering} ...
2
votes
1answer
55 views

Table environment not working in report document class [closed]

I am having an unexpected behaviour in a report document class. I have to use the table float: \documentclass[a4paper,12pt]{report} \usepackage{float} \usepackage{caption} \usepackage{subcaption} \...
0
votes
1answer
40 views

Extra unwanted gap in the sub-caption label

I was trying to put two images one next to the other, and then I noticed there was a big gap between the letters of the subcaptions inside the parenthesis(?)! Any idea how this can be avoided? \...
3
votes
2answers
157 views

Unable to place figures side by side using subcaption

I am fairly inexperienced in Overleaf and I want to place two figures side by side, I tried the subcaption package. Here is the part of the latex code I used for this \usepackage{caption} \...
1
vote
2answers
29 views

Subcaptions without subfigures

I'm laying out a document that includes images that are made up of a series of sub images and each image includes labels directly in the image itself. Here's an example ... Again, the above is not 6 ...
0
votes
1answer
20 views

hyperref to sublistings

I'm using the subcaption package to define sublistings that I can put in my listing float environments. The listing float is defined by minted. This has all been working well so far (see full code ...
1
vote
1answer
29 views

Captions without labels

I am using subcaption but even if I copy paste code from the intenet, the result for me has no sublabels (a), (b) etc. \documentclass[a4paper]{jpconf} \usepackage{graphicx} %\usepackage{subfigure} %\...
2
votes
1answer
46 views

Caption alignment, subfig and Babel

After many years of getting great answers here it is time to post my own question. I'm writing my thesis and as I need to write the abstract also in Hebrew I'm using the babel package. In the body of ...
0
votes
0answers
32 views

Reference multiple subfigures in one subref call

I am using \subref (provided by the subcaption package), and \subref{somelabel} works fine. I would like to reference multiple labels in the same call however, since I am using both parentheses and a ...
0
votes
2answers
34 views

memoir subcaptionphantom without whitespace

\subcaptionphantom is nice when the subfigures are marked on a single figure, but the subcaption package is not allowed at memoir's house today. Thus a solution was made: memoir label and ref ...
1
vote
1answer
41 views

Multiline subfigure caption cannot be shown fully

It's covered by the picture form the next line as shown below: I've tried to set subfigure with new width or new height, but the problem is still there. The environment of my latex is a template ...
4
votes
1answer
58 views

Caption alignment problems in minipages and subfigures

I failed to center all captions in each subfigure like this. Captions in the left part (four subfigures "A") are not at the center I think. Captions in the right part (four dependencies) are aligned ...
4
votes
1answer
52 views

Centering subcaptions in a tikz pgfplot subfigure environment?

I am having a difficult time centering subcaptions for a figure. The figure looks like the following: But as you can see, the Panel A and Panel B subcaption are nowhere near being centered with ...
1
vote
1answer
34 views

Placing 2x3 subfigures side-by-side in pgfplots

I need to place 3x2 subfigures side-by-side, but have not been able to come up with a solutions. The thing is, I've done this where I needed 2x1 figures side-by-side, that is, two figures side-by-side....
1
vote
1answer
92 views

Multiple Figures on sidewaysfigure with default numbering

I have two figures I would like to display in landscape on the same page. One is a normal figure, the other is made up of three subfigures. They are currently in subfigures, to ensure that they end ...
2
votes
1answer
96 views

A new and better aesthetic look for figures and captions with vertical braces

Starting for the question Center a rounded square into a green line with the excellent @marmot's answer, using your MWE, \documentclass[12pt]{book} \usepackage{newtxtext} %%\usepackage{classico}%%%%%...
0
votes
2answers
45 views

Subcaptions not centered for pgfplot

This is my first time working with side-by-side pgfplots, so I am a little out of my zone of comfort. However, I noticed that my subcaptions for each panel is not centered around the figure, as in: ...
1
vote
1answer
42 views

Use tikz commands in caption

On a map I used different symbols to indicate different structures. I used this answer to draw on the screenshot of a map website. I defined three types of symbols: \tikzstyle{ARA} = [blue,regular ...
2
votes
3answers
44 views

How to align content and captions differently in subfigure

I'm trying to use tikz to illustrate an iterative process in figures, but when placed next to each other, the different heights of the images cause the captions to become unaligned, as below: ...
3
votes
1answer
42 views

Subcaption + clevered range parentheses

I'm trying to have subcaption labels of the form (a), (b), etc. references of the form fig. 1(a), and ranges of the form figs. 1(a--c). I cannot seem to get the last requirement. Here's my MWE (...
1
vote
0answers
36 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
0answers
59 views

What is \subcaption@CheckCompatibility and how to fix it [duplicate]

I write my thesis in TeXstudio and i use for package manager MiKTeX. In the text who i write I want to put two shapes side by side. I find a very good solution for that "application" the subfigure. I ...
1
vote
1answer
64 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
395 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 ...
1
vote
1answer
42 views

How to use \refstepcounter correctly in attempt to implement subfigures?

Trying to use space on a page more economically, I developed the idea to arrange graphics as a table being part of a figure. As I still wanted to refer to individual graphics, I also wanted to have ...
4
votes
1answer
112 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
2answers
124 views

Compatibility of subfigure with subfig package

Suppose, I have the grouping of images as specified below. My problem is that I want to include this kind of image grouping in an environment that uses the subfig package and that subcaption and ...
1
vote
1answer
45 views

How to align three images on the same row with subcaption package [duplicate]

\usepackage{graphicx} \usepackage{subcaption} \begin{figure}[h!] \centering \begin{subfigure}[b]{.3\textwidth} \includegraphics[width=\textwidth]{nano1_Images/eclipsed_iron.png} ...