Discussion:
Subfigures aligned side by side
(too old to reply)
Kutty Banerjee
2004-04-02 18:52:13 UTC
Permalink
Hi,
I m using the following in a two-column format:

\begin{figure*}[thbp]

\subfigure[subfig caption one]
{
\includegraphics[scale=0.2]{file1.eps}
}

\subfigure[subfig caption two]
{
\includegraphics[scale=0.2]{file2.eps}
}

\end{figure*}

This is producing subfigures one below the other. What i m trying to produce
is sub-figures one beside the other .

thanks

Kutty S Banerjee
Lars Madsen
2004-04-03 05:11:45 UTC
Permalink
Post by Kutty Banerjee
Hi,
\begin{figure*}[thbp]
\subfigure[subfig caption one]
{
\includegraphics[scale=0.2]{file1.eps}
}
\subfigure[subfig caption two]
{
\includegraphics[scale=0.2]{file2.eps}
}
\end{figure*}
This is producing subfigures one below the other. What i m trying to produce
is sub-figures one beside the other .
thanks
Kutty S Banerjee
http://www.ctan.org/tex-archive/info/epslatex.pdf>
--
/daleif (remove RTFSIGNATURE from email)
Kutty Banerjee
2004-04-02 20:28:50 UTC
Permalink
Post by Lars Madsen
Post by Kutty Banerjee
Hi,
\begin{figure*}[thbp]
\subfigure[subfig caption one]
{
\includegraphics[scale=0.2]{file1.eps}
}
\subfigure[subfig caption two]
{
\includegraphics[scale=0.2]{file2.eps}
}
\end{figure*}
This is producing subfigures one below the other. What i m trying to produce
is sub-figures one beside the other .
thanks
Kutty S Banerjee
http://www.ctan.org/tex-archive/info/epslatex.pdf>
--
/daleif (remove RTFSIGNATURE from email)
Hi,
if you will see the text i typed in at the top, its exactly what is given in
the documentation at epslatex.pdf. But somehow the subfigures are appearing
one below the other.
Note that the sizes of the subfigures are very small and it cant be that
latex cannot align them side by side.

kutty
Morten Høgholm
2004-04-02 20:37:52 UTC
Permalink
Post by Kutty Banerjee
Hi,
if you will see the text i typed in at the top, its exactly what is given in
the documentation at epslatex.pdf. But somehow the subfigures are appearing
one below the other.
Note that the sizes of the subfigures are very small and it cant be that
latex cannot align them side by side.
What _I_ saw was a blank line between the subfigures causing a new
paragraph to be built inside the figure.
--
Morten Høgholm
I haven't got a smelly address.
UK-TUG FAQ: <URL:http://www.tex.ac.uk/cgi-bin/texfaq2html>
Kutty Banerjee
2004-04-02 20:48:25 UTC
Permalink
Post by Morten Høgholm
Post by Kutty Banerjee
Hi,
if you will see the text i typed in at the top, its exactly what is given in
the documentation at epslatex.pdf. But somehow the subfigures are appearing
one below the other.
Note that the sizes of the subfigures are very small and it cant be that
latex cannot align them side by side.
What _I_ saw was a blank line between the subfigures causing a new
paragraph to be built inside the figure.
--
Morten Høgholm
I haven't got a smelly address.
UK-TUG FAQ: <URL:http://www.tex.ac.uk/cgi-bin/texfaq2html>
Hi,
brilliant!! thanks it solved the problem. thanks a lot.

kutty s banerjee
Brent Lievers
2004-04-02 20:15:31 UTC
Permalink
Post by Kutty Banerjee
This is producing subfigures one below the other. What i m trying to
produce is sub-figures one beside the other .
Try the following:

\documentclass[letterpaper,twocolumn,12pt]{article}
\usepackage{graphicx,subfigure}

\begin{document}

\begin{figure*}
\centering
\subfigure[caption one]{%
\includegraphics[width=0.49\linewidth]{foo}}
\subfigure[caption two]{%
\includegraphics[width=0.49\linewidth]{foo}}
\end{figure*}

\end{document}

HTH,

Brent
Bil Kleb
2004-04-03 11:28:39 UTC
Permalink
What i m trying to produce is sub-figures one beside the other .
\usepackage{subfigmat}

Regards,
--
Bil Kleb, Hampton, Virginia
Loading...