Questions tagged [subfig]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
3answers
31 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
33 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
33 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
32 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
41 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
21 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
28 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
39 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
51 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]{...
1
vote
0answers
35 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
30 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
48 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
48 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
18 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
66 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 ...
0
votes
1answer
30 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
26 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 ...
1
vote
1answer
30 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
0answers
986 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
35 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
55 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
196 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 ...
2
votes
1answer
123 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
83 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
55 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) ...
0
votes
1answer
46 views

Adding subfigures and subcaptions in baposter

how can we give subcaption to subfigures in baposter. The file baposter.cls is available here baposter.cls. The code is as follows: \documentclass[landscape,a0paper]{baposter} % Adjust the font scale/...
0
votes
0answers
115 views

Difference between \textwidth \columnwidth \linewidth in subfigure environment

I noticed that it seems to make no difference wether I use \textwidth, \columnwidth or \linewidth in my subfigure environment. Is there any? May they come from different packages, but do the same? MWE:...
0
votes
0answers
73 views

Undefined subtype 'subfigure' when using floatrow to create subfigures with subcaptions in VScode latex-workshop

I am try to creat multi rows and columns subfigures each with subcaption. I've run my code in Overleaf, which works fine. However, when I run the same code locally on my windows laptop using VScode ...
0
votes
1answer
37 views

Subfigure isn't working

I'm trying to create a figure with two tikzfigures as subfigures. The problem seems to be in the subcaption style. This is the error that I'm getting: ! LaTeX Error: Command \c@subfigure already ...
0
votes
1answer
50 views

Latex proper ref to sub-figures and proper alignment

I know there are many other questions w.r.t. the topic I m talking about. However, I wasn't able to find the exact solution. My problem is that I want to simply have 6 subfigures (2 rows of 3) and ...
2
votes
2answers
37 views

different number of columns in tcbitemize

I use the following code \documentclass{article} \usepackage[most]{tcolorbox} \usepackage{subfig} %For subcaptions \newcommand{\mysubfig}[3][width=\linewidth]{% \tcbitem\subfloat[#2]{\...
0
votes
1answer
40 views

Tikz Shorten key Error in Subfigure

I'm drawing this figure And specifically, in the red line X1-P I used the key shorten and I need to put in subfigure, as follows \documentclass[11pt,letterpaper]{article} \usepackage[utf8]{inputenc} ...
1
vote
1answer
40 views

Would it be possible to combine 2 tikzpicture into a Figure that dispear horizontally?

I am having 2 figure with separated figure using tikzpicture How can I make it into subfigure below: \begin{figure}[htp!] \begin{subfigure}{0.5\textwidth} \centering %...
0
votes
1answer
16 views

Missing number in subfigure

I used either one, same error. Could not check where is my error. \documentclass[12pt,oneside]{book} \usepackage{graphicx} \usepackage{subfigure} \begin{document} \begin{figure}[h] \centering \...
0
votes
2answers
55 views

Why isn't my 2x2 subfigure working?

I've googled and tried everything, I want 4 pictures to be in a 2x2 shape in a figure. I have used the following code \begin{figure} \centering \begin{subfigure}[b]{0.4\textwidth} \...
0
votes
1answer
339 views

How to prevent figures from appearing at the top of a page?

Why is it that, when I insert my figure with \begin{figure}, it is placed at the beginning of the paper ?
1
vote
1answer
31 views

How to remove captions and labels for sub figures ? How to decrease auto vertical spacing between sub figures?

I am beginner in LaTeX, and I am writing my Ms c thesis. I use TeXstudio for this. I have the following code with a customized mfthesis document class. I have sub figures defined using minipage ...
5
votes
2answers
181 views

How to eliminate brackets from caption for subfigures in latex?

The problem I have is that when I compile the image caption is displayed with brackets "[fig caption]"......................................................................................................
1
vote
1answer
125 views

How to remove extra parenthesis in subfigure label

I am using the following code for subfigures (suggested by overleaf): \usepackage{caption} \usepackage{subcaption} \renewcommand{\thesubfigure}{\normalsize Figure \thefigure. (\alph{subfigure}):} ...
0
votes
0answers
15 views

Separate figure legends when using \ContinuedFloat [duplicate]

I have a figure float with 3 subfigs in lyx which are too large to fit on one page, so am using \ContinuedFloat. The figure now goes over two pages and the figure number is the same for both, as in ...
2
votes
1answer
52 views

What usepackage for Subfigure?

I am using this \begin{figure}[h!] \begin{subfigure}{\textwidth} \centering % include first image \includegraphics[width=1\linewidth]{chapter4/images/...
2
votes
1answer
31 views

Using 6 subfigures in one figure, missing number?

I have the following code: usepackage{subfigure,subcaption,caption} \begin{figure}[H] \centering \begin{subfigure}{0.32\textwidth} \centering \...
3
votes
1answer
68 views

tikzpicture cannot draw in subfigure/subcaption/subfloat

I tried to place two tikzpictures in one figure as two subfigures, but the tikzpicture did not draw properly in subfigure. I have tried package subfig, subfigure, subcaption, they all failed. \...
0
votes
0answers
18 views

Aligning captions of different sized subfigures

I would like to make the captions of these subfigures align without changing the position of the images. Below is my script and the produced images: \begin{figure}[h] \centering \begin{...
3
votes
1answer
49 views

3 Figures in a column in LaTeX document

I am using the following command: \begin{figure}[h!] \begin{subfigure}{.5\textwidth} \centering \includegraphics[width=11cm]{bilder/Mode_1_unfolding.png} \caption{Mode-1 ...