We'd like to remind Forumites to please avoid political debate on the Forum... Read More »
We're aware that some users are experiencing technical issues which the team are working to resolve. See the Community Noticeboard for more info. Thank you for your patience.
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
LaTeX Tables
Options

glider3560
Posts: 4,115 Forumite


This may be a long shot (and not money saving related) but I hope there is someone here who knows a bit more about LaTeX than me.
I currently have a spreadsheet in Excel format, which I can easily convert to CSV.
What I want to do is import that CSV file into my LaTeX document and show it as a table in the formatting that I set.
I know that I could easily copy the data into the LaTeX file, but I will need to typeset the document several times, each time with different data in the table so need to be able to update the table based on the contents of the CSV.
I've Googled but seem to have drawn a blank. I hope someone here knows how to do this and can let me know.
Thank you
Note: I've posted it in this board as LaTeX tends to only be used in academia.
I currently have a spreadsheet in Excel format, which I can easily convert to CSV.
What I want to do is import that CSV file into my LaTeX document and show it as a table in the formatting that I set.
I know that I could easily copy the data into the LaTeX file, but I will need to typeset the document several times, each time with different data in the table so need to be able to update the table based on the contents of the CSV.
I've Googled but seem to have drawn a blank. I hope someone here knows how to do this and can let me know.
Thank you
Note: I've posted it in this board as LaTeX tends to only be used in academia.
0
Comments
-
LaTex is a right pain, isn't it?
I think what you need is something that can export from Excel directly into the LaTex tabular format, rather than into CSV.
I found this which claims to do just that, but I haven't tried it.0 -
scottishblondie wrote: »LaTex is a right pain, isn't it?
I think what you need is something that can export from Excel directly into the LaTex tabular format, rather than into CSV.
I found this which claims to do just that, but I haven't tried it.0 -
Excellent! Another handy thing I found recently is pdfpages, it's a module for LaTex which allows you to insert PDF documents or individual pages of them directly into your own document. I've found it really useful for doing things like appendices, because most of mine are things that I've generated as PDFs (papers I've written, diagrams etc). DOn't know if that'll be any use to you but I thought I'd mention it0
This discussion has been closed.
Confirm your email address to Create Threads and Reply

Categories
- All Categories
- 350.8K Banking & Borrowing
- 253K Reduce Debt & Boost Income
- 453.5K Spending & Discounts
- 243.8K Work, Benefits & Business
- 598.6K Mortgages, Homes & Bills
- 176.8K Life & Family
- 257.1K Travel & Transport
- 1.5M Hobbies & Leisure
- 16.1K Discuss & Feedback
- 37.6K Read-Only Boards