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

learn more… | top users | synonyms

3
votes
1answer
3k views

Captions of subfigures not being centered

Figure 4.1 is two subfigures, each with a caption (technically four figures in total, but the ones on rows are one image). Using \documentclass[twocolumn,titlepage]{report} \usepackage{verbatim} ...
2
votes
2answers
1k views

subfigures using subfloatrow, overpic, tikz to add rows to annotate imported images/figures

I did my diligent search for a combination of subfloatrow, overpic, and adding arrows for annotation of imported images using tikz, but couldn't find one. These kind of images are typically found in ...
2
votes
1answer
117 views

Using memoir and hyperref, can I get a “\subref” in the caption of a figure?

I am writing a document using the memoir class. I would like to create a figure with two subfigures and to display a caption like "Plot of Y vs X with z=1 (a) and with z=2 (b)", where "(a)" and "(b)" ...
1
vote
2answers
110 views

Problem with placement of subfigure captions

I am using the subcaption package and I want to know how to place the captions of the subfigures in the bottom center of each subfigure. \documentclass[12pt,a4paper]{article} % % \usepackage{utopia} ...
3
votes
1answer
205 views

Subfloatrow: Omitted incrementation in figure numbering when using subfigures

I suspect this question is slighty related to another question found in subfloatrow: incorrect continued numbering. Trying out the MWE below, the incrementation of the figure number of figure two is ...
2
votes
1answer
79 views

How to get rid of subcaptions in an array of subfloats

I am using an array of figures using subfloat as follows: \begin{figure} \centering \subfloat[]{\includegraphics[width=70px,height=60px] {img_success/rgb/rgb_001456.eps}} ...
5
votes
2answers
2k 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 ...
6
votes
3answers
344 views

How to place text and image above the exact subfigure?

I want to draw something like this: I am able to draw like this: This is the code for the same: \documentclass{article} \usepackage{tikz,subfig} \begin{document} \begin{figure} \centering ...
2
votes
2answers
1k views

Horizontally shifting subfloat captions in figure environement!

When using subfloat, the caption centers with regards to the figure width. However I want to center it with regards to the axes. How to horizontally shift the captions (manually) for all the ...
3
votes
1answer
516 views

Align plots in pgfplots

Can somebody help me? I try to align two plots horizontally in pgfplots! In the preamble I have: MWE* \documentclass[12pt]{article} \usepackage{pgfplots,subcaption} \pgfplotsset{ compat=1.7, ...
2
votes
1answer
303 views

Environment subfigure - what to do with whitespace

So I've made a block of figures using the subcaption package. It contains 5 images and follows the following layout: \begin{figure}[t] \begin{subfigure}[t]{0.3\textwidth} ...
3
votes
1answer
407 views

Alignment horizontal subcaption and TikZ

I have a problem with the alignment of 2 plots. The Problem is I want the captions to be horizontal aligned. Also the x-axis should be horizontal aligned! Is there a way to do that? ...
4
votes
1answer
639 views

Framebox and subfigure with dirtree package

I've integrated dirtree package in my manuscript but having issues with the following. Framebox: I consistently frame all figures in my manuscript using \framebox, however, applying this to dirtree ...
10
votes
1answer
577 views

How to change the display of subfigures in List of Figures?

I'm using the subcaption package and I would like to change the display in the List of Figures of the subfigures. Right now, it displays as : 2.1 Caption 1 . . . . . . . . . . . . . . . . . . . . . ...
2
votes
1answer
4k views

Problem installing subcaption package on texlive [closed]

I'm trying to install the subcaption package on TexLive installed on Ubuntu 11.10. When trying to build subcaption.sty, I found that I needed to first download or build several dependencies: ...
4
votes
1answer
191 views

Recreate position of subfigures in a table above figure caption

I need to recreate a particular style of captioning a "figure". Main characteristics of this style are: No subcaptions included in the subfigures. The position of the subfigures is recreated in a ...
2
votes
1answer
690 views

error float.sty line99

Well, here is my problem. My friends can compile this document. I can't, and I don't know why. The error is: File: "C:\Program Files\MikTex\tex\latex\float\float.sty Type: Error Line: Line99 ...
1
vote
0answers
2k views

Placing two figures side by side [duplicate]

Possible Duplicate: Two figures side by side Subfigures placed horizontally I want to place two figures side by side in my document. I am using the subcaption package and my code is as ...
3
votes
2answers
260 views

Presenting multiple figures in a proper and readable way under a same caption

I have 6 figures and I wanted to plot them in a proper way in a single page. It is important to remain readability. Moreover, including the sub-caption and sub-label is important. Possibly including a ...
7
votes
1answer
193 views

subcaption in LOF with hyperref

MWE: \documentclass{article} \usepackage{subcaption} \usepackage{hyperref} \begin{document} \listoffigures \begin{figure} \begin{subfigure}[b]{.5\linewidth} \centering\large A \caption{A ...
4
votes
4answers
2k 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 : ...
2
votes
1answer
219 views

Referencing Subfigure in Subfloat

I want to reference a subfigure like so: \documentclass{article} \usepackage[demo]{graphicx} \usepackage{caption} \usepackage{subcaption} \begin{document} \begin{figure} \subfloat[A ...
12
votes
1answer
412 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 ...
3
votes
1answer
1k views

Subfigures side by side not working

I am trying to set two figures side by side while using the picture environment instead of includegraphics as shown in most examples here. Unfortunately they are displayed stacked and I do not know ...
7
votes
3answers
1k views

Subcaption compatibility with ACM document class

I'm currently working on a paper for an ACM conference and they require me to use the sigplanconf.cls I want to use subcaption, but if I add \usepackage{caption} \usepackage{subcaption} then I get ...
4
votes
1answer
309 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} ...
5
votes
1answer
434 views

tufte-latex and subfloat positioning

I'd like to have two rows of top-aligned images, with top-aligned captions below each. This answer provides a technique using the floatrow package, but something in that package (or one of its ...
4
votes
1answer
340 views

grid of figures, caption to the left of each row

I think the title says it all: I took photos of 5 object from 3 different angles. So for each object there are 3 pics. I would like to display them so there's a row per each object, and in that row ...
1
vote
0answers
933 views

Trouble with subfloats/subcaption/subfigure [closed]

I compiled my tex file in Linux without any problems (text edior: Xemacs). I'm now running the file in TeXWorks with MikteX. I used the subfig package and the following worked perfectly: ...
6
votes
2answers
575 views

compare two diagrams side by side

I'm trying to compare two diagrams in pdf format side by side. I have this post - Two figures side by side to get some hint. This is the code that I'm coming up with. \begin{figure} ...
5
votes
1answer
3k 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
1answer
1k 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 ...
0
votes
1answer
144 views

Redefine \subref after redefinition of \ref

I have redefined \ref like this: \renewcommand{\ref}[1]{\autoref{#1}} so that I get "Figure nn" automatically by default. However, this makes \subref (from package subcaption) behave incorrectly. ...
3
votes
1answer
3k views

Command \c@subfigure already defined

when I try \usepackage{subcaption} immediately at the beginning of my document I get an error: Command \c@subfigure already defined What can I do?
6
votes
1answer
3k views

Using subcaption with graphicx: How to solve the “Missing number treated as zero” problem?

I'm trying to use the subcaption package to build composite figures. When I try to include an image using \includegraphics{}. I get the error beneath. I know this is very similar to Subfloat with ...
5
votes
1answer
1k views

margin caption and subfloat

I'm desperately trying to get a workable setup of margin caption and subfloats. I use mcaption for margin caption which provides an environment which one wraps the inner content of the float in. ...
5
votes
1answer
4k 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 ...
8
votes
1answer
756 views

Is there an incompatibility between the packages breqn and subcaption

When I try to typeset with both the packages subcaption and breqn, I get the following error: ! Package caption Error: The `subcaption' package does not work correctly(caption) in compatibility ...
4
votes
1answer
604 views

Caption centering does not work

I am using subcaption package to plot subfloats in my report. However, the caption for subfigures are not centered. Here is what I have done: \documentclass[10pt]{report} ...
9
votes
2answers
5k views

Subfig label positioning

Can anyone tell me how to change the horizontal position of subfigure labels? I have: \captionsetup[subfigure]{labelformat=simple,position=top} Is there something like: {position=topleft} to ...
3
votes
1answer
3k views

How to prevent offset in subcaption / subfigure

I have the following problem trying to align two figures horizontally within the same figure environment. The right image is always put lower than the left image. Here is my code: \begin{figure} ...
6
votes
2answers
363 views

How to make “sub-level” numbering for listings, similar to subcaption?

I think what I'm trying to do may be complicated, so if not all of it is possible then that's OK. I'm using the listings package and I've done something similar to Custom numbering of listings ...
4
votes
1answer
309 views

Figure numbering IN figure

I'm using the subfig package which works like a charm. However, I only use the subfigure numbering (so no subcaptions, all the info will be in the main caption) but these are placed below the image ...
7
votes
1answer
8k views

Referencing subfigures in main caption (with \subfloat and \subref)

I've used subfloat to include subfigures, with their relevant labels but with empty captions. what I'm going to do is to reference these figures with \subref in the main caption of the figure. But ...
8
votes
2answers
2k views

Align by the top borders of figures when using subcaption

I'm using the subcaptionpackage to have figures side-by-side. The problem is that the package aligns the figures to their subcaptions (should I be taking a hint for the package name?) rather than the ...
2
votes
0answers
267 views

Shifting the subcaption in subfigure [closed]

I have a subfigure in which I want to shift one of the figures to the left, but when I shift it the caption is in its place. what should I do? Here is what I have in latex: \begin{figure*}[ht] ...
4
votes
3answers
5k views

subcaption package incompatible with memoir class?

When I try to compile a document with the memoir class and the subcaption package I get the following error: ! Package subcaption Error: This package can't be used in cooperation with the ...
5
votes
1answer
4k views

Trouble with sub figures

I just started using a big template for a paper. With this template, if I \usepackage{subfig}, I get : Unsupported document class (or package) detected, (caption) usage of the caption package is not ...
1
vote
0answers
275 views

Subcaption with margin to the left only [closed]

I have a subfigure and I need to move its subcaption more to the middle of the subfigure. So I want to use something like \subfigcapmargin, but only with the margin on the left side, not on the right ...
12
votes
1answer
369 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} ...