Long table from file
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 ? Thanks a lot Emanuele
RE: Long table from file
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 celltabdata second celltab...tabdata 5 cellreturn data first celltabdata second celltab...tabdata 5 cellreturn ... data first celltabdata second celltab...tabdata 5 cellreturn 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 -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
Re: Long table from file
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 under nedit you can try search/replace "space/tab" data separator by " " and "CR/LF" next line by "\\" after that you should have something like that data data data data data\\ data data data data data\\ data data data data data\\ data data data data data\\ data data data data data\\ data data data data data\\ and so on after just put the header of the table \begin{tabular}{c c c c c} and the end \end{tabular} if you have some problem with splitting the table... see the supertabular package insert files in LyX/LaTeX "Tables"? Is it automatically split over pages? How can I do ? i think it should work Thanks a lot Emanuele -- "Y faut liiirrreee, Arlequin, Champion de l'amou" Dany Boon --- Yann MORERE [EMAIL PROTECTED] Doctorant Automatiquehttp://www.multimania.com/ymorere/
Long table from file
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 ? Thanks a lot Emanuele
RE: Long table from file
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 celltabdata second celltab...tabdata 5 cellreturn data first celltabdata second celltab...tabdata 5 cellreturn ... data first celltabdata second celltab...tabdata 5 cellreturn 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 -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
Re: Long table from file
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 under nedit you can try search/replace "space/tab" data separator by " " and "CR/LF" next line by "\\" after that you should have something like that data data data data data\\ data data data data data\\ data data data data data\\ data data data data data\\ data data data data data\\ data data data data data\\ and so on after just put the header of the table \begin{tabular}{c c c c c} and the end \end{tabular} if you have some problem with splitting the table... see the supertabular package insert files in LyX/LaTeX "Tables"? Is it automatically split over pages? How can I do ? i think it should work Thanks a lot Emanuele -- "Y faut liiirrreee, Arlequin, Champion de l'amou" Dany Boon --- Yann MORERE [EMAIL PROTECTED] Doctorant Automatiquehttp://www.multimania.com/ymorere/
Long table from file
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 ? Thanks a lot Emanuele
RE: Long table from file
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 celldata second cell...data 5 cell data first celldata second cell...data 5 cell ... data first celldata second cell...data 5 cell 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 -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
Re: Long table from file
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 under nedit you can try search/replace "" data separator by " & " and "/" next line by "\\" after that you should have something like that data & data & data & data & data\\ data & data & data & data & data\\ data & data & data & data & data\\ data & data & data & data & data\\ data & data & data & data & data\\ data & data & data & data & data\\ and so on after just put the header of the table \begin{tabular}{c c c c c} and the end \end{tabular} if you have some problem with splitting the table... see the supertabular package > insert files in LyX/LaTeX "Tables"? Is it automatically split over pages? > How can I do ? i think it should work > Thanks a lot > > Emanuele -- "Y faut liiirrreee, Arlequin, Champion de l'amou" Dany Boon --- Yann MORERE [EMAIL PROTECTED] Doctorant Automatiquehttp://www.multimania.com/ymorere/