1
vote
1answer
22 views

subcaption color with the subfigure package

To define the caption color in my document, I am using \usepackage{caption} \usepackage[font={small,color=ocre}]{caption} Which works perfectly, but currently facing the following two problems: ...
1
vote
1answer
26 views

Subtables and lineno incompatibility

Is there any incompatibility between packages subcaption and lineno? I cannot compile this (dummy) text: \documentclass{revtex4-1} \usepackage{subcaption} \usepackage[mathlines]{lineno}% Enable ...
1
vote
1answer
15 views

captions not appearing below subfigure

Code: \documentclass[fleqn,11pt,a4paper]{article} \usepackage{geometry,array,graphicx,float,caption} \usepackage{subcaption} \begin{document} \begin{figure}[H] \centering ...
3
votes
1answer
18 views

Control errors with subcaption subfigure

Code: \documentclass[fleqn,11pt,a4paper]{article} \usepackage{geometry,array,graphicx,float,caption} \usepackage{subcaption} \begin{document} \begin{figure}[H] \centering \begin{subfigure} ...
3
votes
1answer
28 views

Set/Add subfigure counter

I need to change the counter for the second figure and both subfigures. For figure it works but not with subfigures. tnx a lot \documentclass[]{article} \usepackage{subcaption} \begin{document} ...
1
vote
1answer
45 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
46 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
42 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
26 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. ...
2
votes
1answer
65 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
23 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
42 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 ...
1
vote
1answer
24 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
45 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 ...
4
votes
1answer
100 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 ...
1
vote
0answers
52 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
29 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
333 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: ...
1
vote
1answer
101 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
101 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
58 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
47 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 ...
2
votes
1answer
83 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
161 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
1answer
82 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 ...
1
vote
3answers
73 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?
2
votes
1answer
887 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
1answer
64 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 ...
1
vote
0answers
45 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 ...
5
votes
2answers
553 views

Top-aligned subfigure with bottom-aligned caption

This is a follow-up to an earlier question regarding left-aligning subfigure captions. Having achieved the left-alignment goal, I would now like the caption of the subfigure to be bottom-aligned, ...
6
votes
2answers
146 views

How to customize cleveref package macro to be consistent when multiple figure references are used in this case?

The cleveref package does a very nice job of sorting the labels of the many references for you (whatever they are) in their natural order. However, I was stumbled by a special case when I wanted to ...
3
votes
0answers
71 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
2answers
83 views

How to center align the below subfigure when it stands alone?

I have three subfigures as shown in the MWE below, I want to align the subfigure c in the center below the two upper figures, how to do that? \documentclass{scrartcl} \usepackage{caption} ...
5
votes
1answer
74 views

Alignment of captions in subcaption

I am using subcaption and want to have the following effect. I want the main figure to contain several subfigures. I want the subfigures to have captions that only come from the \caption{} tag, i.e. I ...
2
votes
1answer
640 views

How to change subcaption font size in Lyx?

I want to set the font for captions and sub-captions in my Lyx document to 'large'. There is no issues with changing size of captions, but I can't change sub-captions. Here are the preambles I try to ...
1
vote
1answer
1k views

How to remove caption of some subfigures?

I have four figures and want to put them together as subfigures. However, I don't want the first one to have a caption. Can anybody figure it out please? Thank you in advance! \begin{figure}[t!] ...
2
votes
1answer
184 views

floatrow package, subfigures and cross referencing

I think the question has not been posted already. Here is my problem : I wanted several subfigures within one. I used "subcaption" package at first, as it's the newest. But it appeared that it's not ...
4
votes
1answer
397 views

How to automatically align subfloat captions to xlabel of PGFplots?

Subfloat captions are not usually aligned with their corresponding xlable in PGFplots. One way is to manually move the captions horizontally to align them. For example, (copied from here) ...
4
votes
2answers
926 views

Subfigure arrangment with no caption with IEEE format

I have a little problem. I am trying to arrange to subfigures side by side (i.e. a graph and its legend) using the IEEE article format and I cannot remove the subcaption. I was using package ...
1
vote
1answer
76 views

how to include subfigures in list of figures or sub tables in the list of tables

Currently, \listoffigures and \listoftables display only the root and not the sub parts. I there any way to make them display sub parts as well? I tried searching but found nothing that I can use ...
2
votes
1answer
494 views

Error when trying to use the subcaption package

When I try to use the subcaption package (\usepackage{subcaption}), I get some errors. However, using the subfigure package (\usepackage{subfigure}), the compilation is successful with no errors. I ...
3
votes
1answer
791 views

Subcaption Package Error

I'm having an issue compiling with the subcaption package. I'm starting to write my thesis, and I originally started a chapter with a separate document. This compiled fine and had the following ...
5
votes
1answer
1k views

subcaption/subfigure not centered, and caption too narrow

I'm using the subcaption package to make some subfigures with subcaptions (clearly), in a two column document, specifically the IEEE Transactions journal document class. There are a lot of figures, ...
5
votes
1answer
2k views

Vertical alignment of subfigures with different subcaptions length

I would like to vertically align 3 subfigures (same size), but I don't manage to do so if the subcaptions have different lengths, like here: This is the code that generated the image: ...
2
votes
2answers
1k views

Is it possible to use subcaption inside a minipage?

I have tried formulations of using subcaption inside minipage--subcaption and subcaptionbox. I have also look at some threads but couldn't find anything doing what I needed. Please note that this ...
4
votes
1answer
1k views

Subcaption: having two subfigures captions on the same line

In my document, the TikZ pictures have different bounding boxes so the two subfigures have staggered captions. \documentclass{article} \usepackage{standalone} \usepackage{subcaption} \begin{document} ...
4
votes
1answer
555 views

Incompatibility problem of the packages subfig and subcaption [duplicate]

I want have three subfigures in a special order. One on the right, two on the left. Therefor I found a snippet here on StackExchange. Alone the snippet works fine, you can check this by comment out ...
1
vote
2answers
151 views

Why don't these figures align horizontally?

I am trying to use the subcaption package for horizontally aligning up some figures, and I did as the documentation instructs me to do, yet the result is these are vertically aligned. It really ...
11
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 ...
4
votes
1answer
501 views

Leaving no space between subfigures using package subcaption

I want to draw a figure consisting of multiple subfigures. For this, I am using the subcaption package, since the LaTeX Wikibook suggests here that both subfigure and subfig are deprecated. The ...