# [texhax] Dividing columns in a table

David Carlisle d.p.carlisle at gmail.com
Sun Nov 1 11:38:58 CET 2015

On 1 November 2015 at 10:23, Gerard E. Seibert <jerry at seibercom.net> wrote:

> I have no idea if this is even possible, but I thought I would ask anyway.
>
> That are times when I need to add an extra "column" in a given row in a
> table. I know I can combine the columns with "\multicolumn" and
> use "\multirow" to divide the cell in half vertically;however, I want to be
> able to divide the cell horizontally. Is that possible?
>
> Thanks!
>
> --
> Jerry

Lots of ways eg

... cell1 &
\begin{tabular}{@{}l|l@{}}
half of cell2 & half of cell 2
\end{tabular}&
cell 3

but it depends on the context. the above looks more or less the same as

cel11
half of cell 2 \vline half of cell2&
cell 3

so you may not need any "table column"  markup at all.

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texhax/attachments/20151101/e63a3633/attachment.html>