[texhax] cellcolor woes

Keith Hellman khellman at mcprogramming.com
Thu Jun 26 04:53:42 CEST 2008


Oops, I should have also sent this reply to the list (for what it is
worth).
====================================++++++++++++++++++++++++++++++++++++
On Fri, Jun 20, 2008 at 08:37:22PM -0700, Donald Arseneau wrote:
> Yes.  Although array.sty fixes \hline so it does not overlap the 
> area occupied by the cell, \cline still overlaps.  It has to do so
 
> If there are no vertical lines, you can use
> 
>  ..& .. \\[.5\arrayrulewidth]
>  \cline{} \cline{}
>  \noalign{\vspace{.5\arrayrulewidth}}
> 
Alas, I need vertical lines (and you were correct, it was the vertical
lines that failed in the above solution).

> If there are vertical lines it is very difficult, but maybe arydshln
> is compatible with colortbl?
Tried the dashed-line package, same issues.

But, all's well that ends well.  I never thought that \cline vs. \hline
was the crux of my problems.  I had always seen \hline work correctly,
so I assumed \cline would follow suit.

In the end, I re-organized my code to draw to independent tables with
colorcells and hlines, embedding these into a encapsulating table.  As
an added bonus, my python code is much cleaner now --- this was the
design I should have adopted in the first place.

Thanks for your help,
-- 
Keith Hellman                             #include <disclaimer.h>
khellman at mcprogramming.com                from disclaimer import standard
khellman at mines.edu
                                   -*-                                    
                    public key @ pgp.mit.edu 9FCF40FD 
    Y!M: mcprogramming                           AIM/ICQ: 485403897       
                     gtalk: jabber at mcprogramming.com                      
                                   -*-                                    

"I like long walks, especially when they are taken by people who annoy
me."

-- Noel Coward
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://tug.org/pipermail/texhax/attachments/20080625/2057a1e2/attachment.bin 


More information about the texhax mailing list