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
1answer
23 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
32 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
37 views

Pagebreak in subfloated tabulars using the subfig package

I am trying to create a table in a landscape environmentment containing several subtables which content exceeds one page. Therefore a pagebreak within the table to separate the subtables on multiple ...
1
vote
1answer
23 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
42 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[\...
2
votes
1answer
77 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
16 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
33 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
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
23 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
30 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
44 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
158 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
53 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
51 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
32 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
65 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
24 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
139 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
24 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
97 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
97 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
135 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} \...
5
votes
1answer
117 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
43 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
32 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
49 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
21 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
81 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
63 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
60 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
135 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
36 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 ...
1
vote
1answer
275 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
48 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
168 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
29 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
94 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
158 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
32 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\...
1
vote
2answers
1k 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
58 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
110 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
103 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
60 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
1k 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, ...
28
votes
3answers
6k 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
138 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 ...