Questions tagged [subcaption]

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

40 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
169 views

Tricky problem with sources in list of figures

I've a very tricky problem here: MWE: \documentclass[12pt,german]{article} \usepackage[demo]{graphicx} \usepackage{caption} \usepackage[list=true]{subcaption} \begin{document} \begin{figure} ...
2
votes
0answers
169 views

Unwanted rotation of images

I have three images included with \subcaptionbox in a figure, but the problem is that I get one of the images, which is vertical, rotated 90° automatically and I don't want it. Is there any way I ...
2
votes
0answers
58 views

Subcaption incompatible with babel-farsi

I am trying to use some farsi words in my text. I also have to use subcaption for my pics. But I am getting the following error: ! Package caption Error: The `subcaption' package does not work ...
2
votes
0answers
320 views

How to get Subcaption outside float working for landscape tables?

I use the nice MWE displayed below to display a landscape table (found here: Tex: How to place table on new page.) I have one big table (that's why landscape) which I want to split across multiple ...
2
votes
0answers
534 views

subcaption package changing algorithm2e caption position

I have a project which makes use of the subcaption and algorithm2e packages. For whatever reason, the subcaption package is causing the captions in the algorithms to be misplaced. Here we have a MWE ...
2
votes
0answers
750 views

Vertically aligning figures on their center using subcaption package

Is there a way to make figures vertically align on their centers using the subcaption package? Currently I get the following result: The captions below them are vertically aligned on their tops. ...
2
votes
0answers
90 views

autonum, subcaption and equations in floats

When compiling the document below (MiKTeX lualatex or pdflatex) latex seems to be stuck in an infinite loop. Removing either subcaption or autonum resolves the problem, but of course I'd like to use ...
1
vote
0answers
17 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
0answers
27 views

subcaption adds horizontal space to newfloat

If anyone has a better idea to add captions to equations, this can be posted too. I'm trying to set equations with titles (therefore I defined a new float myfloat). Sometimes I want a few equations ...
1
vote
0answers
93 views

Spacing between subcaption and subfloat

I'm currently using the subcaption package to set up figures with subfloats. My current code is the following : \begin{figure} \centering \captionsetup{font=normalsize,justification=...
1
vote
0answers
1k views

Adding vertical distance between subfigure environments

When having subfigures not only horizontally but also vertically in a figure-environment, their subcaptions are placed very close to the below subfigure. Essentially because the subfigure-environments ...
1
vote
0answers
39 views

Overcoming interaction with H specifier while staying on subfig package

I know that from the float package and subfig you get a bad interaction with an H specifier. (see: Numbers keep continuing - Problem with subfig and ContinuedFloat) I tried to just add subcaption ...
1
vote
0answers
87 views

Why my figure isn't at top of the text?

I'm new in LaTeX and I'm trying to use the environments \subfigure and \subcaption. The two images inside the main image are OK, but the image containing the other two isn't in the correct position. ...
1
vote
0answers
71 views

add subcaptions in tabular

I want to have subcaption to the subfigures and one caption below the figure. How can I add it to my code? Code below is without any captions. The layout is: \documentclass[12pt, a4paper]{report} ...
1
vote
0answers
131 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
231 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 { \includegraphics[...
1
vote
0answers
115 views

Using cleveref with 2 different styles

I like to style my \cref as following (Geophysical Prospecting): Type 1: Fig. 1, Fig. 1(a), Fig. 1(a,b), Figs 1 and 2 Type 2: (Fig. 1), (Fig. 1a), (Fig. 1a,b), (Figs 1 and 2) I have tried with \...
1
vote
0answers
100 views

How to adjust the spacing between figure and caption with Sidenotes and Subcaption package?

Can anybody help me to adjust the spacing between figure and caption within the sidenote package? I would like to have the same spacing like without \phantomsubcaption \documentclass[oneside]{scrbook}...
1
vote
0answers
80 views

Wrong caption using subfloat command

I am using the following: \documentclass[11pt,letterpaper,landscape]{article} \usepackage[utf8]{inputenc} \usepackage{epstopdf} \usepackage{amsmath,amsfonts,amssymb} \usepackage{mathtools} \...
1
vote
0answers
567 views

Trying to change from subfigure package to subcaption

I am working with a template that uses the package subfigure, as I understand that it is outdated (and also because I have problem understanding how to place to figures side by side using this package)...
1
vote
0answers
89 views

How to have the same visual effect of a figure in a non-floating environment

I have the following code: \begin{figure} \centering \subfloat[\footnotesize my_sub_caption1]{\includegraphics[width=0.45\linewidth]{images/my_image1}} \quad \subfloat[\footnotesize my_sub_caption2]{\...
0
votes
0answers
14 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
0answers
21 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
20 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
33 views

Undefined control Sequence <argument> \@@magyar@captionfix

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{...
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 '...
0
votes
0answers
21 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 ...
0
votes
0answers
25 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
0answers
37 views

Reducing width of image captions without messing up subcaptions

The captions in my document are as wide as the text itself and this can lead to parts where the caption seems to continue when in reality it's the document's text. So I wanted to reduce the width of ...
0
votes
0answers
80 views

Legend for tables

I am trying to generate tables similar to the one attached here. Basically, one main caption on the top, and some extra descriptions in the legend below the table. EDIT: Thank you for the comment. ...
0
votes
0answers
24 views

Incompatibility of 'subcaption' package with [hebrew]{babel}

I've come across a few posts now that try to deal with the issues bable has with Arabic and Hebrew and I know that the polyglossia package is recommended, however I am reluctant to rejig my entire ...
0
votes
0answers
32 views

use of @subcaption and @subfig package

I am going to insert various figure by using subcaption but when i use \usepackage{subfig} or \usepackage{subcaption} the program doesn't run and give an error like subfig.sty not found. Please help ...
0
votes
1answer
176 views

How to align sub-caption centrally and reduce space between sub-figure and sub-caption!

I have tried many ways to align sub-caption centrally and reduce the space between sub-figure and sub-caption, shown in the attached figure. As you can see, (a) & (b) are not perfectly centralized ...
0
votes
0answers
93 views

Problems with autoref and phantomsubcaption

I have a figure that already has the subcaption. I'm using hyperref and subcaption package for this. I have something like \documentclass{article} \usepackage{subcaption} \usepackage{hyperref} \...
0
votes
0answers
157 views

Subfigures in twocolumn format

I am writing an article in twocolumn format, not using multicols, but including the option in the documentclass itself. Now I need to insert some figures, preferably in a subplot like format, 2x2 or ...
0
votes
0answers
139 views

Place pictures and ref it without using subcaption

I am writing a paper using Springer LNCS format, which is incompatible with the package subcaption. It provides subfig package instead. I wish to achieve the following format (3-by-2, refer each one, ...
0
votes
0answers
449 views

TikZ (tikzexternalize) + subcaptionbox error

Update The error comes up only if I change the pictures themselves or insert/delete a picture that occurs before them in the document. As a dirty workaround, I defined a command \newcommand{\...
0
votes
0answers
448 views

Continued numbering in subfigure of selected figures

I am very confused about for the continued numbering in subfigure of selected figures. I want format a continued numbering in subfigures of selected figures, but not for all the figures. At the same ...
0
votes
0answers
249 views

changing font size of \caption*

I want to change the font size of the \caption* command, which is not listed in the list of figures. I have the following code so far: \documentclass{article} \begin{figure}[h!] This is a figure \...
0
votes
0answers
102 views

Trouble with subcaption

I generated the figure above by the following code. \documentclass{article} \usepackage{pgfplots} \usepackage{subcaption} \usepgfplotslibrary{groupplots} \pgfplotsset{width=8cm,compat=1.5} \begin{...