{subfloats} is about small "sub"-figures and "sub"-tables within a single (floating) figure or table environment. For questions specifically about formatting a subfloat's caption, consider to use {subcaption}.

learn more… | top users | synonyms (2)

12
votes
2answers
2k 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 ...
3
votes
1answer
2k views

Break a subfigure set in two lines

Is it possible to break a figure block made by three subfigures in two lines? I would like to maintain the first subfigure on the first line and the other subfigures on the second line. ...
1
vote
1answer
145 views

Align subfigures in opposite pages to the top

I have two collections of subfigures (produced using the subfig package) that Latex decided to place in opposite pages. I would like to align them to the top of the page but for some reason there's ...
4
votes
1answer
613 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 ...
4
votes
2answers
426 views

tcolorbox: The use of subfloats in a tcolorbox

From a previous post, I found out that I need the capt-of package to have figures in a tcolorbox. How do I use subfloats? \documentclass{article} \usepackage{tikz} \usepackage{standalone} ...
4
votes
1answer
737 views

Manually change caption label in subfig

In the example: \documentclass{article} \usepackage[demo]{graphicx} \usepackage{subfig} \begin{document} \begin{figure}[h] \centering \subfloat[]{\label{first} ...
1
vote
0answers
36 views

distributing each image in its section [duplicate]

Good evening, I'm writing my thesis in Latex, with which I already had the pleasure to work for some other projects, but I'm now facing a problem I don't know how to solve. I'll try to get to the ...
9
votes
3answers
237 views

Is the following layout possible with the subfigure package?

Is it possible to achieve the following layout with the subfigure package (and any other package/command I don't know about): ############# ############## # # # # # pic1 # # ...
3
votes
1answer
53 views

How can I use figure in caption of a figure?

I need to include a small figure at the end of the original figure caption, is there any idea?
15
votes
1answer
221 views

Strange behaviour of \sbox

This question consists of two related parts. I already solved the original problem but still don't understand where it came from or why the solution works. I use the subcaption package so I can place ...
2
votes
1answer
1k views

Subfigure have problems putting figures in the same line

I am using the IEEEtran template, two columns. When I want to put 4 figures in the same line (spanning two columns) using the \subfigure package, with the width of each figure setting to ...
2
votes
0answers
367 views

LaTeX incorrect figure numbering [closed]

I have several figures and subfigures in a LaTeX file, but only the first few are numbered correctly. Here is the part of the code that is giving me problems: \documentclass[11pt]{article} ...
4
votes
1answer
59 views

Long subfigure references

In a certain part of my current document I need to reference a figure that is composed of 18 small pngs. Sometimes I need to reference some subfigures in the same sentence and I end up with text like ...
1
vote
1answer
181 views

subfigure numbering parentheses flipped with babel + right-to-left language + subfig

Eyal's babel incompatibility of the week... this time a question due to H.R. on the IVRITEX mailing list. The babel is incompatible with the subfig package. If you add a subfig with a caption: ...
5
votes
2answers
181 views

Subfigure in memoir

I am using pgfplots to draw plots in memoir. I have a problem for subfigure plots. \documentclass{memoir} \usepackage{pgfplots} \usepackage{tikz} \usepackage{subfigure} \begin{document} ...
2
votes
1answer
141 views

subfigure caption for all subfigures in a row (subfigure environment; subcaption package)

Heyho, my third question for today :-) I had again a look at the subcaption package manual by Axel Sommerfeldt but did not got managed to have just one subcaption for all subfigures in a row. Can ...
5
votes
1answer
2k views

subfigure numbering in subfigure environment (subcaption package)

My new friend is the subfigure environment of the subcaption package. Although reading the manual by Axel Sommerfeldt i did not managed to change the subfigure numbering from lower case letters to ...
10
votes
2answers
12k views

Figures: What is the difference between using subfig or subfigure [duplicate]

I tend to use \subfloats[]{} in my figures when I want to list multiple labelled figures of similar content in one bigger picture. However, I see that some people use \subfigure. What is the ...
8
votes
1answer
250 views

How to define a macro that uses image width and height to define a variable for later use

Ok, the title might be a bit cryptic and my question is a bit lengthy, so please bear with me. What I want to do is: I have two images with different aspect ratios that I want to place next to each ...
4
votes
1answer
491 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 ...
2
votes
1answer
739 views

Chapter title and rotated table (with subtables) on the same page

My problem is quite similar to the one described in Problems with landscape mode and Title on the same page. The hvfloats solution suggested there does not work for me, however, because I use multiple ...
5
votes
2answers
1k views

Horizontal centering with \subfloat

Please how to horizontally center-justify the following array of figures with the subfig package ? \documentclass[11pt]{article} \usepackage[dvips]{graphicx} \usepackage{subfig} \begin{document} ...
1
vote
1answer
176 views

Latex Subfloat has odd text next to figures

I'm using template from sigchi http://www.sigchi.org/publications/chipubform/sigchi-papers-latex-template/view I'm having problem with subfloats. I have three figures and they look like this: chch ...
6
votes
1answer
4k views

3 or 4 tikz figures side-by-side

How could I have a figure with 3 or 4 subfigures side-by-side in the same row? I've tried it once but the best I had was only 2 subfigures side-by-side in the same row. My code so far is: ...
4
votes
2answers
130 views

How to vertically label the subfigures?

I have 6 images, and I want to align them in this way (a)image1 (c)image3 (e)image5 (b)image2 (d)image4 (f)image6 Any one know how to do that? The problem for me is how to make (a), (b),..., (f) ...
1
vote
1answer
626 views

LaTeX: \bordermatrix in subfigure creates margin above the matrix

I want to have a \bordermatrix environment in a subfigure to show the correspondence between an incidence graph (which is a tikzpicture - I'm sure it's irrelevant to the problem) and the incidence ...
5
votes
1answer
21k views

Subfigures side by side with captions

I am using the following code to put my two figures side by side with different captions, \begin{figure*}[t!] \centering \begin{subfigure}[b]{0.5\textwidth} \centering ...
3
votes
1answer
244 views

Problem with hyperref and subfloats

I'm using subfloats rather extensively, and want to use hyperref to refer to the subfloats. It works, sort-of. In the below example, when clicking the hyperref to the first figure, the pdf goes ...
1
vote
1answer
166 views

How can I use todonotes \missingfigure in subcaptions subfigure environment?

The following MWE: \documentclass[]{scrreprt} \usepackage{xltxtra} \usepackage{subcaption} \usepackage{todonotes} \begin{document} \begin{figure} \centering \begin{subfigure} \centering ...
7
votes
2answers
7k views

Text next to image

I have a problem to get the following result in LaTeX: The figure is not something I want to do with tikz, but I want to use \includegraphics{figure1.png}. Can someone help me to get this?
11
votes
2answers
30k views

Insert multiple figures in Latex

I need to insert 10 figures (in two columns- side by side) in LaTeX that will have one global caption, but also I need to name each figure (1a, 1b, 1c, ... ect.). So they will look like: 1a ...
3
votes
2answers
2k 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
197 views

Two table environments side by side

I have the follown problem. In order to save space I want to place two different table-environemnts side by side. If I use subtable from the subcaption package I have the problem that the tables are ...
1
vote
1answer
335 views

Getting subcaptions into the list of figures without having a real subfigure

I gave searching my best shot, but no luck. Here's my problem: I use \phantomsubcaption from the subcaption package to do referencing, but I also want some sort of marker in the List of Figures with a ...
6
votes
1answer
250 views

Remove Subfigures from List of Figures

I'm using \subfloat and \subref to put 40 sub-figures into a few large figures. This is clogging up my List of Figures at the beginning of my published document. How do I remove references to ...
4
votes
1answer
7k views

horizontal and vertical image alignment with subfigure package

I have 5 images : A,B,C,D and E, all are different size. They need to be set up like this: ------- ----------- ------- ------- | | | | | | | D | | | | | | | ------- ...
0
votes
1answer
44 views

How to avoid later content appear before a subfloat figure? [duplicate]

My LaTeX is like this: Here is the result figure: \begin{figure} \begin{tabular}{cccc} \subfloat[Original]{\includegraphics[foo.png]} %... \end{tabular} \end{figure} (Content after the ...
3
votes
2answers
2k 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 ...
5
votes
1answer
213 views

subfigures in a custom float (subcaption & float packages)

I need figures and subfigures with a custom caption name. In order to achieve my goal I am trying to use float package to define new float type, and subfigure to create the subfigures. However, I get ...
5
votes
2answers
120 views

Uneven number of subfloats on separate lines

I have 5 subfloats that I would like to distribute 3 on the top line and two udnerneath but equally spaced between the top 3. But \\ doesn't seem to do anything between them. What do you sugges? ...
1
vote
1answer
371 views

Alignement of tikz-pictures and tables in subfigures

Basically, I'm trying to explain the depth-first search. I'd like to align my images in the following manner: I'd like to put two graphs in each single line, with the corresponding 'table' ...
4
votes
1answer
209 views

Vertical aligment of subfigure to the top edge

I have a small problem with vertical alignment in LaTeX. I have 3 figures with different height and I want to show them in one figure (side-by-side). Unfortunately, by default they are aligned to the ...
4
votes
1answer
4k views

LaTeX error bad math environment delimiter inside subfloat caption

For some reason, I am getting hit with a bad math environment delimiter. I know the problem has to stem from the \begin\end figure I added since the file compiled prior to this begin added. In my ...
2
votes
1answer
712 views

Create 2x2 groupplot with +1 plot to the side?

I want to create a 2x2 + 1 plot like... ---------------------------| | Plot 1 | Plot 2 | | ------------------- Plot 5 | | Plot 3 | Plot 4 | | ---------------------------| How can I ...
2
votes
1answer
80 views

moving figure to the right

I have a landscape figure in my document that I want to move to the right because a small part of the figure falls of the page (there is enough space on the right to display it entirely without ...
5
votes
1answer
174 views

Subfigures with Captions Above AND Below

I'm using \usepackage{subfig} \captionsetup[subfigure]{labelformat=empty} Is this possible?
3
votes
2answers
445 views

Subfigure with lstlisting: what am I doing wrong?

It keeps telling me: \begin{document} ended by \end{figure}, but I do not understand why. I tried to follow the guidelines for the subfigure package. Here is my MWE: ...
7
votes
1answer
2k views

Figure with two side-by-side subfigures that is wider than textwidth

I have a 2x2 array of subfigures and the ideal size I'd like them at is a bit wider than the textwidth. I saw this solution for a single figure (Custom margin settings for figure in LaTeX) but am not ...
3
votes
1answer
341 views

Duplicate identifier, subfig and hyperref

Why does LaTeX complain about destination with the same identifier (name{subfigure.1.2}) has been already used, duplicate ignored with this: \documentclass{article} \usepackage{tikz} ...
3
votes
1answer
455 views

Figure numbering with section number, problem with subfigure

I changed my figure numbering to section-style numbering for my thesis: \numberwithin{figure}{section} That's fine, but the only problem that remains in the following MWE: ...