On 15-Feb-2000 Emanuele Olivetti wrote:
> Hi,
> This is my problem. I have to include a list of results in my thesis, i.e.
> a table with 120 lines and 5 columns, taken from a file (results.txt, an
> ASCII file, 120 lines and 5 columns obviously :-) ). Is there a way to
> insert files in LyX/LaTeX "Tables"? Is it automatically split over pages?
> How can I do ?
> 

Yes to both questions!

Well you probably want to know how to do this too, isn't it? :)

You have to create first a tabular with exactly 120 rows and 5 columns.
Set the longtable option in the table->layout-menu so it splits automatically
on more pages.

After that put the cursor in the first table cell and use:

Import->Insert Ascii File->As Lines

Select your file and click ok and you're done :)

Obviously the file has to be in a tab-separated-value format!!!

This means something like this:

data first cell<tab>data second cell<tab>...<tab>data 5 cell<return>
data first cell<tab>data second cell<tab>...<tab>data 5 cell<return>
...
data first cell<tab>data second cell<tab>...<tab>data 5 cell<return>

Hope this helps!

Ciao Jürgen

-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

Dr. Jürgen Vigna                      E-Mail: [EMAIL PROTECTED]
Italienallee 13/N                     Tel:    +39-0471-450260
I-39100 Bozen                         Fax:    +39-0471-450296
ITALY                                 Web:    http://www.sad.it/~jug

The greatest dangers to liberty lurk in insidious encroachment by men
of zeal, well-meaning but without understanding.
                -- Justice Louis D. Brandeis

-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

Reply via email to