Questions tagged [subfig]

{subfig} package concerns of figures broken into subfigures.

The package provides support for the manipulation and reference of small or ‘sub’ figures and tables within a single figure or table environment. It is convenient to use this package when your subfigures are to be separately captioned, referenced, or are to be included in the List-of-Figures. A new \subfigure command is introduced which can be used inside a figure environment for each subfigure. An optional first argument is used as the caption for that subfigure.

This package supersedes the subfigure package (which is no longer maintained). The name was changed since the package is not completely backward compatible with the older package The major advantage of the new package is that the user interface is keyword/value driven and easier to use. To ease the transition from the subfigure package, the distribution includes a configuration file (subfig.cfg) which nearly emulates the subfigure package.

The functionality of the package is provided by the (more recent still) subcaption package.

Documentation at: https://www.ctan.org/pkg/subfig.

235 questions
4
votes
1 answer

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 best practise. But now I don't manage to have the…
3
votes
1 answer

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 unfolding of $\ten{A}$} …
2
votes
1 answer

\subfigure doesn't generate space between words

could anyone tell me why the subfigure can't generate space between the words, they are all linked together? \begin{figure}[htb!] \centering \subfigure[\label{fig:beamFRFdr(a)}$Original stiffness distribtution$] …
CuteQi
  • 23
2
votes
2 answers

How can I place two sub figures under each other vertically?

since I already saw that this question has already been asked here, I tried the suggested solutions but the problem still exists. I have two sub figures that are wide and I would like to place them under each other. Here is my…
ramles
  • 83
2
votes
1 answer

What usepackage for Subfigure?

I am using this \begin{figure}[h!] \begin{subfigure}{\textwidth} \centering % include first image \includegraphics[width=1\linewidth]{chapter4/images/smoothingfruit1.eps} \caption{A full range…
aan
  • 2,663
2
votes
1 answer

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 \includegraphics[height=1.2in]{Canada.png} …
Brennan
  • 199
2
votes
1 answer

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{subfigure}[b]{scale=0.1} …
2
votes
1 answer

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 spieman? Sample code is pasted below and…
sckulkarni
  • 325
  • 1
  • 5
  • 12
1
vote
1 answer

Placing images into different columns

I have the following requirement where there are some plots which will be stacked in two columns as shown in the figure. And in addition there is a color bar which will be placed on the right side vertically. Could you help me achieve that in latex…
Rakesh
  • 47
1
vote
1 answer

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 center-aligned. I tried the…
Dario
  • 1,340
1
vote
1 answer

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 lines 16--17 The margin is indeed violated: Does…
user162621
1
vote
1 answer

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, Version 3.14159265-2.6-1.40.19 (MiKTeX…
0
votes
1 answer

Subfigures are not aligned well

Below I have 4 subfigures, but I have a problem if the third subfigure text exceeded one line, the 4th figure will shift down a little bit as you see below. Not sure how to fix this…
Avv
  • 157
0
votes
0 answers

show picture with special character name

how i can show picture in latex but with special character file name \begin{figure}[!htb] \centering …
Eline
  • 1
0
votes
0 answers

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 } on the specified line it says I forgot to add a…
1
2