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

learn more… | top users | synonyms

2
votes
1answer
58 views

How to insert a main caption beside subfigures?

I have 3 subfigures that I insert at width=0.5\textwidth, which leaves some empty space. I would like to insert the main caption in this space. How can I do this? I am using subcaption package for ...
0
votes
0answers
12 views

missing table caption with floatrow and sidewaystable

I am attempting to place two tables side-by-side using sidewaystable and floatrow. The second table features a number of sub-tables. The issue is as follows: when I place the caption command before ...
1
vote
1answer
20 views

Undefined control sequence \subfloat - using subcaption

I get the same error as in this question, however I had already switched from the subfig package to subcaption a while back. I am trying to recompile a TeX file on Linux that was fine before on OS X. ...
5
votes
1answer
43 views

Need help indexing subfigures: reference bugs using `subfigure` and `subcaption` not compatible with specialized document class

I'm a PhD student currently coding my dissertation into Latex. My school developed a customized document class that they strongly recommend using for compliance with layout and formatting standards. ...
3
votes
1answer
33 views

Subfigure captions not centered

Having trouble getting captions in my subfigures centered. I've played around with the caption and subcaption packages a little bit and it seems like the subfigure captions are being treated like ...
0
votes
1answer
22 views

embed 2 side by side figures in a two column style. (not spanning the whole page, just say the second column)

I have a typical 2 columns journal template. I wanted to insert two side by side figures in the second column. How can I do that. My current code goes like this, but the figures never showed up. ...
5
votes
1answer
41 views

Align top of images using subcaption

I'm trying to align the tops of two images using the subfigure environment from the subcaption package. Unless I'm misinterpreting the other questions, I believe I have read multiple questions asking ...
4
votes
3answers
4k 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 ...
1
vote
0answers
29 views

caption package [closed]

I am currently preparing a paper for submission using the template files provided by SIAM (see http://www.siam.org/journals/auth-info.php). I have been writing my document under a different style file ...
2
votes
0answers
26 views

Negative exponent not displayed using the subfigure environment from subcaption [duplicate]

Consider this simple MWE \documentclass{article} \usepackage{subcaption} %sub figures \begin{document} \begin{figure} \begin{subfigure}{\linewidth} \centering \caption{Test1} \end{subfigure} ...
1
vote
0answers
39 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
26 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
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 ...
0
votes
0answers
22 views

How can I get the subcaption to be aligned left of the subfigure? [duplicate]

The picture says it all. I would like the subcaption to be on the left of the subfigure, below the top of the subfigure. Ideally, a solution with the subcaption package would be good (if there is one) ...
2
votes
1answer
41 views

How to caption/subcaption a tabular? easily

I few week ago, I learned subcaption figuras, with subcaption packages, and I like it very much. Now I would like to caption/subcaption tabulars. I was vieweing any issues and all have a table ...
1
vote
1answer
31 views

How to fix figure caption while using lmodern

To remove the warnings, Font shape `OT1/cmss/m/n' in size <4> not available(Font) size <5> substituted Size substitutions with differences(Font) up to 1.0pt have occurred. I used the ...
0
votes
0answers
27 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]{ } ...
10
votes
2answers
1k 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 ...
1
vote
1answer
40 views

how to modify the position caption with subcaption pack?

How to vertical modify the caption? The code is \documentclass[pstricks,border=12pt]{article} \usepackage{pstricks,pst-node,pst-blur} \usepackage{subcaption} \usepackage[utf8]{inputenc} ...
1
vote
1answer
28 views

How to direct all sub-captions of the subfigures in a central caption

Is there a way to direct all the \caption{}'s found within multiple nested subfigure environments within a central \begin{figure} environment given as \begin{figure} ... ...
2
votes
1answer
35 views

matching height of subfloats by defining height screws up captions

I am Using the following method to put two pictures beside each other in one figure: \begin{figure}[ht] \centering \subfloat[ Caption 1 ...
3
votes
1answer
53 views

Subcaption format with cleveref

I need to get Figure 1.1 (a) when i put \Cref{fig:NiceImage1}. I have to use \Cref{fig:NiceImage}\subref{fig:NiceImage1} for getting same result. \documentclass{scrbook} \usepackage[demo]{graphicx} ...
13
votes
1answer
10k 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} ...
1
vote
1answer
20 views

How to place the sub label of a figure to the right using package `subcaption'

I am creating a scheme and I need to add to figures, but I want the figures to have the sub caption to the right, this because my figures could be also seen as equations. I don't know if a minimal ...
1
vote
2answers
3k 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 ...
0
votes
1answer
56 views

What might cause crop and trim to behave differently in different contexts?

I have tried to get a MWE for my problem, but really it is more of a dual to an MWE, because it doesn't work where my actual code DOES work, but I don't understand why it should work. For instance, ...
3
votes
1answer
85 views

3 subfigures in a row, different sizes. How to manually adjust the spaces in beween?

I want three subfigures to be shown next to each other so that the subcaptions of all three subfigures are equally 'wide'. I'm experiencing 2 problems. Since my middle subfigure is a lot smaller, ...
4
votes
2answers
1k views

subfigure with memoir

I made an article and insert several subfigures in that as follows: \begin{figure} \centering \begin{subfigure}[b]{0.3\textwidth} \includegraphics[width=\textwidth]{fig6_1} ...
0
votes
0answers
42 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
52 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 ...
3
votes
2answers
1k views

Subcaption not in the centre in subfigure package

In LaTeX, everything works fine with subfigure package, only one trouble is coming; The subcaptions are placed a little towards left from the centre of two figures side by side, which doesnt loook ...
4
votes
1answer
90 views

How can I vertically align subfigures of different size without affecting subcaptions?

Please consider the following MWE \documentclass{article} \usepackage[demo]{graphicx} \begin{document} \begin{figure} \centering \begin{minipage}[c]{0.45\textwidth} \centering ...
2
votes
1answer
37 views

I'm trying to put 3 figures side-by-side, but using subfigures put them in a column instead. Am I doing something wrong? Here's my code:

\documentclass[12pt]{article} \usepackage{tikz} \usepackage{amsmath} \usepackage{bm} \usepackage{amssymb} \usepackage{subcaption} \usetikzlibrary{decorations.markings} ...
5
votes
2answers
198 views

How to calculate the width for placing 2 big images side by side?

I'm trying to put 2 images in a row with this code, and runs well, but... don't adapt the size of the last 2 images in a row. \documentclass[12pt,a4paper]{article} \usepackage{graphicx} ...
1
vote
0answers
19 views

2 images in a row. Subcaption package give me errors, Subfig too , ¿solution? [duplicate]

I have a big .tex that runs well without errors I´m trying to put 2 images in a row, I tried subcaption packaes and only adding to my code \usepackage{subcaption} gives me this errors and then ...
1
vote
0answers
45 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 ...
5
votes
2answers
5k views

Multi-page Figure with subcaption package

I have a figure with subfigures defined using the subcaption package (*not the deprecated subfig or subfigure). I need the parent figure to span two pages with two subfigs on each page. I have ...
0
votes
0answers
17 views

Figure with four subfigures using epslatex [duplicate]

I'm trying to make a figure with four epslatex subfigures. I found A.Elletts answer in Minipage with four figures - avoiding too much whitespace to be very helpful. However, it only deals with ...
4
votes
1answer
73 views

How to make the subtitle (a or b) of an image position correctly?

I want the following subtitles (a or b) to be shown correctly not like the current view as shown in the following image: Also how can I add more spacing between the two images? \begin{figure*}[htp] ...
7
votes
1answer
48 views

Label handling in a macro

I want to create an environment to easily list a bunch of subfigures with their explanations. But the explanations should appear only in the caption of the complete figure, instead of the subfigure's ...
2
votes
1answer
241 views

Subcaption package error, even without the use of the subfigure package

I have read countless instructions on how to use the subcaption package, and tried several examples. Each time I get two types of errors, which I will post further down. This is my premable: ...
8
votes
1answer
76 views

Two identical diagrams inserted with subcaption box come out at different scales

I have two diagrams that are 100% identical except for a red line in the other one. However, when they are included in a figure as two subfigures with subcapionbox, the one with the red line is ...
1
vote
1answer
88 views

floatrow + caption = odd behaviour + wrong figure numbers

Looking for means to control vertical alignment in subfigures, I decided to use floatrow package, but later found it behavior quite strange. The issue is with figure captions, which may disappear or ...
3
votes
1answer
78 views

Put two figures side by side

There are already several threads that deal with this: they suggest having one figure and putting putting minipages inside, or using the subcaption package and having subfigure environments. However, ...
0
votes
0answers
39 views

Subcaption, report, missing number and missing \endcsname errors

So, this is probably a redundant post, but I can't seem to find a solution to my problem. I have seen every post there is to see, search every wikipedia page, tried every example I could find, but ...
4
votes
1answer
52 views

How to swap subcaptions of zoomboxes?

I greatly appreciate the zoomboxes given in this question: How to create magnified subfigures and corresponding boxes for portions of a large image. As the comments thread is already long enough I ...
4
votes
1answer
48 views

subcaption: third figure breaks column

I would like to align one big image next to three different small ones with the help of the subcaption (wich is used in all the rest of my document). But I still don't get the posistions "right". The ...
2
votes
1answer
66 views

Listings float with sublistings

I want to have 2 listings side-by-side in a float environment with its own name (i.e. Listing 1 instead of Figure 1) and counter (so that I can have a separate listoflistings besides listoffigures). I ...
5
votes
1answer
141 views

How to make distance between captions of close pictures?

The captions between the pictures are too close to each other. How can I make some space between them, but do not move pictures itself? \documentclass{article} \usepackage{graphicx,subfigure} ...
3
votes
2answers
1k 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 ...