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

learn more… | top users | synonyms

5
votes
1answer
40 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 ...
1
vote
0answers
27 views

caption package [on hold]

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
25 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} ...
2
votes
1answer
47 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 ...
1
vote
0answers
33 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
0
votes
0answers
21 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
40 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 ...
0
votes
0answers
26 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]{ } ...
1
vote
1answer
28 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 ...
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} ...
2
votes
1answer
33 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
50 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} ...
1
vote
1answer
19 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 ...
0
votes
0answers
36 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
51 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 ...
4
votes
1answer
86 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
36 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
193 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 ...
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 ...
1
vote
0answers
41 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
1answer
25 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} ... ...
4
votes
1answer
66 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
186 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
79 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
72 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, ...
3
votes
1answer
80 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, ...
0
votes
1answer
55 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, ...
0
votes
0answers
35 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
50 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
46 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
59 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
135 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} ...
1
vote
1answer
41 views

Subref with floatrow (without subcaption)

I have subfigures created with the floatrow package instead of the subcaption package. The latter is not loaded. \begin{figure}[htbp] \ffigbox[\FBwidth] {\begin{subfloatrow}[2] ...
0
votes
1answer
47 views

Are subcaption, cleveref and hyperref compatible? [duplicate]

I tried with this MWE: \documentclass{article} \usepackage{caption,subcaption} \usepackage{cleveref} \usepackage{hyperref} \begin{document} See \cref{subfig1}, \ref{subfig1} \begin{figure} ...
3
votes
1answer
66 views

Using subcaption package but subfigures end up stacked rather than side by side

I'm trying to put two jpegs side by side using the subcaption package, but the images are consistently stacking on top of each other rather than side by side. All the solutions I've found simply state ...
12
votes
2answers
139 views

Why does \label create an undesired white space after \phantomsubcaption?

Usually \label does not create any white spaces. However, It creates an white space when \label is used after \phantomsubcaption from subcaption package. Why? How can I get rid of this white space? ...
1
vote
3answers
65 views

How to add multiple images in one place using captions like Figure x. a, Figure x.b?

Is it possible to caption the two figures as Figure x.a, Figure x.b?
0
votes
0answers
15 views

Re: LaTeX - Subfloat caption apparently can't include optional arguments for citations? [duplicate]

I would be very grateful for any help with the following problem, as a LaTeX novice. I am trying to create two subfigures, each with their own captions, to include quotations with the optional ...
2
votes
0answers
29 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
1answer
681 views

subcaption: `caption' package not loaded

I am trying to use subfig in ACM class file, but it issues an error that 'caption' package not loaded. I downloaded the 1.3 version of caption (as suggested by ACM), but still the same. Here is the ...
4
votes
0answers
149 views

Suppressed figure numbers in \subcaptionbox still increase figure counter

I want to suppress numbering in some figures. In single figures, the use of \caption* works fine - see first two pictures in MWE below. However, when I have two subfigures in a figure-environment (set ...
4
votes
1answer
58 views

Centering Subcaptions including a linebreak

I found an asnwered question concerning this topic already here: Centering a subcaption Copying \captionsetup[subfigure]{justification=centering} doesn't help me thought for I am using different ...
6
votes
3answers
165 views

Vertical alignment of subfigures of different horizontal length

I have four different tikzpictures merged in one single figure by means of the subcaption package and the \subfigure environment. However, the figures have different horizontal lengths, so I don't get ...
1
vote
0answers
500 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] ...
1
vote
1answer
35 views

Subcaption label on the top and center

\begin{table}[H] \tiny \subfloat[A]{ \centering \begin{tabular}{l l l l} g1 & g2 & ex & Error Rate\\ \hline 0.001 & 0.001 & 0.001 & 0.331\\ 0.001 & 0.001 & 0.01 ...
1
vote
0answers
41 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 ...