Article View: comp.text.tex
Article #10990Re: How to do side-by-side figs?
From: Ray Muzic
Date: Wed, 06 Jan 1993 18:19
Date: Wed, 06 Jan 1993 18:19
55 lines
2500 bytes
2500 bytes
Previously I asked:
>Is there a way in LaTeX to put two figures next to each other in a 1 column
>document? I want them to be numbered as 1 and 2 and not as 1a and 1b so I
>believe Cochran's subfigure.sty is not applicable.
>Here's the excerpt from my document:
>\documentstyle[citesort,fancyheadings,ps,subfigure,doublespace,times,psgreek,11pt]{article}
>\noindent \begin{figure}[tb]
> \begin{center}
> \makebox[3.25in][l]{\postscript{3.25in}{AllSpec}} \\
> \end{center}
> \caption{Figure caption goes here. \label{fig:sspe}}
>\end{figure}
>\noindent \begin{figure}[tb]
> \begin{center}
> \makebox[3.25in][l]{\postscript{3.25in}{Cspec}} \\
> \end{center}
> \caption{Figure caption goes here. \label{fig:cspec}}
>\end{figure}
I now have 2 solutions:
1) Use subfigure.sty with a modified definition of subfigure. This
was pointed out to me and is well documented by the Steve Cochran
(author of subfigure.sty) in his V1.6 (prerelease).
2) Do something like:
\noindent \begin{figure}[tb]
\begin{center}
\begin{tabular}{cc}
\makebox[3.25in][l]{\postscript{3.25in}{Allspec}} &
\makebox[3.25in][l]{\postscript{3.25in}{Cspec}} \\
Figure \protect\ref{fig:allspec} & Figure \protect\ref{fig:cspec}\\
\end{tabular}
\end{center}
\caption{Left figure caption goes here. \label{fig:allspec}}
\caption{Right figure caption goes here. \label{fig:cspec}}
\end{figure}
The difference in the methods lies in the location of the figure caption.
In 1, the figure caption has a width equal to the subfigure. In 2,
the captions appear below one another, at the full width of the text.
Thanks for the input.
Ray
--
* Ray Muzic, Jr., Ph.D. | "I try not to think, it slows the progress." - rfm2 *
* muzic@ds2.uh.cwru.edu | Biomedical Engr, CWRU & Image Analysis Ctr, UH __o *
* Voice: (216)-844-3543 | Div Nuclear Radiology, Univ Hosp of Cleveland -\<, *
* Fax: (216)-844-3106 | 2074 Abington Rd, Cleveland, OH, 44106, USA....O/ O *
Technical Details
Message-ID:
<muzic.726344364@ds2.uh.cwru.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!darwin.sura.net!gatech!usenet.ins.cwru.edu!ds2.uh.cwru.edu!muzicReferences:
<muzic.726160300@ds2.uh.cwru.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!darwin.sura.net!gatech!usenet.ins.cwru.edu!ds2.uh.cwru.edu!muzic From: muzic@ds2.uh.cwru.edu (Ray Muzic) Newsgroups: comp.text.tex Subject: Re: How to do side-by-side figs? Date: 6 Jan 93 18:19:24 GMT Organization: Case Western Reserve University, Cleveland, Ohio (USA) Lines: 55 Message-ID: <muzic.726344364@ds2.uh.cwru.edu> References: <muzic.726160300@ds2.uh.cwru.edu> NNTP-Posting-Host: ds2.uh.cwru.edu