Article View: aus.computers.tex
Article #177Setting a table-- help appreciated
From: DIAMOND Mark
Date: Tue, 21 Mar 2000 00:00
Date: Tue, 21 Mar 2000 00:00
47 lines
1954 bytes
1954 bytes
I have having some trouble setting a table.
I would like it to look something like this (sorry,
you will need a monospaced font to see
it correctly ...). It could have vertical lines completing
the boxes on the ends, and indeed that is what I tried to
do ... but my attempt, below, fails. Could someone point
me in the correct direction please? I would very much
appreciate the help.
-----------------------------------------
CIE coordinates
--------------------------
Observer x y z
-----------------------------------------
ABC 0.0 0.1 0.9
DEF 0.3 0.3 0.3
-----------------------------------------
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.
Cheers,
--
Mark R Diamond
Vision Research Laboratory
The University of Western Australia
no spam email: markd at psy dot uwa dot edu dot au
http://www.psy.uwa.edu.au/user/markd/index.htm
Technical Details
Message-ID:
<8b6pkr$n1j$1@enyo.uwa.edu.au>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow 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: "DIAMOND Mark" <noname@noname.com> Subject: Setting a table-- help appreciated Date: 2000/03/21 Message-ID: <8b6pkr$n1j$1@enyo.uwa.edu.au> X-Deja-AN: 600228707 Organization: The University of Western Australia X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Newsgroups: aus.computers.tex,comp.text.tex