Article View: comp.text.tex
Article #635Putting picture in a table
From: Cu Phung
Date: Sat, 01 Aug 1992 00:26
Date: Sat, 01 Aug 1992 00:26
41 lines
1749 bytes
1749 bytes
I have a question on the longtable enviroment. I want to put
pictures in my table. I am making a table of chemical properties
for my thesis. I would like to put the molecule and its properties
next to each other. Here is a trial case.
\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,1){40}}
\end{picture}
&
\begin{tabular}{l|r|r|c}
A & 1.0 & 1.5 & a \\
B & 2.0 & 2.1 & \\
\end{tabular}
\end{longtable}
But, this do not line up the picture with the text.
This is what it produced.
--------------------------------
| | |
| ------- | |
| | |
| | A | 1.0 | 1.5 | a |
| | B | 2.0 | 2.1 | |
--------------------------------
I woulk like to be able to do 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:
<4208@news.duke.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!decwrl!concert!duke!news.duke.edu!acpub.duke.edu!phungShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!decwrl!concert!duke!news.duke.edu!acpub.duke.edu!phung From: phung@acpub.duke.edu (Cu Phung) Newsgroups: comp.text.tex Subject: Putting picture in a table Keywords: tex, picture, longtable, tabular Message-ID: <4208@news.duke.edu> Date: 1 Aug 92 00:26:35 GMT Sender: news@news.duke.edu Followup-To: comp.text.tex Organization: Duke University; Durham, N.C. Lines: 41 Nntp-Posting-Host: raphael.acpub.duke.edu