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

learn more… | top users | synonyms

2
votes
1answer
23 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
52 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
35 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
49 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
22 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
85 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: ...
3
votes
1answer
46 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 ...
4
votes
2answers
45 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
39 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
40 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
52 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 ...
4
votes
1answer
257 views

Suppressed figure numbers in \subcaptionbox still increase figure counter

I want to suppress numbering in some figures. In single figures, the use of \caption* works fine - see first two pictures in MWE below. However, when I have two subfigures in a figure-environment (set ...
2
votes
1answer
39 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
218 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 ...
2
votes
1answer
316 views

label in subcaption and customize cell size of an array

Using the following code \documentclass[11pt]{article} \usepackage{caption} \usepackage{subcaption} \DeclareCaptionSubType*[arabic]{table} \captionsetup[subtable]{labelformat=simple,labelsep=space} ...
1
vote
1answer
88 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
22 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} ...
3
votes
2answers
74 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
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
37 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 ...
0
votes
1answer
65 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
113 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
93 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
72 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
32 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
63 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
51 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
44 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
209 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} ...
1
vote
1answer
87 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 ...
0
votes
1answer
47 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
53 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
1answer
78 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: ...
1
vote
0answers
53 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. ...
4
votes
2answers
86 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
68 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 ...
2
votes
1answer
50 views

subcaptions for tables can not be displayed

everyone. For making tables with subcaptions,I write the source as shown below. However, subcaptions can not be displayed as shown in attached screen shot. Let me know how to solve it. ...
0
votes
1answer
33 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
119 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
39 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 ...
2
votes
1answer
716 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 ...
2
votes
1answer
48 views

Usage of subcaption leads to a misalignment (horizontal and vertical)

I use the package "subcaption" to put my pictures into my script. I prefere to use subcaption instead of subfig because if I use \continuedFloat it makes a correct enumeration. Sadly the last two ...
1
vote
1answer
50 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
54 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} ...
3
votes
1answer
107 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} ...
1
vote
1answer
71 views

How to make caption of a subfigure wider after scaling the figure?

i wanna scale (a) similar to (c) unfortunatelly, the caption is scaled too how can i make the caption of (c) wider (similar to caption of (a))? thank you \documentclass[12pt]{article} ...
5
votes
2answers
103 views

Problem with subcaptions in subtables

I am trying to implement a table with several subtables, but working with subcaption does not work neither when I try tabularx. This subtables have different number of columns. with the following code ...