Questions tagged [subfig]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
15 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{...
2
votes
1answer
33 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
45 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
53 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
42 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
38 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
36 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
0answers
18 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
42 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
65 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
37 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
32 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
86 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
52 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
47 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
139 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
24 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
34 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
56 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
48 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
237 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
20 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 ...
0
votes
0answers
24 views

Subfigure Texmaker error

I have been using the subfigure package and all has been well despite reported depreciation problems. Recently however, while using my Texmaker IDE as usual, Latex reported an error that seems ...
1
vote
1answer
126 views

Place 4 figures side by side in 2-column latex document

I am trying to put four figures side by side in a two column latex document to do so I am using this code. But it's not working. Where am I doing wrong? \begin{figure} \centering \begin{...
1
vote
1answer
22 views

References to subfigures which appear more than once in the document not in right order

I have two figures A and B consisting of subfigures. Some subfigures appear in both of these figures. When I try to refer to the subfigures, the references appear in wrong order. For example: \begin{...
0
votes
1answer
44 views

How to force 3 figures into 1 row

I have 3 figures that at the moment are placed in two rows. How can I force them into a single row? I have tried changing the width of the figures, but that did not make a difference. \documentclass[...
1
vote
1answer
35 views

Big picture with several smaller ones on the side with subfigure/subfig

I want a solution the problem discussed here, but using subfigure (or subfig) instead of subcaption. The question by @Makers_F was: I'm trying to achieve an effect like: _____ ___ ___ | | ...
1
vote
1answer
30 views

subfig package not referencing sub fig labels correctly

I am using the subfig package to display two plots using the code below: \begin{figure}[!ht] \subfloat[Singular Terms\label{secondring:subfig-1}]{% \includegraphics[width=0.4\textwidth] {...
1
vote
1answer
49 views

figure* environment of multicolumn documents, full width without margin

Which width, instead of \textwidth (as suggested here), can I use here to avoid getting an "Overfull \hbox" warning? I expect it's the page width minus margins. \documentclass[twocolumn, draft]{...
2
votes
1answer
50 views

Caption alignment, subfig and Babel

After many years of getting great answers here it is time to post my own question. I'm writing my thesis and as I need to write the abstract also in Hebrew I'm using the babel package. In the body of ...
0
votes
2answers
69 views

Pagebreak in subfloated tabulars using the subfig package

I am trying to create a table in a landscape environment containing several subtables which content exceeds one page. Therefore a pagebreak within the table to separate the subtables on multiple pages ...
1
vote
1answer
37 views

Placing 2x3 subfigures side-by-side in pgfplots

I need to place 3x2 subfigures side-by-side, but have not been able to come up with a solutions. The thing is, I've done this where I needed 2x1 figures side-by-side, that is, two figures side-by-side....
0
votes
1answer
59 views

How to display three figures in the same line?

I try to display three figures in the same line: \begin{figure*}[ht!] \subfloat[\label{fig:PKR}]{% \includegraphics[ width=0.31\textwidth]{./images/fig1.png}} \hspace{\fill} \subfloat[\...
3
votes
1answer
109 views

A new and better aesthetic look for figures and captions with vertical braces

Starting for the question Center a rounded square into a green line with the excellent @marmot's answer, using your MWE, \documentclass[12pt]{book} \usepackage{newtxtext} %%\usepackage{classico}%%%%%...
1
vote
0answers
18 views

Grid alignment of 4 images [duplicate]

I wanted to align the four images in a grid of 2x2, but the images are getting arranged vertically. I'm working on a template of IEEE format. This is the code that I'm working on: \begin{figure}[!tbp]...
2
votes
2answers
55 views

Center subfigures of different heights

I'm trying to center two subfigures that have different heights, but I can't seem to be able to allign them. The original code is like this, and the subfigures are aligned at the bottom \begin{...
1
vote
0answers
20 views

Adding space to subreference

Consider this example: \documentclass{report} \usepackage{subfig} \begin{document} See Figure~\subref*{sf1} for more information. \begin{figure} \centering \subfloat[Subfig 1]{\label{sf1} Contents of ...
0
votes
1answer
28 views

How to center text in figure with subfigs

Say that I have this code: \documentclass[12pt,a4paper]{article} \usepackage{graphicx} \usepackage{subfig} \begin{document} \begin{figure} \textbf{Text I want centered} \\ \subfloat[Image]{\label{}\...
1
vote
1answer
40 views

Subfigures within minipage

I have 5 figures, which I want to display in one page, after dividing it in three minipages. Idellay I have 2 subfigures in the first minipage, 2 in the second one, and only one in the third minipage ...
0
votes
1answer
59 views

Putting two figures side by side shifts them on to a new page? [duplicate]

In two-column paper I want to place two figures side by side. If I use figure* it shifts them to a new page. If I use minipage option again figures don't obtain correct position. Can I fix this ...
0
votes
2answers
600 views

“\c@subfigure already defined” when using subfig and subcaption

The following is my thesis preamble: \documentclass[12pt,english]{article} \usepackage{subfig} \usepackage{graphicx} % for graphics \usepackage{subfigmat} %\usepackage[draft]{graphicx} % temporarily ...
1
vote
2answers
201 views

Compatibility of subfigure with subfig package

Suppose, I have the grouping of images as specified below. My problem is that I want to include this kind of image grouping in an environment that uses the subfig package and that subcaption and ...
2
votes
2answers
183 views

Trying to use sub-figures in a column on a tikzposter

I'm trying to use sub-figures in a figure, within a block, that's in a column, on a tikzposter and instead of placing the figure and caption within the block they appear outside of it, in the middle ...
1
vote
1answer
83 views

ICCV subfigures/subcaptions not recomended?

I want to submit a paper to this years ICCV conference. However, when I am using their Latex template and try to use a subfigure with a subcaption \usepackage{caption} \usepackage{subcaption} I am ...
1
vote
1answer
329 views

Subfloat Caption left aligned

I would like to create a figure with a left-aligned subfloat caption as the following: \documentclass{llncs} \usepackage{todonotes} \usepackage{floatflt} \usepackage{graphicx} \usepackage{subfig} \...
0
votes
0answers
28 views

Subcaptions positioning next to image

I'm trying to get the captions of two subfigures to be on the side of the figures instead of below them, to be able to save some space and get them closer to each other. Any help is highly appreciated!...
5
votes
3answers
211 views

Placing subfig vertically

There is a beautiful post where it is explained more or less what I would like to do. Actually, I am not using subfigure, but \usepackage{subfig}. Therefore, I've tried to implement the example with ...
1
vote
1answer
38 views

Change subfloat spacing

I tried to remove the spacing around [H] figures by setting \intextsep to 0pt, but this sadly doesn't change the spacing around subfloats. Is there a way to do this (other than manually adding a ...
3
votes
1answer
293 views

figref with subfigure and parentheses

I use IEEEtran with subfigure and \figref. \begin{figure} \centering \subfloat[Foo.\label{fig:test-foo}]{\includegraphics[width=0.4\textwidth]{foo}} \\ \subfloat[Bar.\label{fig:...
1
vote
3answers
249 views

Subfloat: How to align subcaption of image to same elevation as other subcaption?

Assumed we have two images with different heights. Both images are aligned to the top via valign=t. Minimum working example (MWE): \documentclass{article} \usepackage{subfig} \usepackage[export]{...