{subcaption} is a package for typesetting captions of {subfloats}.
37
votes
3answers
10k views
subcaption vs. subfig: Best package for referencing a subfigure
On this question a comment by Martin H says, that one should forget about the subfigure and subfig packages and use subcaption. As subfig replaces subfigure, no argument there.
I am currently using ...
4
votes
4answers
427 views
Multiple subfigures not appearing on the same line
Multiple figures under a single caption. I have tried a code to put two images in a together under a same caption. The subfigures do not appear on the same line.
The code is :
...
4
votes
1answer
312 views
Multiply defined label warnings when using Subcaption in a Tikz picture
In an earlier question, I asked how to create zoomed highlights of a larger image automatically. User Jake provided an excellent solution using TikZ. However, when subcaptions and hyperref are added ...
5
votes
2answers
172 views
Table and Figure side-by-side with Table caption above, Figure caption below
A continuation of this question.
I'm fighting a page-limit in a single-column layout and I need to put a Figure and a Table side-by-side and provide them with independent captions. However, the style ...
5
votes
0answers
130 views
Are there any subfloat package that works with tufte-latex?
I'm trying a lot of subfloat-like packages with tufte-latex and all of them seem to interact badly with tufte-latex in the matter of labels, refs and captions. To captions I could find solutions ...
5
votes
1answer
384 views
How to \ref to subcaption numbers (a, b) when using memoirs subcaptions?
How can I get references to subcaption numbers when using memoir? In this example:
\documentclass{memoir}
\newsubfloat{figure}
\begin{document}
\chapter{Lorem}
\section{ipsum}
\begin{figure}[b]
...
4
votes
1answer
1k views
Subfloat with subcaption package: Missing number, treated as zero
I want to make a figure consisting of two subfigures. Having read the Wikipedia subentry on subfloats, I tried to follow it exactly, so I did not use the subfig or subfigure package, only the caption ...
3
votes
1answer
131 views
missing sub-caption numbers with tufte-latex
Why are the numbers (acually, letters) for the sub-captions missing in the following MWE? note the colon that would follow the letter is printed.
\documentclass{tufte-handout}
\usepackage{tikz}
...
2
votes
1answer
233 views
label in subcaption and customize cell size of an array
Using the following code
\documentclass[11pt]{article}
\usepackage{caption}
\usepackage{subcaption}
\DeclareCaptionSubType*[arabic]{table}
\captionsetup[subtable]{labelformat=simple,labelsep=space}
...
6
votes
2answers
1k views
memoir class with subcaption and hyperref packages
This is similar to this question about using subfigures in memoir class and this one about using subfigure memoir and hyperref together
Is it possible to use memoir class with sucaption package?
I ...
12
votes
1answer
300 views
Are subcaption and tabularx incompatible?
I know that tex.sx isn't the forum for bug-reporting, but I have a bit of a problem and I'm looking for a technical workaround. The following MWE produces odd labels:
\documentclass{article}
...
4
votes
1answer
494 views
LaTeX advanced use of subcaption package
I am trying to create a figure with subfigures aligned both horizontally and vertically in the same figure to explain this better i attached a primitive drawing.
The labels are not of importance in ...
6
votes
2answers
4k views
Missing number, treated as zero
A follow-up question to this one Aligning subcaptions with tikz pictures vertically
This is the code I am using, worked to a pretty minimal scenario:
\documentclass{article}
\usepackage{float, ...
5
votes
1answer
258 views
Captioning nested subfigures with subcaption
The following creates a figure with three images arranged appropriately. If I remove the two \caption{} lines, it numbers the main subfigures as I'd like, and keeping the two \caption{} lines puts ...
5
votes
1answer
3k views
Subcaption package: compatibility issue
There is a compatibility problem between the CIFA document class
and the subcaption package.
When I compile the following example (with PDFLaTex):
\documentclass{cifa}
...
5
votes
1answer
497 views
Aligning subcaptions with tikz pictures vertically
A simple follow-up question to this one How to place and scale TikZ pictures in subfigure? I shamelessly copied the same code that was presented in the answer there because it fits my needs exactly as ...
3
votes
2answers
677 views
Prevent wrapping of subtable captions in lyx
Could someone provide me with an elegant solution to prevent wrapping of a table caption in lyx? It must wrap at the end of the line, not at the end of the table.
%% LyX 1.6.7 created this file. ...
2
votes
2answers
225 views
Customize referencing of subcaptions in “memoir”?
When I use \subcaption{... \label{myfig}} in memoir, and then reference it, the result is something like "Figure 1(a)". But I would like to customize the reference by removing the parentheses, thus ...
2
votes
1answer
738 views
Center subfloat above extended subcaption in subfig package
In the subfig package, the command \captionsetup[subfigure]{width=<length>} extends the width of a subcaption. Now how can the subfloats be centered above their enlarged subcaptions? The ...