Questions tagged [subfig]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
23 views

Different horizontal and vertical spaces between subfigures with tikz text and inset

I am trying to insert a bunch of pictures of the same size (1416x1158). and inside of some subfigures, there is a zoomed-in picture. Also, I am adding captions using tikz node. But there is a problem, ...
1
vote
1answer
25 views

Placing images into different columns

I have the following requirement where there are some plots which will be stacked in two columns as shown in the figure. And in addition there is a color bar which will be placed on the right side ...
0
votes
0answers
21 views

Second row of my figure is not centered

I am using minipage to show my figures in the pdf file using the following code: \begin{figure*}[tb] \begin{minipage}[b]{.28\linewidth} \centering \includegraphics[width=\columnwidth]{images/...
2
votes
1answer
15 views

Subfigure arrangement - first image is raised

I am using LaTeX to write my thesis and have found a problem when I try to insert subfigures. I am using the package subcaption. This is the code I have used \begin{figure}[H] \centering \...
0
votes
0answers
25 views

Continued Float with Subfigures - Modern Approach?

I am often working with subfigures like \begin{figure}[htbp] \begin{subfigure}[t]{0.48\textwidth} \includegraphics[width=\textwidth]{plots/P0.png} \caption{} \label{fig:P0} \end{...
2
votes
2answers
76 views

Subtitles position and adding math signs between figures

I am working on improving my cartesian product ilustration that looks like this: I would like to have every figure in the same size. I was trying to do this using resizebox, but I still think there ...
2
votes
2answers
34 views

Customize Subfigures

for a report, I need to set subfigures in the following way: enumerate each subfigure with a capital letter (A, B, C, etc) and place it at the left top of the image. Collect captions beneath the ...
0
votes
2answers
104 views

How to put images side by side and on top of eachother

I have 20 diagrams and need to put them side by side to minimise the space they take up. Something like this would be ideal: I have tried something like below to split them into 5 different groups: \...
0
votes
1answer
19 views

how to create subfloat figures (two in first row and one below)

I am importing chapters and caption2.sty How to create subfloat figures or subfigures(two in first row and one below)
1
vote
1answer
24 views

No alignment in minipage figures

I am trying to insert pictures side by side. I used the minipage method after having no luck with the subfigure method. Here's my code, \begin{figure}[h] \centering \begin{...
2
votes
2answers
27 views

Align horizontally 2 figures with minipage (with one figure have a longer caption than the other)

I want to put 2 figures next to each other using minipage command. The caption of one of the image is longer than the other and takes seval lines. This has for consequences to disalign the images ...
0
votes
0answers
14 views

side by side image that doesn't affect IEEE class? table font and bib indexing got messed up

I am creating document for IEEE conference \documentclass[conference]{IEEEtran} \IEEEoverridecommandlockouts Goal: Create side by side image, that doesn't affect other table caption and bibliography ...
0
votes
1answer
46 views

Issue with colorbar with pgfplot in latex

I'm using pgfplots in latex to create a colorbar next to some existing images which uses a custom colormap. The issues I'm facing are: xticklabels are getting inside the colorbar (see image below). ...
0
votes
0answers
23 views

(cont. on next page) in figures

\begin{figure}[h] \centering \begin{subfigure}[b]{0.3\textwidth} \includegraphics[width=\textwidth]{Figures/Chapter I/1.1a.png} \caption{} \label{fig:1.1a} \end{...
1
vote
0answers
35 views

How to align vertically two figures in subcaption environment?

As shown in the following code, I have two subfigures: \documentclass[12pt,twoside]{book} \usepackage[utf8]{inputenc} \usepackage{graphicx} \usepackage{caption} \usepackage{subcaption} \begin{...
1
vote
2answers
25 views

How to set vertical space between two figures in subcaption environment?

I've tried with different commands like: \vspace*{10mm} \vfill but they do not work! This is the main.tex: \documentclass[12pt,twoside]{book} \usepackage[utf8]{inputenc} \usepackage{graphicx} \...
0
votes
1answer
23 views

placing the figures same as the attached in a two column paper format

I'd like to place my figures (png files) same as the attached image (picture2.jpg). would you please help me how to correct my LATEX code to produce that? Thanks in advance \begin{figure*} \...
2
votes
1answer
67 views

Latex 'lstlisting' environments ending with unwanted “:” (colon) symbols — how to get rid of them?

I am using lstlisting environments (code provided by the listings package) in my PhD Thesis; after each instance of this environment, an unexpected and unwanted ":" symbol appears on a line ...
0
votes
1answer
50 views

How can I place multiple figures in multiple rows and columns in IEEEtran format?

I wrote a code to place multiple figures in multiple rows and columns: \usepackage{booktabs} \usepackage{float} \usepackage{multirow} \usepackage{makecell} \usepackage{caption,subcaption} %\...
0
votes
1answer
31 views

tabular figure with subfloat with wrong image location

I have a figure where I want the middle image be completely between the top and bottom borders however, it goes down: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{graphicx} \...
2
votes
3answers
44 views

Subfigures not lining up horizontally

My two subfigures wont line up next to eachother, one is higher than the other. One doesn't need rotating but the other one does. When I rotate them both then they line up correctly but they don't ...
1
vote
2answers
34 views

How to reposition subcaptions in subfig?

This is my code. \begin{figure}[H] \centering \subfloat[$K_4$] {\begin{tikzpicture}[scale=.65] \draw[][draw, thick] (0,0) -- (4,0); \draw[][draw, thick] (0,0) -- (0,4); \draw[][draw, thick] (4,0) -- (...
1
vote
1answer
34 views

Shift of labels in subfig

I have \documentclass[12pt]{article} \usepackage[left=10mm, top=20mm, right=10mm, bottom=20mm]{geometry} \usepackage{graphicx} \usepackage{subfig} \usepackage[font=scriptsize]{caption} \captionsetup{...
2
votes
1answer
39 views

How to get ordinary lowercase subcaption labels with amsart and subfig

I am using the package subfig to insert multiple images in a single figure environment. I have noticed that when using the amsart document class the label of each subcaption is printed in small caps. ...
3
votes
1answer
47 views

Why are my tikz graphs not side-by-side?

With \includegraphics and PNG images I'm able to align graphics side by side. However, when I replace \includegraphics with a tikzpicture, the graphs are not side by side. Instead, they are one on top ...
0
votes
0answers
22 views

Why my table doesn't appear on the page I place it? [duplicate]

I have thw following code in latex but my table appears after the images. In the code the code for table is written before the code for imgaes. How can I make the table appear before the images? Some ...
0
votes
1answer
24 views

more customized subfloat layout with spanned columns or rows

I can have a 2x2 array of figures with the following snippet: \begin{figure*} \centering \subfloat[f1]{% {\includegraphics[width=0.5\textwidth]{./figures/f1.pdf}} ...
0
votes
0answers
36 views

Wrong label indexing in subfigures due to \ContinuedFloat

I'm having problems to create Figures with multiple subfigures. I need to split one Figure into 2 pages, keeping one caption (Figure 1) and multiple subcaptions ((a), (b), (c), etc). I'm using \...
2
votes
1answer
44 views

Tikzpicture not centered when using subfig package

I am writing a document and I am trying to put a tikz picture centered as a subfigure. Altought the seems to have a proper size (I used a fbox to check), the image is not being centered in the midle ...
3
votes
2answers
69 views

How to align three figures in multiple rows an colums using subfigures (two in first column, and one on the side)

I want the following layout for my figures: And this is my code right now: \begin{figure} \begin{subfigure}[t]{0.49\textwidth} \raisebox{-\height}{\includegraphics[width=\textwidth]{...
0
votes
0answers
56 views

Conflict revtex and lineno with subfig

There seems to be conflict between the revtex class and the subfig package in the presence of lineno. Compilation is successful without the linenumbers call. It also works if the subfloats are ...
4
votes
1answer
35 views

How to make sure all subfigures are centered in a 2x3 figure?

I am trying to format my 2x3 figure plot... Because I wanted the figure to be smaller and fit on one page with some text I scalled every subfigure from 0.5 down to 0.35. I suspect this is already not ...
0
votes
2answers
77 views

Split subfigures over two pages without text between them [duplicate]

I would like to split 10 subfigures over two pages (6 at the bottom of one page, 4 at the top of the next page). I am using \ContinuedFloat for that. To set the position of the two blocks, I wrote [!b]...
2
votes
1answer
154 views

subfigure alignment in IEEE double column format

I am trying to align three figures in the IEEE double column format (see below). I have looked for solutions and the closest one I found uses the subfigure package. The IEEE latex template uses the ...
0
votes
1answer
20 views

How to properly create centered multi-lines sub-captions with subfig?

I'm having difficulties with subcaptions, which aren't well centered under their subfigure, and doesn't have proper horizontal andvertical spacings. Here's a MWE code to show the issues: \...
3
votes
2answers
79 views

Problem with subcaption with subfig package

it's my first question so I hope to present the problem correctly. I have a problem with subcaption of subfig package: the subcaption is aligned to the left and isn't as wide as the figure. I tried to ...
1
vote
1answer
36 views

Force placement of figure with subfigures and using a newer package

Could you tell me how can I force a figure with subfigures such as this \centering \begin{subfigure}[b]{0.45\textwidth} \centering \includegraphics[width=\textwidth]{...
1
vote
1answer
27 views

Customized figure references in latex?

Reading a paper where authors have labels (red circles) in a figure and they are able to render the labels in the figure reference in the text as well. Thought this was pretty neat. Can someone reveal ...
0
votes
1answer
39 views

Figure number is missing in cleveref

Figure number is missing in subcaption references, when using cleveref. How can I get a subcaption reference as Fig.1(a), instead of Fig. (a)? \documentclass[12pt]{extarticle} \RequirePackage{...
1
vote
1answer
27 views

How can I arrange my plots using subfloat?

\usepackage{graphicx} \usepackage[]{subfig} \begin{figure}[hbt!] \centering \subfloat[\label{Airline:a}]{\includegraphics[width=0.46\textwidth]{a.eps}} \qquad \subfloat[\label{Airline:b}]{...
0
votes
1answer
2k views

Package caption Warning: Unknown document class (or package), standard defaults will be used. See the caption package documentation for explanation

I have used these packages in my springer format, but I am getting above warning. Although warning can be ignored but, without removal of this warning, I am not unable to upload or build pdf on that ...
1
vote
0answers
36 views

Create a command to reduce code duplication when inserting imgage

so I have to do a pdf with a lot of images and I would like to avoid code duplication, so I'd like to create something like a function which take as input two arguments: Image name Caption text So ...
1
vote
1answer
58 views

Align tikz subfigures correctly while respecting margins

I have a document where I include different subfigures using tikz. The problem is, that the numbers on the y-axis of the subfigures can have different length, which results in subfigures that are not ...
0
votes
0answers
19 views

Script for inserting multiples images

So I have a text table with Two column : Image_name \ Caption I would like to read from this table the value of Image_name and Caption and automatic put them in the code like : \centering \begin{...
0
votes
0answers
43 views

My Code will work on a Desktop but not my Laptop

For whatever reason I keep getting an error when I run this code on my laptop, it says I have an extra { but when I run this exact code on a different machine it works just fine. when I remove the } ...
0
votes
0answers
34 views

Error with subfig “subfloat has an extra }” Please help

this is my code it ran on a different machine at work just fine but when I opened it on my personal computer at home it would not compile. it keeps telling me that there is a additional } but when I ...
5
votes
1answer
254 views

arXiv submissions no longer process after switch to TeX Live 2020

After the switch to TeX Live 2020, arXiv's automated TeX processing fails to process my source and throws a bunch of warnings. The warnings and errors are: From package natbib, all my citations are ...
1
vote
1answer
189 views

Caption error with scrbook in combination with subfig

I've recently updated the packages of my miktex distribution. Now I have a problem with the combination of KOMA script (scrbook) and the subfig package while compiling with LuaHBTeX. The MWE gives me ...
1
vote
1answer
116 views

Why using \ContinuedFloat with a figure restarts figure number?

In a chapter of my thesis, I have 3 figures where the third one consists of many subfigures that must be split over 3 pages. For that, I used \ContinuedFloat and works fine. The problem, however, is ...
1
vote
1answer
106 views

How to remove label and number from cref?

I am trying to reference multiple subfigures in the caption of a figure separated by dash. For example, the caption of the figure should look like: Fig1. this is a figure. (a) first figure. (b) ...