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

learn more… | top users | synonyms

3
votes
1answer
19 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
21 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
54 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
38 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
86 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
42 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
70 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
25 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
33 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
63 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
40 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
64 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
28 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
158 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
51 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
56 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
44 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
48 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
58 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
46 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
384 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
94 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
26 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
25 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
28 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
50 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
89 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
86 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
166 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
155 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
79 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
46 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
74 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
63 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
38 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
51 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
260 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
48 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
56 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
62 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
98 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
97 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 ...
1
vote
1answer
74 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 ...
0
votes
1answer
34 views

Why does one sometimes get what appears to be arbitrary spacing with the subcaption package? [duplicate]

I have a very simple MWE which demonstrates the problem: \documentclass{book} \usepackage{graphicx} \usepackage{subcaption} \begin{document} \begin{figure} \centering ...
2
votes
1answer
131 views

Bold Captions in figure and tables but not on the list of tables and figures

I am using "normal" table, sidewaystable and sideways figures. In my code I put per \renewcommand the captions of the tables (inclusive table numbering) in bold. But this does not work for the ...
1
vote
0answers
40 views

problem with round shaped figures

When I am putting two round images side by side, their shapes change to oval! here is how I do it: \begin{figure}[t!] % \begin{subfigure}[t]{0.45\linewidth} \centering ...
3
votes
1answer
931 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 ...
1
vote
1answer
109 views

cannot figure out how to produce some tikz pictures next to each other

Ideally I would like to have the tikzpictures be in one line centered horizontally with its caption each preserving its node size and line strength and vertically aligned to a common bottom line. I am ...