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

learn more… | top users | synonyms

8
votes
1answer
54 views

Vertically aligning minipages, subfigures, and subtables (not with baseline)

The goal My goal is to align side-by-side figures, tables, and text in minipages according to the top, middle and bottom of the largest such minipage. This makes it different (I believe) from the ...
5
votes
2answers
40 views

subfigures: caption for every row and every column

I have three models that I test under different parameter configurations. I created a figure where every column corresponds to a model. I would like to add the value of the parameter at the left of ...
1
vote
1answer
31 views

RevTex4-1 caption behaviour for last line changed after customization, how to change it back?

I'm in the \begin{figure*} environment, with a few subfigure objects that have no captions. After \end{subfigure}, I'm currently using \caption[]{\small\justify blah blah blah} which produces the ...
2
votes
1answer
63 views

How to insert multiple pictures in page

I have many PNG files, and I want to put them in a latex page in certain positions. Could you please help me how? I cannot use tabular idea, as many of images are diagonal and using table does not ...
0
votes
1answer
26 views

How to insert pictures without scaling?

I'm trying to insert two figures side-by-side, following this example from the wikibook: \usepackage{graphicx} \usepackage{caption} \usepackage{subcaption} \begin{figure} \centering ...
0
votes
1answer
25 views

Multiple layout problem with sidecaption, subbottom and memoir

This is not the first time i post (see here and here) about sidecaption environment error and memoir class, but i continue to have lot of problem with my layout. I search a way to : make correct ...
3
votes
1answer
48 views

How to add left top-aligned letter to LaTeX subcaption figure?

I am using the subcaption package to place figures side-by-side, and I need to have labels in the form of letters to the top left of the figures. I.e. I am trying to achieve A [Figure] B [Figure] ...
0
votes
0answers
31 views

Use a Subfigure and Subcaption command

I am trying to use the Subfig package in order to take advantage the ability of multiple figures in a document, under various caption My pre-ample is a separate master document (main.tex), while I ...
2
votes
1answer
55 views

Unknown reason for non caption text occurring in figures

I have been trying to use the following code to place multiple images as one figure, the code is an adaptation from the answer to 3 * 2 figures in one page. However when the code complies the text ...
0
votes
1answer
46 views

Caption/Space problem in tikz/pgf/subcaptionbox

I plot 4 Graphs with Tikz and use subcaptionbox. Following badnesses occur: (1) There is no space between the caption of the upper figure to the figure below. (2) The second figures (b) caption ...
3
votes
3answers
99 views

How to align multiple subfigures in a grid?

I have three images and I want to align them in the way that one image is above the other two. Here's an example: How can I achieve this? For my other figures I use the subcaption package, but I am ...
6
votes
1answer
48 views

How do I do complex positioning of my subfigures?

I'm writing my bachelors thesis, and I have som trouble positioning my subfigures. I have three figures in different sizes, and I would like to have an output like this: I tried typing the ...
6
votes
1answer
49 views

Rearranging subfloats with subcaption

I have some code which gives the following result: The code was: \documentclass[demo]{book} \usepackage{graphicx} \usepackage[hypcap=true]{subcaption} \begin{document} \begin{figure}[tbp] ...
5
votes
1answer
78 views

Caption with a line break in Memoir Class

The following code works with the report class. However, the same code does not work with the memoir class. The problem is with the line break in the caption. (FYI: I have TeX Live 2014.) ...
2
votes
1answer
31 views

keep one subfigure fixed and move another subfigure towards right

Hi.I would like to shift the subfigure (b) towards right side, aligned exactly with the line at the top of this figure. \begin{figure*} \centering \begin{subfigure}[t]{0.5\textwidth} \centering ...
2
votes
1answer
34 views

how to include the Subfig captions below the main figure caption in LaTex?

I am preparing a manuscript for an IET journal. I have used the following packages for figure: \documentclass[10pt]{article} \usepackage{graphicx} \usepackage{caption} ...
1
vote
1answer
66 views

How to center the subfigure

I use the subfigure to put two figures together, however they are not centered. Below is my code: \documentclass[10pt]{IEEEtran} \usepackage{tikz} \usetikzlibrary{ shapes.geometric, ...
2
votes
1answer
42 views

subcaption incompatible with backref option of hyperref

I have a problem with the subcaption package. It leads to backrefs to tables only being displayed as questionmarks. Minimal working example \RequirePackage{filecontents} ...
3
votes
2answers
85 views

How to align two pgfplots that are overlapping?

I'm fairly new to pgfplots. I'm trying to graph two things, and have them plot side by side. However, when I use subfigure, my plots (and axes labels) overlap. How can I fix this? ...
0
votes
0answers
35 views

changing font size of \caption*

I want to change the font size of the \caption* command, which is not listed in the list of figures. I have the following code so far: \documentclass{article} \begin{figure}[h!] This is a figure ...
0
votes
0answers
29 views

Figures are not shown in rows [duplicate]

I have 5 figures and i want show them in two rows. I copy the sample case from: Insert multiple figures in Latex The first row has first two figures and second rows have three figures. But after ...
1
vote
1answer
272 views

Undefined control sequence at: “\begin{document}”

When trying to compile this document: \documentclass{article} \usepackage{hyperref} \usepackage{subcaption} \usepackage{svg} \begin{document} \end{document} I get the following error message: ...
4
votes
2answers
56 views

RaggedRightParindent also indents caption titles with subcaption package

I am using the KOMA-Script class scrreprt with the ragged2e package to achieve ragged right document text. I still want to retain paragraph indentation (and have no inter-paragraph spacing, i.e., ...
3
votes
1answer
67 views

Not changing subfigure numbering while using command \only<>{ on beamer

I am trying to create slides with sub-figures that will appear and disappear when the next slide will appear. So far everything looks perfect but my main problem is with sub-figure numbering. When the ...
3
votes
1answer
50 views

Aligning text vertically relative to other subfigures with subcaption

I want to add vertical (rotated) text at the beginning of a row of subfigures using the subcaption package. My solution right now is to create a separate subfigure: \documentclass{article} ...
2
votes
2answers
59 views

caption on the left of lines of Subfigures

I would like to characterise rows of subfigure: I have 2 lines, each with 3 subfigures. Each line is characterised by a different value for the parameter R. I would like to have a caption on the left ...
4
votes
3answers
66 views

Multiple captions under a single figure

I have a figure (lets say a picture of a couple ) for which I want two subcaptions (1 a that will be under the first half of the figure and will show the man and 1 b that will be under the second half ...
2
votes
1answer
50 views

Two-columns figure at current page (below other figure)

I'm wondering if it is possible to show a two column figure in a page where another figure has already been displayed. In other words, I didn't want to spawn the two column figure to a new page. I ...
1
vote
0answers
507 views

**“No counter 'subfigure@save defined.”** -subfig error

I have used 'subfig' package to compile the following code. The code was running fine in linux machine (That too without loading the 'subfig' package). Now in Windows machine, I am having error ...
1
vote
1answer
104 views

Side-by-side tikzpicture (use of axis causes problems)

I am struggling with putting three graphs side-by-side in one line. Every solution I could find caused errors because of the usage of axis. \begin{tikzpicture} \begin{axis}[ ...
0
votes
0answers
28 views

Capital letters in subcaption numbering [duplicate]

does anyone know how to (a) and (b) into (A) and (B) in the following example? \documentclass[11pt]{article} \usepackage{caption} \usepackage{subcaption} \usepackage[demo]{graphicx} ...
0
votes
0answers
28 views

Trouble with subcaption

I generated the figure above by the following code. \documentclass{article} \usepackage{pgfplots} \usepackage{subcaption} \usepgfplotslibrary{groupplots} \pgfplotsset{width=8cm,compat=1.5} ...
0
votes
1answer
29 views

Change font of the numeration in the image with muptiple subimages

So the problem is. I have an image with 3 subimages (a), (b) and (c). There is a general caption and each subimage has its own caption. I have changed the font of all captions, but the numeration ...
0
votes
1answer
66 views

Subfigure environment puts figures top and bottom, instead of side by side

This question was asked, but I don't seem to resolve my case by adapting solutions from others. I am simply trying to put two figures side by side. However, regardless of the linewidth setting, my ...
3
votes
2answers
104 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, ...
0
votes
1answer
106 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 ...
2
votes
1answer
190 views

Figure alignment using sub caption

I'm trying to align some figures using the subcaption package. My current code is that: \documentclass[11pt,twocolumn]{article} \usepackage[demo]{graphicx} \usepackage{subcaption} ...
3
votes
1answer
195 views

Subcaption vertical alignment

I'm displaying some figures with different bounding box. The figures seems to be bottom aligned, but I would like to have them vertically aligned. I though subcaption automatically take care of that, ...
6
votes
3answers
88 views

Separation between caption and subcaption

Consider the following MWE \documentclass{article} \usepackage{caption} \usepackage{subcaption} \begin{document} \begin{figure} \begin{subfigure}[t]{.5\linewidth} \centering \rule{3cm}{3cm} ...
2
votes
1answer
52 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 ...
2
votes
0answers
79 views

subcaption package changing algorithm2e caption position

I have a project which makes use of the subcaption and algorithm2e packages. For whatever reason, the subcaption package is causing the captions in the algorithms to be misplaced. Here we have a MWE ...
1
vote
2answers
70 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 ...
2
votes
1answer
40 views

Caption not working while subcaptions are present

I have the following code: \documentclass{article} \usepackage[demo]{graphicx} \usepackage{caption,subcaption} \begin{document} \begin{figure} \vspace*{\fill} \centering ...
1
vote
1answer
56 views

Is it possible to automatically get a Bold \subref

I am using the subcaption package to render my images. In the caption I refer to the subfigure using \subref. Due to requirements I am required to refer to the subfigures by a boldface letter in ...
1
vote
1answer
285 views

How to set the position of a figure in latex

i am using the following code to put three figures in a row but it puts them in a column. how can i fix it? \documentclass[a4paper,12pt]{report}‎ \usepackage{graphicx} \usepackage{subcaption} ...
0
votes
1answer
50 views

Wrong placing of captions for minipages

I have problems placing subcaptions and captions for minipages. A picture depicts what I want, but a figure included in one graph. Maybe, the right solution wasn't \picture in a previous post. I hope ...
2
votes
1answer
59 views

Best subfigure placement wrt length of subcaptions

My Problem is twofold: First i'm not sure what the established/best way is to place the captions in question. Secondly i don't know how to do implement my ideas with Latex. My supervisor ...
1
vote
0answers
66 views

Vertically aligning figures on their center using subcaption package

Is there a way to make figures vertically align on their centers using the subcaption package? Currently I get the following result: The captions below them are vertically aligned on their tops. ...
2
votes
1answer
114 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: ...
4
votes
2answers
104 views

nag [l2tabu] and \phantomsubcaption

The nag package used with the l2tabu option complains when \label is used in a float without following a \caption. Unfortunately, it does not understand that a \phantomsubcaption, from the subcaption ...