Others ⇒ Excel to LaTeX
Excel to LaTeX
this may sound stupid, but the last hour or so I've been trying to insert a macro in excel to convert tables in excel to LaTeX code. I've found the macro here: ftp://cam.ctan.org/tex-archive/support/xl2latex/. A university linked me to it, so it should be alright.
Now the problem I'm having is that I use Excel 2010 and apparently the way to insert a macro is completely different than when you use Excel 2007 or any older version. I have been looking for a while, searching every tab and looking on the internet. But the only thing I find is how to use a macro that is already present in excel, but not how to import one (at least not for the 2010 version).
So I really hope someone can help me.
Greetings,
Matthias
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
Re: Excel to LaTeX
Regards.
OS: Debian/GNU Linux; LaTeX System : TeXLive; Editor : Vim
Excel to LaTeX
Regards
Nicola Talbot
Creating a Minimal Example: http://www.dickimaw-books.com/latex/minexample/
Re: Excel to LaTeX
Excel to LaTeX
http://ericwood.org/excel2latex/
Just drag the Excel file onto the page and it'll spit out the LaTeX code for the table! No need to install anything.
It's still kind of new and I'm working out some kinks, but for the stuff I've been using it for it's been doing a great job.
Hope that helps!
Excel to LaTeX
Code: Select all
C:\Users\[USER]\AppData\Roaming\Microsoft\AddIns
Code: Select all
C:\Documents and Settings\[USER]\Application Data\Microsoft\AddIns
Re: Excel to LaTeX
Put the excel table that you want to export alone on an excel sheet. Export it to PDF. Crop the pdf to only include the actual table. I use a program called inkspace. In inkspace I simply open the pdf and then press save as pdf. I tick the "file is drawing" and it automatically crops it. Include your cropped table using ./includegraphics in latex. Images based on pdf come out with good quality, pictures and tables alike.
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm