Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [subcaption]

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

0
votes
1answer
21 views

Removing Trailing Dot in Figure Caption

How do I remove trailing dot in Figure Captions. I am getting Fig. 1.1. but I require it as Fig. 1.1 I have seeing solutions for other classes of document(Scrreport).I am using report class.
2
votes
1answer
23 views

Alignment of text in Fig footer

I want to align the fig footer text in figure caption to left in double column image. Use of following code giving center alignment. cta_author latex file is available at:CTA \documentclass{cta-...
0
votes
1answer
27 views

Consistent spacing between caption and TikZ and EPS figures

The problem I have is that spacing between a TikZ figure and its caption is bigger that between any other type of pictures and their spacing: Obviously, it can be solved by hardcoding \vspace{} or ...
2
votes
1answer
20 views

Setting up different font sizes for captions in each figure

I try to change font sizes od figures caption separately for some figures. I read that: Changing Figure caption text size. But using this solution sets it globally for whole document not for selected ...
0
votes
1answer
27 views

Responsive collage of pictures

I need to make a collage of picture responsive. Below my current MWE, I cannot use any environemnt but subcaption as this is the guideline of my university: \documentclass{article} \usepackage{...
0
votes
0answers
13 views

How to take 6 R plots and their tikzdevice generated .tex files and tile them into 2 rows of 3 plots in latex?

Hi = I have 6 R plots that I have generated using tikzdevice in R: plot1.tex, plot2.tex, ..., plot6.tex I am trying to place them into 2 rows of 3 and 3 rows of 2 in latex. I have seen the ...
1
vote
1answer
18 views

Aligning different sized images vertically with captions in a two-column environment

I am trying to to get the smaller images in the second row to center align with the bigger images in the first row: (this using MS word) I tried the following code: \begin{figure*}[h] \centering \...
0
votes
0answers
20 views

subfigures with caption on top in standalone class

For submission to a journal I would like to merge several images into one figure with 4 subfigures, arranged as a 2x2 panel. Each subfigure should have a label ("(a)","(b)",...) and a subcaption, ...
3
votes
3answers
107 views

How to add subcaption to tikz

I need to place three tikz pictures side by side, and assign one caption to the triple and a subcaption to each tikz. I currently use subcaption package and it works well. However, I need migrate to ...
0
votes
1answer
23 views

\subcaption does not work

I am using the following code to list 3 figures in one line. It is working well and showing the figure if I remove the \subcaption for each figure. However, when I include the (\subcaption)s, it shows ...
1
vote
1answer
41 views

Package caption Error: No float type 'noticebox' defined

I took the NIPS 2018 paper template from here, which I can compile (via pdflatex). However, when I add this package (before \title): \usepackage{caption} I get the error: ! Package caption Error: ...
0
votes
1answer
19 views

Align figure and tables in subfigure environment

I am trying to put a table and a figure side by side with a subfigure environment. I followed some resources online and the most similar is the following: Join figure and table on the same page. In ...
0
votes
1answer
48 views

How to put images side by side using subcaption and caption packages?

I'm trying to put several images side by side. I've seen some examples (such as this) and the first image that I have is working correctly. The others are not and I can't understand why, since the ...
2
votes
2answers
43 views

subcaption - How to use 'Figure x' instead of alphabet numbering?

My current table of images looks like: However, instead of (a), I'd like the caption to include 'Figure' and continue numbering from previous figures. How would I do this? A MWE: \documentclass{...
0
votes
0answers
19 views

Animate inside subcaption

I would like to insert GIFs inside my pdf. I have found my way to turn my GIFs into a sequence of frames with Magick Image, then using the package animate I can insert the frames as an animation, ...
0
votes
1answer
16 views

Subcaption package make all captions centered

If i include subcaption package, all captions of figures are centered. But i want to make captions justified text. What should i do? P.S I insert image by \begin{figure} and \includegraphics and make ...
1
vote
1answer
111 views

Problem with babel package and subfigures

I have tried to change the language of my article by adding the following lines to the preamble: \usepackage[greek,english]{babel} \selectlanguage{greek} In most of the cases seems to work fine. But ...
0
votes
2answers
24 views

Grid of images with captions as column name

I am new to latex. I want to create exactly similar grid as shown in image below except I want 'ground truth', 'baseline' and 'proposed' text on top. Can I refer single images from grid elsewhere? I ...
1
vote
1answer
22 views

Subfigure caption for a non-float figure

Following the answer here (or here), I have an inline figure with four subfigures. I would like to add subcaptions for those, preferably with automatic labels, but since the figure isn't a float, ...
0
votes
1answer
34 views

Subfigure range in caption with cleveref and besidecaption

I originally asked for a solution which would automatically give me the range of subfigures in a caption. Skillmon came up with something which did work with my original MWE, but which gives problems ...
4
votes
1answer
27 views

Using lstlisting in subfigure

I would like two side-by-side subfigures, both containing an lstlisting environment. The problem is that using it in the manner shown, I get a left margin from the listing that is redundant, and with ...
2
votes
2answers
51 views

Print subfigure range in caption

Consider the following MWE: \documentclass{article} \usepackage[demo]{graphicx} \usepackage{subcaption} \usepackage{caption} \begin{document} \begin{figure} \subcaptionbox{\label{fig:img1}}{% \...
1
vote
1answer
34 views

Subcaption spacing inside node

I need to add a subcaption at the side of each plot within a \groupplots environment. After some searching I found this topic here on Tex.SE which shows how to add a subcaption to groupplots. I ...
3
votes
1answer
23 views

Three images on one line using subfigure

I'm trying to put 3 images into one figure on one line. I have done the following approach: \documentclass[sigconf]{acmart} \usepackage{subcaption} \begin{document} \begin{figure*} \begin{...
2
votes
0answers
37 views

Subcaption incompatible with babel-farsi

I am trying to use some farsi words in my text. I also have to use subcaption for my pics. But I am getting the following error: ! Package caption Error: The `subcaption' package does not work ...
0
votes
0answers
16 views

How to get small caption size and remove automatic numbering

Using the below code, I get the caption size as rather large and also get automatic alphabets, which I do not want. It can be seen from the image. My question is how do I get small captions which look ...
3
votes
1answer
30 views

Error while using quotes syntax with packages babel, subcaption, and tikz

While using quotes, I get the error ERROR: Argument of \language@active@arg" has an extra }. from \documentclass{article} \usepackage[spanish]{babel} \usepackage{subcaption} \usepackage{tikz} \...
0
votes
0answers
23 views

Minimize the column layout

Using the below code I get a layout with 3 columns and 4 rows. I want to get something like 2 columns (same rows) on the same width and somewhat large caption size which does not expand to another ...
0
votes
1answer
43 views

Pgfplotstableset, longtable and subcaption

I am using pgfplotstableset and longtable to read data from a file and format it into a table composed of several subtables. I have managed to create the table and to include a caption over it. ...
2
votes
2answers
44 views

How can I format 8 subfigures to have a single legend to the right of the page?

My code produces a figure which looks like this: How can I make it look like this: (which I have produced using paint.) The code \usepackage{graphicx} \usepackage{subcaption} \begin{document} \...
1
vote
1answer
86 views

Error using pdfx package with subcaption package (introduced by the chkfloat package)

I am using pdfx with the a-1b option to comply with my university's requirements for PhD thesis. According to the pdfx package's documentation, this package must be loaded first. However, this ...
2
votes
3answers
63 views

Complex subfigure grid

I would like to arrange four subfigures into a 2-by-2 grid, where the grid element heights vary; something like this: |------| |----------| |------| |----------| |------| |----------| |------| ...
1
vote
1answer
82 views

Shows figures on the right side

I added figures to my latex file and for some reason, it shows them on the right side instead of in the center. How can I fix it? \begin{figure} \centering \subcaptionbox{A Constant Rectangle\label{...
1
vote
1answer
49 views

How to change sub-caption to small font from capital letters?

I used \usepackage{caption} and \usepackage{subcaption} respectively for the captions. now when i generated the pdf i get the subcaption as (A),(B),(C) . I need all of them in small letters like ...
0
votes
0answers
39 views

Subfigures and subtables

If there any package which allows us to include both subfigures and subtables. (\usepackage{subcaption} does not go with \usepackage{subfig}). I need to have both subfigures and subtables in my ...
1
vote
2answers
61 views

Subcaptionbox in tabu: wrong numbering of subfigures

I'm am using the tabu environment inside figures to have some nice alignment for multi-panel figures. However, this seems to give me some problems with the numbering of the subfigures (the numbering ...
0
votes
1answer
37 views

Subfig: Color for numerates and line breaks in caption (beamer)

Before my subfig caption, Latex automatically put (a) (b) in front and color are in blue. Anyway to change the color of (a) and (b) to black? Also, is there a way to enter line breaks in the ...
1
vote
1answer
29 views

Align captions for unequal sized figures with subcaption package

I have two figures of unequal size (figure 1 is wider and shorter), and I would like to centre-align the two subfigures vertically, but keep the subcaptions aligned at the top (please see attached ...
2
votes
1answer
34 views

subfloat - issues with the subcaption

I am new at LaTeX and I have been some problems with the subcaption text, since I have to put five images in a singe row. I have the follow code for this: \documentclass{article} \usepackage[utf8]{...
0
votes
2answers
62 views

ContinuedFloat not working - ShareLatex

I'm using ShareLatex to write my thesis and right now I need 16 images divided by 3 pages with the same caption. The images should be on pairs of two for being able to compare. I don't want any ...
1
vote
1answer
54 views

Caption does not fill the whole column

I am using the ReVTeX 4.1 template (for AIP journals), and while I was trying to add figures I noticed that the caption does not fill the whole column. Is there a way to make caption fill the lines (...
3
votes
0answers
116 views

Hyperref not jumping to the appropriate location for memoir's subbottom

I'm trying to utilize native Memoir subbottom command. However, I'm unable to make hyperref links jump "to the picture", rather than "to the caption". Only links to (a) and (d) work as desired. \...
2
votes
1answer
29 views

Interference of \addtokomafont and subcaption

Dear stackexchange users, the document \documentclass{scrartcl} \addtokomafont{captionlabel}{\textbf} \usepackage{subcaption} \begin{document} \begin{figure} \caption{test} \end{figure} \end{...
2
votes
1answer
42 views

PGFplots: Assigning subcaptions to the grouped plots

This is a follow-up question about this answer, where I would like to get the same output using the conventional article class and edit the printed cross-reference text such that, for example, I would ...
0
votes
1answer
57 views

Error using \usepackage{subcaption} in LaTeX document

Right now, I am writing my bachelor thesis and using LaTeX for the first time, using the template made available at https://www.overleaf.com/read/jtsdtwkcjcyq . I am writing the results as I am ...
1
vote
1answer
28 views

Figures in (3*2) pattern with labels in a particular manner

I need figures along with the labels in the following manner (a) (d) (b) (e) (c) (f) How to achieve this? Normally the figures are labelled from left to right and then vertically down and so ...
3
votes
1answer
19 views

subcaption is broken by \makebox?

I tried following this answer to get my subfigures to fit ignoring margins, but as soon as I add the \makebox call, several errors are returned relating to what look like commands internal to packages ...
0
votes
2answers
98 views

How to align subfigures of different heights in the same row

The following code: \documentclass[journal,twocolumn,10pt]{IEEEtran} \usepackage[compress]{cite} \usepackage{times} % Font Times New Roman throughout the document \usepackage{subfigure} \usepackage{...
1
vote
1answer
59 views

caption not centered for subfigure

I have three plots which I want to display one after the other. It displays fine but the only problem I have is the captions are not centered. the subcaptions are more obvious after rendering the ...
0
votes
1answer
111 views

How to place and space captions of subfigures

I have the following code: \documentclass[journal,twocolumn,10pt]{IEEEtran} \usepackage{subfigure} \usepackage{mathtools} \begin{document} \begin{figure}[t] \centering \subfigure[Line]{\centering ...