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 ...
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} ... ...
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] ...
2
votes
1answer
246 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 ...
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, ...
2
votes
1answer
67 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 ...
6
votes
2answers
132 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 ...
5
votes
2answers
2k views

Maximise vertical space between subfigures with \subcaption

I have 2 subfigures vertically arranged using the subcaption package. I can set the vertical space between the 2 to something specific (using \bigskip or \vspace), but I would like to put as much ...
3
votes
1answer
48 views

Add \centering to all subfigures in subcaption using \g@addto@macro

I'm trying to center subcaption subfigures as outlined this answer. However, compilation fails with ! Argument of \subcaption@minipage has an extra }. <inserted text> \par ...
3
votes
2answers
92 views

Stacking floats vertically

How do I stack say three floats on top of each other vertically such that the height of each plot is approximately the third of the text height of the page? (i.e. so they all fit including captions ...
4
votes
1answer
456 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 ...
3
votes
1answer
306 views

Layout issues when using `subcaption` together with `sidecap`

I am using the sidecap package for side captions. I also want to have subfigures (for example, three or four subfigures labeled with a), b), c) and d), respectively). When not using the SCfigure ...
4
votes
1answer
389 views

custom sub-caption and refs format for subfigures

I've just read questions: Changing the subfigure caption by removing brackets & font of the subcaption Adding parentheses around subfig references How to put two images next to each other with ...
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 ...
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} ...
1
vote
2answers
83 views

genuine way to give an image an emphasized and normal caption

In my work I give each image a small description (usually in emphasized style) and a long description in normal font. To achieve this I have to write \usepackage{subcaption} \begin{figure} ...
2
votes
1answer
78 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}} ...
2
votes
1answer
667 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
255 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 ...
5
votes
1answer
3k 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 ...
7
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
1answer
337 views

sidesubfloats… why does this errored code work and my “correct” code doesnt?

I use the following code to get a 3 x 3 figures with automated labels that range from a-i. As you can see there is an error in the code, I use sufloatrow instead of 'subfloatrow' a few times. ...
1
vote
1answer
2k views

Subcaption: wrong subfigure labels

I am having a problem with \subcaption labeling subfigures (c) and (d) instead (a) and (b). I don't know where the problem originates from. I have many figures that contain two subfigures and most ...
63
votes
3answers
21k 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 ...
1
vote
1answer
628 views

Subfig caption doesn't start at start of line

I have a situation where the subfigure caption doesn't start at the start of the line. \captionsetup[table]{width=\textwidth} is added to try to have the caption take up the whole line rather than ...
8
votes
2answers
7k views

How to place subfigure caption on the side?

Is there some way to tell subfig package to place subfigure captions to the left or to the right of subfigures? There is sidecap package which does it for the main captions, but it does not affect ...
6
votes
2answers
890 views

How can I have images that are side-by-side and have numbers attached to each one?

For example: *Image 1* *Image 2* *Image 3* (i) (ii) (iii) Figure n. Multiple images. (i) image at time n. (ii) Image at time n+1. (iii) Image at time n+2