Questions tagged [subfig]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
25 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
30 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
49 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
17 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
38 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
1answer
31 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 ...
4
votes
1answer
96 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
95 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
36 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
26 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
19 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
23 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
27 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
32 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
26 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
27 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
35 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
37 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
50 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
96 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
26 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
89 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
58 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
14 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
49 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
30 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
63 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 ...
2
votes
2answers
57 views

How can place 7 images across 2 rows in a 'figure'?

Here is my code: \documentclass{article} \usepackage{graphicx} \usepackage{subfig} \begin{document} \begin{figure}[htbp] \subfloat[Distribution of herring in 2018]{ \begin{minipage}[c][1\...
1
vote
1answer
62 views

Subfigure with diagram's arrows

I need to implement some diagrams arrows, like the ones used with the tikz package in a subfigure template (I used subfigure because subfloats give me problems). So the subfigure template is like the ...
1
vote
2answers
49 views

Insert two figures along one other figure

I have 3 figures that I want to insert them as one figure in my document. I want to order them as the following I use the following code \documentclass[a4paper,fleqn,10pt,oneside]{book} \usepackage{...
0
votes
1answer
47 views

Multiple errors with pgfplots inside a subfig environment

I am trying to put two figures side by side using the subfig package (I´ve done this in the past, even with tikzpictures) but I am facing a problem. Whenever I try to compile my document I get ...
1
vote
1answer
292 views

Latex generate error in IEEE ACCESS template in Figure, Algorithm, and Table

\documentclass{ieeeaccess} \usepackage{cite} \usepackage{amsmath,amssymb,amsfonts} \usepackage{algorithmic} \usepackage{graphicx} \usepackage{textcomp} \begin{document} \begin{table}[h!] \centering ...
1
vote
1answer
39 views

How to adjust spacing between words in caption of sub-figures?

I used subfig package to position multiple images within a figure. As you can see the captions are weirdly spaced. How can I fix the spacing of the captions? The code I used is the following: \begin{...
2
votes
1answer
222 views

Subfigures With Captions for IEEE Conf

I am creating a latex project with the document class ieeeconf: \documentclass[letterpaper, 10 pt, conference]{ieeeconf} I need to include some a figure with some subfigures, similar to what is ...
2
votes
2answers
603 views

How to split subfigures over multiple pages (with a, b, c in one page, and d, e in second pages?

I am following this question in Split subfigures over multiple pages It works well. However, when I want to add in one more subfigure as (c) in first page, it not working well. \documentclass{...
1
vote
0answers
44 views

LaTeX: problem with table captions when using the subfig pagkage [duplicate]

I run Arch Linux with texlive version 2019.52579-1. When I compile the LaTeX (Beamer) code below the table caption is "Figure: A simple table." That is, it includes "Figure:" instead of "Table:". The ...
0
votes
0answers
44 views

Link text and figures including subplots

I have a figure with many subplots created and labeled in Matlab. In the text of the tex file, I need to refer to each subplot separately e.g. 1a) 1b)..., nevertheless I can obviously link only the ...
0
votes
2answers
180 views

Compilation error: Argument of \sf@@@subfloat has an extra }. Besite it works well

I would like to fix errors of compilation, but I do konw how. I would like to could still using labels. I added code like this: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{...
3
votes
1answer
99 views

(Solved, New) Parenthesis while using subfig and autoref

MWE first. \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{hyperref} \usepackage[subrefformat=simple,labelformat=simple]{subfig} %\newcommand{\subfigureautorefname}{\...
1
vote
1answer
111 views

caption-justification in subtable (subfig package)

I am using the \begin{table} \subtable[] \subtable[] \end{table} on two related tables, that are tiled horizontally(one above the other). The problem is that I wish the (sub) captions (a) and (b) to ...
2
votes
1answer
602 views

Revtex 4.2 caption error

\documentclass[amssymb,aps,twocolumn,pra,nobibnotes,secnumarabic,prc]{revtex4-2} \usepackage{tabularx} \usepackage[labelformat=simple,caption=false]{subcaption} \renewcommand\thesubfigure{(\alph{...
0
votes
1answer
59 views

How to change subfloat caption label name?

The \autoref command is not giving me a "Figure" label name for subfigures made inside subfloats. There are answers how to control the label numbering but the label name I was not lucky to find an ...
1
vote
1answer
50 views

How to minimize spacing b/w subfigure and label less than 1cm? [duplicate]

I want to reduce spacing b/w labels and figures. But after the label to be very close to subfigues but with the following setting I can't reduce it less than 1cm. \documentclass[aps,twocolumn,amsmath,...
1
vote
2answers
127 views

The document Class ''els-cas'' cannot not print subfigure

\documentclass[a4paper,fleqn]{cas-sc} \usepackage{booktabs,siunitx} \usepackage{subfigure} \usepackage{graphicx} \begin{figure}%[!htb] %\minipage{0.32\textwidth} \begin{subfigure}%[b]%{1\textwidth} ...
1
vote
1answer
55 views

What is tabularx doing with subfig in this example?

This is a simplified version of an environment that I use to hide a figure, showing only the caption. One of the challenges was that I wanted to not only ignore \includegraphics, but ignore the whole ...
0
votes
1answer
508 views

Undefined control Sequence <argument> \@@magyar@captionfix [duplicate]

When I try to compile the following code in TexMaker I get the following error Undefined control Sequence @@magyar@captionfix. Does anyone know what is the solution to that? \documentclass{...
1
vote
1answer
32 views

Subfig subfloats don't align horizontally

for some reason I can't get these two tikzpictures to align next to each other using subfig. They always end up below each other. The width of the tikzpictures doesn't seem to be the issue. If ...