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

learn more… | top users | synonyms

4
votes
0answers
220 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: ...
3
votes
0answers
98 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
32 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} ...
2
votes
0answers
148 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
37 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 ...
2
votes
0answers
880 views

IEEE template and caption=false option for subcaption package?

According to the IEEE transactions information (tar file here contains IEEEtran_HOWTO.pdf along with the class files) Axel Sommerfeldt’s modern and actively maintained subcaption.sty package [23] ...
2
votes
0answers
294 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
0answers
25 views

Vertical align with subcaption package

I'm using the subcaption package (\usepackage{subcaption}), but it seems that in landscape mode the the figure is not vertically centered. \begin{landscape} \begin{figure}[t] ...
1
vote
0answers
23 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
45 views

pgfplots subfigure positioned side by side

I am having trouble forcing the two pgfplots to appear side by side, can someone please fix my coding. I would also like to center the subcaptions better if possible. I cut most of the data to fit ...
1
vote
0answers
29 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 ...
1
vote
0answers
2k views

**“No counter 'subfigure@save defined.”** -subfig error

I have used 'subfig' package to compile the following code. The code was running fine in linux machine (That too without loading the 'subfig' package). Now in Windows machine, I am having error ...
1
vote
0answers
128 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. ...
1
vote
0answers
44 views

problem with round shaped figures

When I am putting two round images side by side, their shapes change to oval! here is how I do it: \begin{figure}[t!] % \begin{subfigure}[t]{0.45\linewidth} \centering ...
1
vote
0answers
148 views

Only older version of caption available

Sorry if my message is not in the best of english. I have been working on this for the last 12 hours with no solution. Gist: I am trying to submit my latex source files to a scientific journal My ...
1
vote
0answers
27 views

labeling several diagrams

I have four diagrams at the same figure, and I would like to label them from left to right: (a), (b), (c) and (d), how can I do that? thanks
1
vote
0answers
83 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 ...
1
vote
0answers
60 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 ...
0
votes
0answers
11 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 ...
0
votes
0answers
15 views

Sub figure in 1 by 2 grid with height properly scaled

I want to produce figure similar to given in question Captioning nested subfigures with subcaption but with combined height of b1 and b2, equals the height of a.
0
votes
0answers
29 views

How to avoid underfull \hbox when using subfigures?

When compiling the MWE below with pdflatex, I get the warnings Underfull \hbox (badness 10000) in paragraph at lines 26--27 and Underfull \hbox (badness 10000) in paragraph at lines 36--37. I tried ...
0
votes
0answers
16 views

Vertical space after grid of figures

So I've tried using normal subfigure environment as well as this Align 16 small images in a 4 x 4 grid and yet I still get this crappy result. How can I remove this vertical space, note that it is not ...
0
votes
0answers
56 views

how to resize the width of subcaption

I have two pictures and I'm using \usepackage{subcaption} to place them beside each other. The output might look like the following . The problem in the above picture is that it is difficult to ...
0
votes
0answers
103 views

Use a Subfigure and Subcaption command

I am trying to use the Subfig package in order to take advantage the ability of multiple figures in a document, under various caption My pre-ample is a separate master document (main.tex), while I ...
0
votes
0answers
77 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
39 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} ...
0
votes
0answers
213 views

Stylizing sub-figure caption in beamer

When I use \documentclass{beamer} \setbeamertemplate{caption}[numbered] \usepackage{subfigure} \begin{document} \begin{frame} \begin{figure} \subfigure[Subfig 1]{ } \hfil \subfigure[Subfig 2]{ } ...
0
votes
0answers
187 views

cleveref and subcaption: how to handle subfigure reference?

Given \usepackage{caption} \usepackage{subcaption} \usepackage{cleveref} \crefname{subfigure}{figure}{figures} \Crefname{subfigure}{Figure}{Figures} \begin{figure}[h] \centering ...
0
votes
0answers
95 views

PDF size limit - load only labels from files

I have huge amount of figures in thesis (72 pages) but I'm limited in size of thesis.pdf to 20MB and size of appendix.pdf to 30 MB When I compiled my thesis it got 280MB, I thought that I can split ...