Skip to main content

Questions tagged [subcaption]

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

178 votes
3 answers
100k 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 ...
meep.meep's user avatar
  • 17.1k
49 votes
1 answer
79k 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} \usepackage{subcaption} \begin{...
Leonardo's user avatar
  • 1,772
49 votes
1 answer
68k 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 ...
pasha's user avatar
  • 749
43 votes
1 answer
50k views

Centering a subcaption

I have three figures that I want to place next to each other. That is fine. In addition, however, each subfigure has a caption on its own and the crucial thing with these is that I have to have two ...
Cari Baur's user avatar
  • 669
38 votes
3 answers
51k views

Vertical Spacing using \subcaption package

I have a simple problem. I'm trying to add a little bit of vertical spacing between the top two and bottom two subfigures. Here's my code: \documentclass{article} \usepackage[demo]{graphicx} \...
Tim's user avatar
  • 483
37 votes
3 answers
177k views

Problem on subfigure 2X2

I try to put figures in 2X2, but they appear in 4 rows. \begin{figure*} \begin{minipage}{\textwidth} \centering \begin{subfigure}[b]{1\textwidth} \centering \includegraphics[scale=0.3]{images/...
Rebecca's user avatar
  • 1,209
36 votes
2 answers
51k 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: \...
Mikhail's user avatar
  • 463
33 votes
3 answers
180k views

Controlling subfigure captions and subfigure placement

The following code \documentclass{article} \usepackage{graphicx, caption, subcaption} \begin{document} This article is about geometrical figures. \begin{figure}[h] \begin{subfigure}[b]{0.4\...
Viesturs's user avatar
  • 8,175
28 votes
2 answers
42k 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 ...
Dan Frost's user avatar
  • 281
26 votes
2 answers
63k views

Referencing to subfigures in main caption

I'm trying to reference to subfigures in the main caption of my figure. Unfortunately I'm only getting blanks, not even undefined referencing ??. What's going on? \documentclass{report} \usepackage[...
Robert's user avatar
  • 513
26 votes
2 answers
43k 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 ...
Fred's user avatar
  • 361
24 votes
2 answers
19k 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 ...
Matt's user avatar
  • 918
24 votes
1 answer
48k 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 ...
Rachel Phillips's user avatar
24 votes
3 answers
4k views

Combining cleveref and subref

I recently switched to using cleveref in my latex document. However, I have one case I still don't quite get right (or maybe it is just not covered in cleveref): I use the subfigure-environment of ...
Dux's user avatar
  • 1,290
24 votes
2 answers
20k 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, ...
Roly's user avatar
  • 4,251

15 30 50 per page
1
2 3 4 5
68