Stack Exchange Network

Stack Exchange network consists of 175 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 [subfig]

The tag has no usage guidance.

1
vote
0answers
16 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
21 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
27 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
41 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
85 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
30 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 ...
3
votes
2answers
33 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
27 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
41 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
22 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
122 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
19 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 ...
2
votes
1answer
68 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
66 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]{...
1
vote
1answer
83 views

Subfloat: How to align two images with different width to same height?

Assumed we have two images with different widths. Now we want to align them next to each other, but with same height. Minimum working example (MWE): \documentclass{article} \usepackage{graphicx} \...
6
votes
1answer
114 views

Subcaptions in subfigures

So i need to put some subcaption in my figure. But till now I haven't figured how. \documentclass[12pt, openany]{report} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[french]{...
0
votes
0answers
41 views

How to put figures in continuous manner

I have a double column tex file, I wanted to put to figures in continuous figures. But I am getting gaps. How to fill these gaps with my figure. If it won't fit, try to put in another page. but should ...
1
vote
1answer
28 views

How to plot subfigures in a specific order (two columns)?

I'm using the following class and package: \documentclass[journal]{IEEEtran} \usepackage[caption=off]{subfig} I'd like to know how to create the subfigure in the caption order as shown in the image ...
1
vote
3answers
48 views

spacing when using subfloat

Consider this example: \documentclass{report} \usepackage{subfig} \usepackage{graphicx} \usepackage{lipsum} \begin{document} \begin{figure}[htp] \centering \def\twidth{0.45} \subfloat[{\lipsum[...
0
votes
0answers
18 views

lipsum as a caption for subfloat [duplicate]

Consider this script: \documentclass{report} \usepackage{subfig} \usepackage{graphicx} \usepackage{lipsum} \begin{document} \begin{figure}[htp] \subfloat[\lipsum[1]]{ \includegraphics{example-...
2
votes
1answer
54 views

Using deprecated subfigure package and succeeding subfig package in parallel

I have a lot of figures in my document and unfortunately used the deprecated subfigure package. Now, I don't want to change all figures to the better subfig package, but instead, want to use it for ...
0
votes
0answers
46 views

Caption of subfigure is not centering

I am transferring my data on IEEE access latex format. It is a two-column format and I have to put 6 subfigures (two in a row). For importing these sub-figures, I made a page in a single column by ...
0
votes
0answers
53 views

how to insert subfigures

I want to insert subfigures. I'm using this code \documentclass[twocolumn]{mnl-author} \usepackage{epstopdf} \usepackage{hyperref} \usepackage{graphicx} \usepackage{caption} \usepackage{subfigure} \...
2
votes
1answer
75 views

How to use subfig package in articleclass: spieman?

I am using class article spieman to prepare my document. However, I am not able to use subfig package. Can anybody guide me about splitting a figure window into the multiple figures in articleclass ...
0
votes
2answers
34 views

Why subfig renders wrong caption numbering with custom macro?

Subfigures display the wrong caption number when wrapping them in a custom macro. The funny thing is, without the macro, but with technically the same commands, the caption numbers are correct. With ...
0
votes
1answer
123 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 ...
1
vote
2answers
92 views

Only shows 4 images from 6!

Hello I have 6 images and output has only 4 images. Here is the codes: I tried to fix to problem via \clearpage comment to separate the first three. What happened to my other 2 images? Thank you!! % ...
0
votes
1answer
45 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
0answers
141 views

How to get justified subcaptions with \subfloat in revtex

I know that the documentclass revtex4-1 is incompatible with the caption (and subcaption) package and thus when using the subfig package I need to add the option [caption=false] as elaborated by ...
1
vote
1answer
28 views

Why I cannot align sub-figures and sub-captions in center?

I have two sub-figures and sub-captions, which are above each other. I cannot align them in the center, and I cannot increase the space between them. \usepackage{graphicx} \usepackage{subcaption} \...
0
votes
1answer
80 views

\usepackage{subfig} giving captionlablelfont errors

While using \usepackage[caption=false]{subfig} I get an error like in the image below And the chapter 6 where figure is included has the following code. \begin{figure}[h!] \centering ...
0
votes
1answer
155 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 ...
1
vote
2answers
28 views

keep subfigures inside the page

I insert subfigures using the \subfig package: \documentclass{article} \usepackage{graphicx} \usepackage{subfig} \begin{document} \begin{figure} \subfloat[]{ \includegraphics[width=0.5\...
0
votes
0answers
108 views

Global caption in figure with subfigure cause error

I am having problem with the global caption in figure environment with sub figures. It compiles when I do not have the global caption, but with the global caption I get Extra }, or forgotten \endgroup ...
1
vote
2answers
682 views

Problem with label and references and subfig/subcaption

Dear stackexchange users, I want to use subfigures in my document but the solution I got so far scrambles my ability to use labels and references in my documents. \documentclass{scrartcl} \...
0
votes
0answers
50 views

Subfigures always are vertical aligned [duplicate]

Following is my code. I have tried minipage and subfigure. I don't know why. 3 Pictures are always vertically aligning. I want to be horizontally aligned with 2 column width. \usepackage{times} \...
1
vote
0answers
92 views

subfloat (package subfig) - TeX capacity exceeded

I try to insert a subfigure in a template from my university. But I get follwing error message: "TeX capacity exceeded, sorry [input stack size=5000]. \@nomath ...e \@font@warning {Command \noexpand #...
1
vote
1answer
81 views

Overfull hbox subref (subfig package)

When using \subref from the subfig package I occasionally encounter an overfull hbox. A MWE is provided below and gives me the following warning: Overfull \hbox (7.1673pt too wide) in paragraph at ...
1
vote
1answer
55 views

Arrange landscape and portrait image in a subfigure using latex

I try to show a horizontally and a vertically picture in two subfigures beneath each other. How can I display both beneath each other without distorting one of them completely. I am completely fine if ...
0
votes
1answer
979 views

subfig.sty missing in MikTEX?

I installed MikTeX miktex-2.9.6650-1-darwin-x86_64.dmg on macOS. The subfig.sty seems to be missing, see error message below. Never had problems before. Is subfig.sty really missing? This is pdfTeX, ...
27
votes
3answers
5k views

TeXLive Pretest 2018: beamer and subfig collide

\documentclass{beamer} \usepackage{subfig} \begin{document} test \end{document} returns undefined control sequence \@@magyar@captionfix (It was not so in January; I am on fully updated pretest)
3
votes
1answer
40 views

Could a caption takes place of a subfig?

As shown above, how to make the caption takes place of the top-right subfig? Is this possible? Then, can the refering of this caption works?
0
votes
0answers
116 views

Error when trying to use subfig package instead of subfigure

I am writing a report. I was using subfigure package along with tocloft. Members at Tex Stack Exchange have suggested to use subfig package since its newer. When I tried to use it, I am getting ...
1
vote
2answers
132 views

Input subfigure .tex

I'd like to input four subfigures (2 x 2) using the figure extension .tex. In my MWE I could not put the figures as subfigures. MWE: R Input tikz('test.tex', width = 3.543312, height = 3.543312) ...
3
votes
2answers
88 views

Anchors in hyperref with algorithm2e and subfig

I am using hyperref to typeset a book containing many different research articles. Each article has its own set of theorems, definitions etc. and with every \maketitle the corresponding counters are ...
1
vote
1answer
529 views

I want to use subfigure in a multicol environment

I want to add subfigures to get a 3 wide image as in the below image. When I attempt to use subfigure, it comes up with the error "Package multicol Warning: Floats and marginpars not allowed inside `...
0
votes
1answer
315 views

Unexpectedly receiving 'float too large for page' error while using a figure that is smaller than the page

I am getting the following error while using figure and subfigure to create a 2 x 1 environment for my figures (i.e. one figure on top and two figures on the bottom) in an unexpected situation. The ...
2
votes
1answer
64 views

How can I get multiple sub-references to appear as a range in the caption and preserving other sub-references?

I have 2 plots which in turn have 4 plots each, which I label as shown in the MWE. The code is modified (link) such that the caption of the figure reads: Figure 1: (a)-(d) XYZ and (e)-(h) PQR But ...
0
votes
2answers
395 views

How to adjust subfigure caption width?

I'm trying to put subfigures side by side. I used the following code. \begin{figure} \begin{centering} \begin{minipage}[b][1\totalheight][t]{0.45\columnwidth}% \subfigure[subfig a]{\label{fig:sa}} \...
0
votes
1answer
82 views

Aligning subfig captions vertically

I am using IEEETrans and the recommended subfig package. I have tikz graphics in subfigures, and I really want them to be aligned by their top bounding box (so that the nodes align). The problem is, ...