double lines at the top and bottom of tables?

2001-01-23 Thread Anna H.Pryor


Is it possible to put double lines at the top and bottom of tables?  I know that 
I can do this for all of the other lines in the table, but I only need it for 
the top and bottom lines...and can't seem to figure that out.

Anna








Re: double lines at the top and bottom of tables?

2001-01-24 Thread Dirk Klugmann

A quick workaround would be to add an additional (zeroth) row on the top
of the table, and to enable the bottom line of the cells in this row
only.  Another solution is to use the plain LaTeX table command "\hline"
inside of a table in LyX.  You have to figure out, where to place this
command exactly.  As far as I remember, you have to write it prior to
the text in your first table cell.

Happy LyXing
Dirk


"Anna H.Pryor" schrieb:
> 
> Is it possible to put double lines at the top and bottom of tables?  I know that
> I can do this for all of the other lines in the table, but I only need it for
> the top and bottom lines...and can't seem to figure that out.
> 
> Anna

-- 



 Dirk Klugmann   Tel.: +49 341 235 - 2919
Institut fuer Troposphaerenforschung   or: +49 341 235 - 2411
 Permoserstrasse 15   FAX: +49 341 235 - 2361
 D-04318 Leipzig   E-mail: [EMAIL PROTECTED]

  WWW: http://www.tropos.de/


European Aerosol Conference:
Email: [EMAIL PROTECTED]
internet: http://eac2001.tropos.de:8085





Re: double lines at the top and bottom of tables?

2001-01-24 Thread Dekel Tsur

On Tue, Jan 23, 2001 at 10:03:14AM -0800, Anna H.Pryor wrote:
> 
> Is it possible to put double lines at the top and bottom of tables?  I know that 
> I can do this for all of the other lines in the table, but I only need it for 
> the top and bottom lines...and can't seem to figure that out.

You cannot do it with the GUI, but you can do it with ERT:
For double line at the top, put '\hline ' (using latex mode) at the beginning
of the first cell (i.e. the top left cell).
For double line at the bottom, put the following line in the preamble

 \newcommand{\dblline}[2]{\\ \hline\hline}

and put '\dblline' at the end of the last cell.