Article View: comp.text.tex
Article #355Re: Table query
From: Bernd Raichle
Date: Thu, 23 Jul 1992 08:29
Date: Thu, 23 Jul 1992 08:29
33 lines
1713 bytes
1713 bytes
In article <1992Jul17.002313.15003@marlin.jcu.edu.au> cpsrk@marlin.jcu.edu.au (Stuart Kemp) writes:
SK> Using tables in plain TeX, how can you get an entry in a column to span
SK> multiple rows, and be centered vertically within these rows?
SK> e.g. below, the --- between "Entry 1" and "Entry 2" is generated with
SK> \hrule, and I want things such that this \hrule lines up with the middle
SK> of the "ABC"
SK> +-----------------------------+
SK> | | Entry 1 |
SK> | ABC -------------------|
SK> | | Entry 2 |
SK> +-----------------------------+
There was a similar question in c.t.t. Someone wanted to have 3 rows
in column 1 & 2 and 4 rows in column 3 & 4 of a table. Here is my idea
of a solution, which can be used for the problem above:
\begin{tabular}{@{}|@{}c@{}|@{}c@{}|@{}}\hline
\begin{tabular}{cc}
1&$***$\\\hline
2&$**$\\\hline
3&$*$
\end{tabular}%
&%
\begin{tabular}{c|c}
line 1&column 2\\\hline
line 2&column 2\\\hline
line 3&column 2\\\hline
line 4&column 2
\end{tabular}\\\hline
\end{tabular}
-bernd
Technical Details
Message-ID:
<RAICHLE.92Jul23102958@azu.informatik.uni-stuttgart.de>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!wupost!gumby!yale!yale.edu!ira.uka.de!news.belwue.de!news.uni-stuttgart.de!ifistg!ifi!raichleReferences:
<1992Jul17.002313.15003@marlin.jcu.edu.au>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!wupost!gumby!yale!yale.edu!ira.uka.de!news.belwue.de!news.uni-stuttgart.de!ifistg!ifi!raichle From: raichle@azu.informatik.uni-stuttgart.de (Bernd Raichle) Newsgroups: comp.text.tex Subject: Re: Table query Message-ID: <RAICHLE.92Jul23102958@azu.informatik.uni-stuttgart.de> Date: 23 Jul 92 08:29:58 GMT References: <1992Jul17.002313.15003@marlin.jcu.edu.au> Sender: news@ifistg.uucp Organization: /azu/raichle/.organization Lines: 33 In-reply-to: cpsrk@marlin.jcu.edu.au's message of 17 Jul 92 00:23:13 GMT