{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)

2
votes
1answer
394 views

How to print a table and figure side-by-side in knitr

I see a lot of posts on putting figures side by side with tables without knitr, and posts about putting tables next to tables and figures next to figures in knitr, but nothing on how to put a figure ...
3
votes
2answers
154 views

Wrong figure number with subcaption and \hrulefill

I am having trouble with subfigures in my IEEEtran/journal document class. I am using the subcaption package to use sub-figures, and want to use \hrulefill to separate figures from the text. Somehow, ...
3
votes
2answers
227 views

Aligning subfigures in a 2x3 grid with tikz

I have a number of plots obtained with matlab2tikz. Now I want to align these plot in a neat way. I used the subfigure package, but the result is not aligned very nice, see My latex code is: ...
0
votes
1answer
272 views

Reduce Vertical White Space subfigure

I am having problems removing the white space between two rows of 4 consecutive images. Help is greatly appreciated! As a note to other users, horizontal white space was removed by using a "%" after ...
1
vote
2answers
164 views

Title and caption to all Subfigures

Hi I am using subfigure pacakge to plot multiple figures as: \begin{figure*}[t] \graphicspath{ {./images/} } \centering \subfigure[Original]{\includegraphics[]{2_o.eps}} ...
3
votes
1answer
297 views

Problem with Subfigure

Could someone please tell me why this \documentclass{article} \usepackage{graphicx} \usepackage{subfigure} \begin{document} \begin{figure} \begin{subfigure} \includegraphics{ngc3242fullslitmag.png} ...
0
votes
0answers
70 views

How to use the outdated \subfigure package to align 3 images

I would like to create a figure that has 3 images, one large long figure on the left, and two small figures on the right, exactly like the image in this link: How to stack two subfigures next to a ...
1
vote
0answers
48 views

Rotated figure moves to the right of the document

I want to rotate a 3d solid using tikz-3dplot within a subfigure environment (I am using IEEEtran document class as well). When I perform the rotation, the figure rotates as expected but moves to the ...
2
votes
1answer
106 views

Referencing subfigures/Increasing figure counter

There is a problem with referencing subfigures. When I add the line containing \caption{}, everything works perfect, but caption of a figure must be below the figure. How can I solve this ...
1
vote
1answer
298 views

How to format/include subfigures in AASTex document class?

I've been writing a document using the basic "article" class, but now I need to change it to "aastex." When I do this, my subfigures do not work. Is there any way aastex allows subfigures? I tried to ...
2
votes
2answers
171 views

How can you automatically continue a figure on to the next page?

Below is my code, I have 5 figures (a, b,c,d,e) under Figure 1.. i want them to continue on the next page and not stuck in the middle. I want them to be one under the other i.e. vertically like the ...
0
votes
0answers
35 views

Subfigure numbering problem [duplicate]

I am tring to number the figure as 1 (a) 1(b)... . Inside section 5, I have written the text for latex. problem is that instead of numbering it is showing 5.3 5.3 (repeating). ...
0
votes
2answers
100 views

how to do 3x1 subplots in one figure

I need to do 3X1 subplots, that is 3 row X 1 column, does someone here know how to do it? Any help will be appreciated. thanks in advance
1
vote
2answers
137 views

Placing figures side by side

How to place figures side by side with two different captions and one common caption, while in the list of figures only common caption will show?
3
votes
3answers
374 views

Why latex doesn't recognize my subfigures?

\documentclass[11pt,a4paper,twoside]{book} \usepackage{caption} \usepackage{subcaption} \usepackage{graphicx} % [demo] is just for the example \begin{document} \begin{figure}[ht] ...
1
vote
1answer
53 views

Break subfigures along 2 pages using the subfigure package

I am trying to add subfigures that are larger than one page. I am using the package subfigure that might be a bit obsolete, indeed, however I insist in using it because I have a very large documents ...
0
votes
0answers
25 views

3 subfigures, 2 vertically aligned and one hortizontally [duplicate]

Hello, Does anybody know how to vertically align two subfigures with another subfigure horizontally? I mean i need to put two small images above each other beside another longer image as shown ...
1
vote
2answers
117 views

Formatting subfloatrow captions as Figure 1.A etc

I have been looking all over the place for a solution to this problem but I can't seem to find one. Basically I want subfigures captioned as "Figure 1.A", "Figure 1.B" etcetera. I use floatrow's ...
3
votes
2answers
5k views

“Environment subfigure undefined” on journal submission

I have a LaTeX file with packages \usepackage{amsmath,amssymb} \usepackage{graphicx} \usepackage[colorlinks=true,citecolor=black,linkcolor=black,urlcolor=blue]{hyperref} ...
1
vote
0answers
133 views

Wrong figure and caption position

I have a problem with my images!! As you can see, the position of images (a) and (b) is totally wrong! I don't know why! I used Latex for a lot of years, but it is the first time I see something ...
2
votes
1answer
177 views

An alternative way to align figure and table in \subfloat

So I realise this has been asked/alluded to a couple of times previously as in: Figure and table side-by-side in subfloats Table and Figure side-by-side with Table caption above, Figure caption ...
3
votes
2answers
150 views

Subfigures in Margin note

My codes, \documentclass[a4paper,twoside,openright,11pt]{scrbook} \usepackage[left=1.5cm,right=1cm,top=3cm,bottom=1.5cm,marginparwidth=5.5cm,marginparsep=1cm,outer=8cm]{geometry} ...
0
votes
1answer
39 views

Is it possible to adjust the vertical spacing between figures inside a figure environment

My aim is to increase or decrease the vertical spacing between figures inside the same figure environment. I have tried the subcaptions package and the commands vspace and vspace*, but they did not ...
0
votes
1answer
175 views

How to place two bar charts beside each other

There are two tikz barcharts in this snippet. I'm able to display barcharts one after another but when i use subfigure/subfloat its giving an error \documentclass[preprint,12pt,3p]{elsarticle} ...
2
votes
1answer
70 views

How do I arrange 2 subfigures on top of 1 subfigure?

I'd like the arrange these figures so there are two figures next to each other and one below, like an upside down triangle, so that they all fit on one page and are a reasonable size. How do I do ...
3
votes
1answer
74 views

How to put 2 sets of 3 figures on 2 columns?

I would like to put figures on 2 columns, 1st column; figure 1 with subfigures a, b and c, 2nd column: figure 2 with subfigures a, b and c. (a) fig. a | (a) fig. a | ...
2
votes
1answer
54 views

Put image in subfig's subfloat caption

I need to put an image "tinyimage" inside the caption of a subfloat of the subfig package. Minimal not working example: \documentclass{scrbook} \usepackage{graphicx} ...
2
votes
1answer
176 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: ...
3
votes
0answers
95 views

How to align Matrix and Tikzpicture on the same horizontal line

I'm using subfloat to try to align my diagram with the matrix array. I want them to be next to each other, and per suggestion, used the subfloats to try to align them. I'm getting error messages. ...
1
vote
1answer
132 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 ...
9
votes
1answer
3k views

How do I stack two figures on top of each other, rather than side to side?

I'd like my figures to be one on top of the other, rather than next to each other, so that they are larger and spread along the page width. How do I do this? Here is my code: \begin{figure}[H] ...
1
vote
1answer
5k views

Miktex Package Installation

I recently installed MiKTeX with the texmaker editor and cannot figure out how to update the packages. When I attempt to use the subfigure package with the following preamble ...
1
vote
1answer
61 views

Sideways subfigure over several pages

I am trying to include "sideways" subfigures according to this question How to rotate a group of figures (subfigure) from Torbjørn T. I would like to put three graphics next to each other (for ...
1
vote
1answer
182 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
247 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} ...
4
votes
1answer
424 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} ...
4
votes
2answers
292 views

why does subfigure show wrong reference number?

I am using \begin {figure}-\end {figure} for one figure and \begin {figure} \subfigure{} \end {figure} for multiple figures joined on a page. (By using \usepackage{subfigure}) When I refer the ...
3
votes
2answers
2k views

Reconfiguring Tex Live Utility for 2014

I'm having some problems getting TexLive Utility to work with the repository to update packages. I received an error that said subfigure was an undefined environment in the RCS Journal template I was ...
1
vote
1answer
101 views

Subfigure referencing, wrong order

I have problems with subfigure referencing. When I reference the main figure, the labeling in the reference is correct, but when I try to reference the subfigure, I get figure X+1, which is kind of ...
1
vote
0answers
64 views

Caption with two figures in a single column

How can I put two figures in a single column, with a label (say a), b) ) on the left and in the middle or top of each figure? I was trying \newcommand{\Inserttwopgf}[6]{% \begin{figure}[t] ...
2
votes
1answer
44 views

Errors for \subfloat environment

I am getting these errors (below) for each \subfloat when using this code. It has worked fine in the rest of my thesis, but suddenly there is a problem. Note that I exported all previous work from ...
2
votes
2answers
86 views

add caption to Subfigures

how to add caption to the multiple subfigures whose code is given as \begin{figure}[h] \centerline{% \includegraphics[width=0.5\textwidth]{CircleTemplate.eps}% ...
6
votes
2answers
146 views

Arrange three images (with an own caption for each) in two rows using subfig package

I would like to arrange three figures like this: a long one on the left and two smaller square ones right to it (above each other). All three images need to have a separate caption. I am using the ...
4
votes
2answers
52 views

Subfig subcaption labels have wrong spacing with KOMAScript and colored labels

I observe a problem with the labels of subcaptions generated by the subfig package. The distance between label and caption is wrong, but only if I change the color with \addtokomafont and if the color ...
6
votes
1answer
271 views

Aligning both tikz pictures and their captions

I am using two tikz pictures in subfigures. The baseline parameter allows aliging the subfigures via the nodes, however the caption (b) is much above the caption (a) in such case. If I don't you ...
1
vote
0answers
62 views

make latex to automatically choose the placement of algorithms

I have several algorithms written down in a single file and would like latex to spread them across the document to save spaces. For example an algorithm can be just 3 or 4 lines and another can be 20 ...
3
votes
2answers
298 views

Including a subfigure and table inside a figure environment

I want to include a table and an image as two subfigures in a macro figure environment. Apparently the code compiles but it isn't placing the elements how I want: The table and the image side by side ...
2
votes
1answer
103 views

Interdependencies between subfig, subfigure and subcaption for journal papers

I am using informs3.cls template to write a paper. I have run into serious difficulty when making a figure with subfigures. The problem is that: subfigure package is obsolete. subfig is not ...
1
vote
1answer
842 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. ...
0
votes
0answers
74 views

Image next to paragraph, start next paragraph below both

In LaTeX, I have a number of short paragraphs, each with a headline and an image on the right side. % First section \spacedlowsmallcaps{Some headline} \begin{floatingfigure}[r]{4.5cm} ...