Article View: comp.text
Article #1363LaTeX table caption wrap how ?
From: Mike Whitbeck
Date: Tue, 05 Dec 1989 23:07
Date: Tue, 05 Dec 1989 23:07
46 lines
2229 bytes
2229 bytes
I would like the captions under tables to be limited in
horizontal extent to the width of the table. I think this looks
better than what I get by default. Also I have several small
tables which I would like to squeeze onto one page. A sample
follows:
------------------------------------------------------
\documentstyle{article}
\begin{document}
\begin{table}[p]
% \begin{center}
\begin{tabular}{|c|c|c|}\hline
24 & bladder & Initial \\
hour & pump & value \\
\hline
\hline
.69 & .69 & .66 \\
.7 & .69 & .69 \\
.8 & .69 & .69 \\
.7 & .69 & .69 \\
.7 & .69 & .69 \\
\hline
\hline
\end{tabular}
% \end{center}
\caption{NO3 recovery (mg/l) from run 16327PL\label{XXX}}
\end{table}
\end{document}
------------------------------------------------------
Note that as is the caption is wider than the table-- how can I
get the caption (in a box?) just the width of the table. Table
widths may vary some. This LaTeX file was in fact written with
an awk script extracting raw data from a database file; I would
like to keep the process 'automated' rather than do hand-tuning
if possible.
Thanks in advance.
___________________________________________________________
|Mike Whitbeck | |
|Desert Research Inst. | mikew@wheeler.wrc.unr.edu |
|POB 60220 | |
|RENO, NV 89506 | 702-673-7348 |
|__________________________|______________________________|
Technical Details
Message-ID:
<3251@tahoe.unr.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!brutus.cs.uiuc.edu!apple!tahoe!wheeler!mikewShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!brutus.cs.uiuc.edu!apple!tahoe!wheeler!mikew From: mikew@wheeler.wrcr.unr.edu (Mike Whitbeck) Newsgroups: comp.text Subject: LaTeX table caption wrap how ? Summary: how to wrap captions Keywords: captions tables wrap latex Message-ID: <3251@tahoe.unr.edu> Date: 5 Dec 89 23:07:57 GMT Sender: news@tahoe.unr.edu Reply-To: mikew@wheeler.UUCP (Mike Whitbeck) Distribution: usa Organization: DRI-WRC Reno Lines: 46