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

learn more… | top users | synonyms

0
votes
0answers
34 views

Adding captions to sub-figures [duplicate]

For the question here, how can we add captions to each sub-figure?
8
votes
2answers
302 views

Append \centering to \begin{subfigure} (from subcaption package)

How can I append \centering to \begin{subfigure} (from subcaption package)? I tried using the etoolbox , but for some reason it won't work for the subfigure enviroment (only working for the figure ...
5
votes
2answers
5k views

Maximise vertical space between subfigures with \subcaption

I have 2 subfigures vertically arranged using the subcaption package. I can set the vertical space between the 2 to something specific (using \bigskip or \vspace), but I would like to put as much ...
3
votes
0answers
42 views

At what point of my input file is the subfig package loaded? [duplicate]

When trying to compile my report, I receive an error related to the subcaption package (which I load in my preamble): ! Package subcaption Error: This package can't be used in cooperation ...
3
votes
1answer
424 views

Align environment {amsmath} inside subfigure {subcaption} breaks figure numbering

When I put an equation in align environment into a subfigure, it breaks figure numbering. In the example below, the whole figure gets number 2, not 1 as I want. How do I fix it? \begin{figure} ...
3
votes
1answer
65 views

Add \centering to all subfigures in subcaption using \g@addto@macro

I'm trying to center subcaption subfigures as outlined this answer. However, compilation fails with ! Argument of \subcaption@minipage has an extra }. <inserted text> \par ...
5
votes
1answer
103 views

Alignment of captions in subcaption

I am using subcaption and want to have the following effect. I want the main figure to contain several subfigures. I want the subfigures to have captions that only come from the \caption{} tag, i.e. I ...
5
votes
2answers
441 views

Source of Image in List of Figures

I need to have my sources, for example from image files, in my list of figures. \documentclass[10pt,a4paper]{article} \usepackage[list=true]{subcaption} \usepackage{graphicx} \usepackage{tocloft} ...
3
votes
2answers
104 views

Stacking floats vertically

How do I stack say three floats on top of each other vertically such that the height of each plot is approximately the third of the text height of the page? (i.e. so they all fit including captions ...
4
votes
0answers
196 views

Using subcaption package with knitr

How can I use subcaption package in knitr, instead of the obsolete subfig and \subfloat? Or, maybe, specify additional options with fig.env = 'subfigure'? It needed something like this: ...
2
votes
1answer
1k views

How to change subcaption font size in Lyx?

I want to set the font for captions and sub-captions in my Lyx document to 'large'. There is no issues with changing size of captions, but I can't change sub-captions. Here are the preambles I try to ...
2
votes
0answers
257 views

Global caption issue with table when using subcaption package

Firstly I apologize if this had been answered before. I have tried looking for it anywhere but I couldn't find any solution. Anyway, I have a trouble with the caption of my table when I included the ...
1
vote
1answer
2k views

How to remove caption of some subfigures?

I have four figures and want to put them together as subfigures. However, I don't want the first one to have a caption. Can anybody figure it out please? Thank you in advance! \begin{figure}[t!] ...
2
votes
1answer
441 views

floatrow package, subfigures and cross referencing

I think the question has not been posted already. Here is my problem : I wanted several subfigures within one. I used "subcaption" package at first, as it's the newest. But it appeared that it's not ...
4
votes
1answer
1k views

Changing the formatting of subcaption for reference

\usepackage{subcaption} \begin{figure}[t] \begin{subfigure}{1\linewidth} Figure1 \caption{Hello}~\label{fig:TBS} \end{subfigure} \begin{subfigure}{1\linewidth} Figure2 ...
0
votes
1answer
81 views

positioning two subfigure properly

I am trying to use subfigure \documentclass[10pt,a4paper,xcolor=dvipsnames,xcolor=table]{beamer} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % PACKAGES \usepackage{ mathrsfs, ...
4
votes
1answer
618 views

How to automatically align subfloat captions to xlabel of PGFplots?

Subfloat captions are not usually aligned with their corresponding xlable in PGFplots. One way is to manually move the captions horizontally to align them. For example, (copied from here) ...
4
votes
2answers
2k views

Subfigure arrangment with no caption with IEEE format

I have a little problem. I am trying to arrange to subfigures side by side (i.e. a graph and its legend) using the IEEE article format and I cannot remove the subcaption. I was using package ...
1
vote
2answers
4k views

File `subcaption.sty' not found. in texstudio

I'm using texstudio on linux for writing paper. the version is: TeXstudio 2.3 (SVN ??) Using Qt Version 4.8.4, compiled with Qt 4.8.0 Copyright (c) (original TexMaker) 2004-2010 by ...
8
votes
1answer
141 views

subcaption: remove page number from lof

I use the caption and subcaption package as shown in the example below: \documentclass{article} \usepackage{caption} \usepackage{subcaption} \captionsetup[subfigure]{list=true} \begin{document} ...
4
votes
2answers
234 views

Remove font styles in list of figures

together with latex i use the subcaption package for subfigures. I use different font styles (like italics, bold, sans serif) in the captions for certain terms. Those font styles are used in the list ...
1
vote
1answer
95 views

how to include subfigures in list of figures or sub tables in the list of tables

Currently, \listoffigures and \listoftables display only the root and not the sub parts. I there any way to make them display sub parts as well? I tried searching but found nothing that I can use ...
5
votes
2answers
644 views

Referencing to subfigures in main caption

I'm trying to reference to subfigures in the main caption of my figure. Unfortunately I'm only getting blanks, not even undefined referencing ??. What's going on? \documentclass{report} ...
5
votes
1answer
146 views

How to use subcaption with standalone

I tried to \input in my main document file a standalone section, which uses the subcaption package. The standalone file compiles just fine. But when I try to compile the main document I get an ...
2
votes
1answer
1k views

Error when trying to use the subcaption package

When I try to use the subcaption package (\usepackage{subcaption}), I get some errors. However, using the subfigure package (\usepackage{subfigure}), the compilation is successful with no errors. I ...
1
vote
1answer
670 views

Subcaption cannot be found by MiKTeX package manager?

Even though I cannot find it with the pacakage manager, a file with \usepackage{subcaption} in preambles can be complied successfully. Besides, the command \begin{subfigure}...\end{subfigure} ...
3
votes
1answer
2k views

Subcaption Package Error

I'm having an issue compiling with the subcaption package. I'm starting to write my thesis, and I originally started a chapter with a separate document. This compiled fine and had the following ...
6
votes
1answer
119 views

how to suppress page number for subfigures in LOF?

I am using tocloft and subcaption package, and I would like to suppreess page numbers and dot line for subfigures in LOF. I know, if one uses tocloft and subfigure package, this can be done with the ...
1
vote
0answers
277 views

Caption package incompatibility with \@makecaption in custom report class [closed]

My university has a recommended thesis class based on the report class. Unfortunately, it is incompatible with the caption package; for example, when I include the subcaption package, I get the ...
5
votes
1answer
4k views

subcaption/subfigure not centered, and caption too narrow

I'm using the subcaption package to make some subfigures with subcaptions (clearly), in a two column document, specifically the IEEE Transactions journal document class. There are a lot of figures, ...
8
votes
1answer
5k views

Vertical alignment of subfigures with different subcaptions length

I would like to vertically align 3 subfigures (same size), but I don't manage to do so if the subcaptions have different lengths, like here: This is the code that generated the image: ...
3
votes
1answer
130 views

subcaption: the subcaption documentation doesn't say anything about a short caption

When using \subcaptionbox, can the optional short caption be used? By this I mean, \subcaptionbox[short]{long \label{}}{\includegraphics} There is nothing in the documentation that mention the ...
3
votes
2answers
2k views

Is it possible to use subcaption inside a minipage?

I have tried formulations of using subcaption inside minipage--subcaption and subcaptionbox. I have also look at some threads but couldn't find anything doing what I needed. Please note that this ...
5
votes
1answer
2k views

Subcaption: having two subfigures captions on the same line

In my document, the TikZ pictures have different bounding boxes so the two subfigures have staggered captions. \documentclass{article} \usepackage{standalone} \usepackage{subcaption} \begin{document} ...
4
votes
1answer
1k views

Incompatibility problem of the packages subfig and subcaption [duplicate]

I want have three subfigures in a special order. One on the right, two on the left. Therefor I found a snippet here on StackExchange. Alone the snippet works fine, you can check this by comment out ...
1
vote
2answers
184 views

Why don't these figures align horizontally?

I am trying to use the subcaption package for horizontally aligning up some figures, and I did as the documentation instructs me to do, yet the result is these are vertically aligned. It really ...
4
votes
1answer
568 views

Layout issues when using `subcaption` together with `sidecap`

I am using the sidecap package for side captions. I also want to have subfigures (for example, three or four subfigures labeled with a), b), c) and d), respectively). When not using the SCfigure ...
5
votes
1answer
283 views

Change ref format for subfigures

I am using the captionand subcaption package with floatrow and would like to change how references with \ref are formated. First here is my captionsetup so far: \DeclareCaptionSubType[alph]{figure} ...
13
votes
2answers
4k views

Subcaption with Beamer

I am trying to use subcaption with beamer, but I get a series of error messages concerning subcaption.sty when I attempt to do so. This doesn't happen in the article document class. Here is a MWE ...
4
votes
1answer
862 views

Leaving no space between subfigures using package subcaption

I want to draw a figure consisting of multiple subfigures. For this, I am using the subcaption package, since the LaTeX Wikibook suggests here that both subfigure and subfig are deprecated. The ...
0
votes
0answers
17 views

subfigure vertical alignment although different large subcaptions (subfigure environment; subcaption package) [duplicate]

I am using the subfigure environment provided by the subcaption package by Axel Sommerfeldt. Although reading the manual, I do not find a solution. I would like to vertical align subfigures although ...
2
votes
1answer
203 views

subfigure caption for all subfigures in a row (subfigure environment; subcaption package)

Heyho, my third question for today :-) I had again a look at the subcaption package manual by Axel Sommerfeldt but did not got managed to have just one subcaption for all subfigures in a row. Can ...
6
votes
1answer
3k views

subfigure numbering in subfigure environment (subcaption package)

My new friend is the subfigure environment of the subcaption package. Although reading the manual by Axel Sommerfeldt i did not managed to change the subfigure numbering from lower case letters to ...
2
votes
1answer
265 views

Subcaption ragged right

How do I make the subcaptions ragged right for just one figure environment and not the whole document? I need this for an image grid containing 20 small figures and I am using the \subcaptionbox. ...
3
votes
1answer
260 views

Htlatex and subcaption - can htlatex be extended?

To start with MWE: \documentclass{article} \def\pgfsysdriver{pgfsys-tex4ht.def} \usepackage{tikz} \usepackage{subcaption} \begin{document} \begin{figure} \subcaptionbox{Small} { \tikz \draw ...
4
votes
1answer
634 views

custom sub-caption and refs format for subfigures

I've just read questions: Changing the subfigure caption by removing brackets & font of the subcaption Adding parentheses around subfig references How to put two images next to each other with ...
1
vote
2answers
161 views

Adjust link target for rotated two part figure

I want to place two pictures side by side as subfigures, rotated 90 degrees and those two pictuers filling a whole page. While this works from the looks I have some issues, with the hyperref package ...
9
votes
2answers
1k views

Vertical Spacing using \subcaption package

I have a simple problem. I'm trying to add a little bit of vertical spacing between the top two and bottom two subfigures. Here's my code: \documentclass{article} \usepackage[demo]{graphicx} ...
1
vote
1answer
239 views

How can I use todonotes \missingfigure in subcaptions subfigure environment?

The following MWE: \documentclass[]{scrreprt} \usepackage{xltxtra} \usepackage{subcaption} \usepackage{todonotes} \begin{document} \begin{figure} \centering \begin{subfigure} \centering ...
3
votes
2answers
2k views

Why do eps images overlap the captions in subfigures?

I'm using the package subcaption within an scrreprt compiling with XeTeX/XeLaTeX. When using subfigures for 4 images in a grid view, the images are not centered and overlap the middle subcaptions. It ...