Questions tagged [subcaption]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
238 views

Command \theHsubfigure already defined

Can anyone explain the thrown error and is there a way to avoid it? It seems the packages hyperref and subcaption don't get along very well. The document compiles and all seems alright, but I get the ...
1
vote
1answer
85 views

Putting a set of subfigures of different size and shape side by side, top down, vertically aligned by the subcaption

I want to place four diferent images, two above, two below, as in a matrix, aligned by the subcaption. I have used the \subfigure environment but the images are in disarray. \begin{figure}% \...
1
vote
1answer
1k views

Subtable spanning over several pages

I have a table composed of 2 subtables. I would like to be able to break the table to display the subtables on different pages. It seems it is not working like subfigures and \ContinuedFloat as it it ...
0
votes
1answer
268 views

File ended while scanning use of \caption@iiibox

I am using TexStudio 2.12.6, with MiKteX 2.9.6100 \documentclass[11pt,a4paper,fleqn]{article} \usepackage[T1]{fontenc}% Must be loaded for proper fontencoding when using pdfLaTeX \usepackage[utf8]{...
1
vote
1answer
44 views

How to change the appearance of cross-references to side-by-side subfigures?

I have the following code: \documentclass[12pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage{graphicx} \usepackage{caption} \usepackage{...
0
votes
1answer
341 views

Real footnote with subcaption package

I'd like to put some footnotes in a caption of a subcaption paragraph. However, as you can see the footnode appears in the caption itself, and not at the bottom of the page. Any solution? Thanks! ...
6
votes
1answer
1k views

Using tiny font with the (sub)caption package

In some situations (e.g. with beamer), it may be desirable to use tiny as font size with the (sub)caption package. How to use it?
0
votes
1answer
114 views

Aligning subfig captions vertically

I am using IEEETrans and the recommended subfig package. I have tikz graphics in subfigures, and I really want them to be aligned by their top bounding box (so that the nodes align). The problem is, ...
1
vote
0answers
99 views

Spacing between subcaption and subfloat

I'm currently using the subcaption package to set up figures with subfloats. My current code is the following : \begin{figure} \centering \captionsetup{font=normalsize,justification=...
1
vote
1answer
373 views

Beamer presentation: Problem with captions

I am making a presentation and I have two issues there: 1) I need to use the package subcaption to make subfigures, while simultaneously I want to use the command from this site \setbeamertemplate{...
0
votes
1answer
56 views

Workaround for refcheck with subcaptions

This question mentions a conflict between refcheck, subcaption and hyperref, and proposes a patch to help deal with some issues due to hyperref. I would like to know if there is a workaround for the ...
2
votes
1answer
436 views

Placing panel label in the corner of the figure

I am trying to place labels (A, B, C...) onto the top-left corners of subfigures. I tried it with caption/subcaption packages and by defining a negative skip like \captionsetup[sub]{skip=-5pt}, but ...
1
vote
1answer
461 views

Caption style lost due to subcaption or subfig packages loading

I'm asking if there are any way to use the subcaptionpackage, without load its own style. To be more precise I have a LaTeX template with the relative .sty file that gives me this type of caption ...
4
votes
1answer
134 views

How to evenly space subcaption - Use table?

I have a single image below and I would like to put a subcaption for each of the image in it. Only for the first row. The way I am doing it is not good because you can see that the subcaption for each ...
0
votes
0answers
116 views

Set Captionof table to left [duplicate]

I am using the documentclass scrartcl and have a table \documentclass{scrartcl} \usepackage[table,xcdraw]{xcolor} \begin{table}[] \centering \label{my-label} \begin{tabular}{lll} \cellcolor[HTML]{...
-1
votes
1answer
91 views

4 customized subfigures

I want to insert four subfigures in which the upper row contains only one image that spans over two columns, while the second row contains three subfigures next to each other. Something that resembles ...
2
votes
1answer
448 views

removing subfigure captions without removing labels

I tried using subfigure along with a caption for these four images according to the code shown below. \begin{figure}[H] %\centering \begin{subfigure}[t]{0.49\textwidth} %\centering \...
2
votes
2answers
46 views

How to align images with subcaptions with different lengths?

I have three tikz pictures aligned horizontally, but their captions have different lengths, which causes the image with longer caption to rise instead of being aligned with the others, like this (...
2
votes
2answers
156 views

How to move the overall caption of a figure to use the available space?

I would like to move a figure caption to utilize the space better in my document. Here is some example code: \documentclass{article} \usepackage{caption} \usepackage{subcaption} \usepackage{graphicx}...
1
vote
2answers
214 views

It is possible to put a table as part of a figure with separate labels and captions?

Is it possible to put a graph and a table together in one figure? \usepackage{subcaption} \begin{figure}[b] \centering \includegraphics[width=0.4\linewidth]{Fit3Dir_30min/...
1
vote
1answer
294 views

Put Subcaptions on the right of vertically aligned subfigures

I'm struggling to find a solution for my problem. I want something like this but for VERTICALLY aligned subfigures, as an attempt to save some vertical space (I can't reduce the size more than this) ...
1
vote
1answer
99 views

Subcaption: Vertical image alignment - Pass through image height

I have two external graphics that I want to add to my document side-by-side using the subcaption-package at the same height. To get the height of the first file, I use \settoheight. In the subfigure ...
2
votes
1answer
117 views

Place table and figures into same float with subcaption package

I want to have a float which covers an entire page, but with a table and two figures inside. From https://tex.stackexchange.com/a/111121 I figured (no pun indented) I need to write (using the caption ...
0
votes
2answers
251 views

How to set color dashed vertical rule between images

\documentclass{article} \usepackage{subcaption,graphics} \usepackage{color} \newcommand{\rulesep}{\color{blue} \unskip\ \vrule\ } \begin{document} \begin{figure*}[ht!] \begin{subfigure}[t]{0.32\...
1
vote
1answer
98 views

How to resize a complex table with subcaptionboxes?

Let's say I'd like to scale the following table down. It's actually much larger, but this will do as a minimal example. I've seen many solutions using resizebox, but that doesn't quite work in this ...
2
votes
2answers
770 views

Align subcaption to its subtable

I am trying to create a table with tree subtables in it. To do so I have written the following code: \documentclass[twoside]{article} \usepackage[utf8]{inputenc} \usepackage[spanish]{babel} \...
2
votes
1answer
250 views

How to cross-reference name of subfigures

I have a document where I use figures and subfigures (provided by the package subcaption). When I cross-reference subfigures using \Cref{subfigure-label} I get the right cross-reference, e.g., "Figure ...
0
votes
0answers
38 views

floatrow/subfigure - fit 7 figures in one page - caption as a subfigure [duplicate]

I am trying to put in one page a set of 7 subigures. What I would like to achieve is the following The 7th image should be placed on the first column on the left hand side of the document (yellow box)...
1
vote
2answers
695 views

Does captionsetup command works for subcaption?

I am trying to place three subfigures side by side using the minipage environment. The problem is that I cannot control the width of subcaption inside the minipage environment. I tried both ...
1
vote
1answer
140 views

Problem with reference to subfigure

So my code seems like that: \documentclass{article} \usepackage{graphicx} \usepackage{caption} \usepackage{subcaption} \usepackage{polyglossia} \setmainlanguage{greek} \setotherlanguages{english} \...
1
vote
1answer
208 views

Vertical subcaption beside horizontal subfigure

I have a very specific problem: I need two or three subfigures placed under each other. I want to have one main caption for both of them and a subcaption for each one. Because the pictures are pretty ...
1
vote
1answer
24 views

How do I adjust and change the size of five subfigures (1st row: 2, 2nd row: 2, last row: 1) so that it fits and is visible to see?

Here is the code I used. \usepackage{caption} \usepackage{subcaption} \begin{figure}[H] \begin{subfigure}{0.01\linewidth} \centering \includegraphics{a.png} \caption{a} \label{fig:a} \end{subfigure}%...
0
votes
1answer
1k views

How to vertically align 'subcaption' subfigures

I am using the \usepackage{subcaption} library (inspired by this) to create a figure with two images, like so: \begin{figure}[H] \centering \begin{subfigure}{0.45 \linewidth} \centering \...
1
vote
1answer
25 views

Errors using subfigure

\begin{figure}[h] \begin{subfigure} \includegraphics[scale=0.2]{section7task4_1} \caption{low frequency noise} \end{subfigure} \begin{subfigure} \includegraphics[scale=...
1
vote
1answer
615 views

Position a Minipage for subfigure with side captions

I'm using the minipage environment in order to put a caption for a subfigure on the side. It works fine. But I'm have a problem because I want the figure to be exactly in the horizontal middle of my ...
4
votes
1answer
320 views

Separate colorbar for 2x2 plotgroup consisting out of subfigures

I export several plots from matlab to tikz using matlab2tikz. Many of them use colors and can often be grouped. It seems however difficult to include a single colorbar in matlab for a group of ...
2
votes
1answer
844 views

Figures stacked rather than side by side when using minipage

I am trying to put a figure, next to four other figures, two up and two down. That is, one figure on the left side, four small figures on the right side (2 by 2) But whenever I add the subcaption, ...
1
vote
2answers
362 views

Arrange 3 subfigures and 1 justified caption in a 2x2 fashion

I have 3 big figures and the corresponding captions, which are long and uncompensated (some longer than others). I want to arrange them in a 2x2 fashion, so that I have subfigs a and b in the first ...
1
vote
1answer
156 views

Highlighting the area of sub-figure that has been zoomed in the second sub-figure

I am using \subcaption package to display two images, where the second image is the zoom in version of the first image. I use the below code to display the images. \documentclass{article} \usepackage{...
1
vote
2answers
677 views

Using the Subcaption package changes caption font

I'm using the SIGCHI conference paper template, and having an issue with the subcaption package. When I don't include it, the template makes the figure captions look like this (the way they are ...
1
vote
1answer
139 views

How to labeling subfigures contained in a single image file and reference them in the text?

I'm sure that I've seen this question, but today I didn't found it. I have a document with a previously made figure. This figure already has the subfigures and the (a), (b).. marks. How can I label ...
2
votes
2answers
255 views

How can I configure the subcaption of a thin figure?

I have 2 thin images. I put them into a figure using \subfloat from subfig package. The subcaption of each one has the same figure width. I tryed to solve this creating a tabular environment, but didn'...
2
votes
1answer
2k views

Fill \textwidth with equal-height subfigures of different aspect ratios

I would like two subfigures to have the same height and fill out the available \textwidth (with some margin between them). How can I get the left subfigure to have the height of the right subfigure ...
3
votes
2answers
256 views

Align the captions in tikz \subfloat

I am struggling to align the sub-figure, especially the captions, but could not find some way. \documentclass[twocolumn]{article} \usepackage{geometry} \geometry{legalpaper, landscape, margin=2in} \...
2
votes
1answer
94 views

Subcaption in nonfloat environment

I have an alltt environment for which I'd like to add captions and sometimes subcaption, in the form: Example 1a: some description. However, I am only able to achieve : a: some description. I realize ...
0
votes
1answer
484 views

Subfigure using subcaption within enumerate is not indenting [duplicate]

I'm trying to put two images with the subcaption package side by side in an enumerate environement. This works fine, however the indent is not correct. Here is my code: \documentclass[10pt,a5paper]{...
1
vote
1answer
83 views

Unnumbered subfigure captions with line stretching

I'm trying to caption some subfigures with a label, but I'm also trying to slightly stretch the text of the subfigures. It seems when I apply these two pieces of code together, I get an error. Can ...
0
votes
1answer
161 views

customize appearance of cross-references to 'subfigure' objects [duplicate]

In regard to these questions customize of autoref and \autoref does not expand abbreviation automatically at beginning of line I would like to know, how I can customize the pasting of ...
2
votes
3answers
769 views

Tikz subfigures overlap

I tried to search on the internet but I had no luck. I did 2 figures in TikZ and I wanted to put them side by side through the subcaption package. This is a minimal working example: \...
5
votes
2answers
3k views

How to wrap text around a subfigure?

I would like to align 3 subfigures vertically (all on top of each other), and then have these on the right side of the page with text wrapping around them. I know how to use wrapfig for a single ...