🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.ghostscript.bug
Article #171

How can I put picture in table?

#171
From: Cu Phung
Date: Sat, 01 Aug 1992 00:00
46 lines
1941 bytes
I have a question in puting picture in the table.  I am using the
longtable.sty for a compilation of chemical properties of a list
of molecules.  I would like to put the molecule inside the table
right next to the properties associate to that molecule.  The
molecule is in the picture enviroment.  This is what I tried, but
it does not put the properties next to the molecule.

begin{longtable}[c]{|c|l|}
\caption[Geometry Tables]{Experimental and Optimized Geometries} \\ \hline
\endfirsthead
\caption[]{(continued)} \\ \endhead \hline
 \begin{picture}(50,50)(0,0)
 \put(25,25){\line(1,0){60}} % I am using a simple line to test.
 \end{picture}
 &
 \begin{tabular}{l|r|r|c}
 A & 1.0 & 1.5 & a \\
 B & 2.0 & 2.1 & \\ \hline
 \end{tabular}
\end{longtable}


This will give me a table like this:


         -----------------------------------
        |            |                      |
        | -------    |                      |
        |            |                      |
        |            |  A  | 1.0 | 1.5 |  a |
        |            |  B  | 2.0 | 2.1 |    |
         -----------------------------------

What I would like is this:

         -----------------------------------
        |            |  A  | 1.0 | 1.5 |  a |
        | -------    |  B  | 2.0 | 2.1 |    |
        |            |     |     |     |    |
         -----------------------------------

Any help would be greatly appreciated!

Thanks in advance!

- CGP -
Technical Details
Message-ID: <4206@news.duke.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!acpub.duke.edu!phung

Show Full Headers
Complete Article Headers
Newsgroups: gnu.ghostscript.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!acpub.duke.edu!phung
From: phung@acpub.duke.edu (Cu Phung)
Subject: How can I put picture in table?
Message-ID: <4206@news.duke.edu>
Followup-To: gnu.ghostscript.bug
Keywords: picture, table
Sender: gnulists@ai.mit.edu
Organization: Duke University; Durham, N.C.
Distribution: gnu
Date: Sat, 1 Aug 1992 00:00:01 GMT
Approved: bug-ghostscript@prep.ai.mit.edu
Lines: 47