Can LaTeX Easily Generate Data Tables from Text Files?

  • Context: LaTeX 
  • Thread starter Thread starter Norman
  • Start date Start date
  • Tags Tags
    Data Latex
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
4 replies · 16K views
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
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