LaTeX Can LaTeX Easily Generate Data Tables from Text Files?

  • Thread starter Thread starter Norman
  • Start date Start date
  • Tags Tags
    Data Latex
AI Thread Summary
For publishing data in LaTeX without manual entry, users can utilize tools that convert data from text files or spreadsheets into LaTeX table format. One recommended solution is the xl2latex add-in for Excel, which allows users to convert tables into LaTeX code efficiently. This tool is compatible with Excel versions 97, 2000, and XP, although some users may encounter runtime errors. For those using OpenOffice.org Calc, a similar program called Calc2LaTeX is available, providing a way to achieve the same functionality. Overall, using these tools simplifies the process of integrating data into LaTeX documents.
Norman
Messages
895
Reaction score
4
Hello Everyone,

I have a question about publishing some data in Latex. I don't want to have to enter the data by hand into the latex document. Is there an easy way to take the data from a text file into latex and have it generate a table? Or would it be easier to just create a .eps file from some other software and include the table as graphics?

Does anyone have any experience with this sort of problem?
Thanks for any help or insight anyone can offer.
Cheers,
Ryan
 
Physics news on Phys.org
You cancopy and paste, then you will have to do some formatting. I don't think there is a way to read a file into LaTex in a table format...
 
There is a need little add-in to Excel that allows you to convert tabels into decent latex code. So it is properly easier (and better) to just import your data into excel and convert it to latex.

Its called xl2latex and is available on CTAN, http://www.dante.de/CTAN//support/xl2latex/ it is made for Excel97 but i have used it with both 2000 and XP, and although i get a runtime error it works fine.
 
Last edited:
Triss said:
There is a need little add-in to Excel that allows you to convert tabels into decent latex code. So it is properly easier (and better) to just import your data into excel and convert it to latex.

Its called xl2latex and is available on CTAN.

Would this be compatible with OpenOffice.org Calc? If not is there a similar program available?
Thanks,
Ryan
 

Similar threads

Replies
2
Views
7K
Replies
4
Views
5K
Replies
16
Views
4K
Replies
8
Views
12K
Replies
3
Views
2K
Replies
20
Views
3K
Replies
5
Views
5K
Back
Top