🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.tex
Article #178

Re: Setting a table-- help appreciated

#178
From: Michael Dewey
Date: Tue, 21 Mar 2000 00:00
41 lines
2003 bytes
DIAMOND Mark wrote:
> 
> I have having some trouble setting a table.
> 

=== what he wants snipped ======

> I have tried the ...
> 
> \begin{table}[h]
>   \center{
>   \begin{tabular}{|lp{2cm}|cp{2cm}|cp{2cm}|cp{2cm}|} \hline
>      & \multicolumn{3}{c}{\emph{CIE co{\"o}rdinates}} \\
>     \emph{Observer} & $x$   & $y$ & $z$ \\ \hline
>     JAM & $0.452$ & $0.486$ & $0.062$ \\
>     MCM & $0.450$ & $0.491$ & $0.059$ \\
>     JR  & $0.426$ & $0.506$ & $0.068$ \\ \hline
>   \end{tabular}
>   }
>   \caption{CIE co{\"o}rdinates for all observers.}
>   \label{tab1}
> \end{table}
> 
> but as you will see, it does not work.

Well it does, but it does not do what you want. Did you
realise that your tabular{...} specifies eight columns of
which your actual tabular uses only the first four? 

Incidentally They do not like you using [h] after table.
If you really want it here you do not need to use table at all
as you can get the captioning with another package (like ccaption
or caption2 I think)


-- 
Michael Dewey
Trent Institute for Health Services Research

mailto:Michael.Dewey@nottingham.ac.uk
http://www.nottingham.ac.uk/~mhzmd/home.html
Technical Details
Message-ID: <38D77783.7CCF@nottingham.ac.uk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <8b6pkr$n1j$1@enyo.uwa.edu.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f9e16,327c82b24711b3e6
X-Google-Attributes: gidf9e16,public
X-Google-Thread: 10b0c4,327c82b24711b3e6
X-Google-Attributes: gid10b0c4,public
From: Michael Dewey <michael.dewey@nottingham.ac.uk>
Subject: Re: Setting a table-- help appreciated
Date: 2000/03/21
Message-ID: <38D77783.7CCF@nottingham.ac.uk>
X-Deja-AN: 600386306
Content-Transfer-Encoding: 7bit
References: <8b6pkr$n1j$1@enyo.uwa.edu.au>
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: usenet@news.nottingham.ac.uk
X-Trace: oyez.ccc.nottingham.ac.uk 953644923 5160 128.243.175.253 (21 Mar 2000 13:22:03 GMT)
Organization: ACS, The University of Nottingham
Mime-Version: 1.0
NNTP-Posting-Date: 21 Mar 2000 13:22:03 GMT
Newsgroups: aus.computers.tex,comp.text.tex