15

I have a table in Microsoft Office which is huge and too complicated to do it again in Latex. Can I convert it to an image and then insert it in TexMaker but it is recognizable? I tried this by taking a print-screen, but the image becomes blurry. Is there another method for getting a complex table from Word to Latex?

12
  • 1
    Can't you export the table to pdf and include the pdf instead? Welcome to TeX.SX, by the way! ;-)
    – user31729
    Apr 29, 2015 at 13:54
  • 1
    Depending on the size, either as an graphics file \includegraphics{youfilename} or as \includepdf, using the pdfpages package.
    – user31729
    Apr 29, 2015 at 13:56
  • 1
    @user1930901 Install Libreoffice and the Writer2Latex addin. Open the Word file in Libreoffice. Then trim out everything except the table. Now do the export to a LaTeX file. You will still have to do some fine tuning but all the content, etc should be there. Apr 29, 2015 at 14:28
  • 3
    @user1930901 It is always best from scratch and will improve your LaTeX skills
    – yannisl
    Apr 29, 2015 at 15:32
  • 1
    Can the table be exported as a .csv? What do you mean by too complicated? Just that you'd rather not do it again, or that you don't know LaTeX well enough to do it in LaTeX? (OT: And why on earth would you compose a "complex" table in a program that isn't meant for complex tables in the first place?)
    – jon
    Apr 29, 2015 at 16:17

2 Answers 2

16

The site http://www.tablesgenerator.com/ will generate code from a table copied and pasted from Word or Excel or a .csv. It isn't perfect, but it does a good, quick job of generating TeX code for a given table.

2
  • But it doesn't show how to do tables in LaTeX ;-)
    – user31729
    Apr 30, 2015 at 19:15
  • Currently this site (which I have used previously) dumps all the table data into a single column when pasted from Excel. I don't know why its behavior would change, but it's worthless as is. Feb 10, 2019 at 4:07
6

Your could try to copy the table to Excel and use the Excel2LaTeX Plug-In to convert it to LaTeX. You will still have to put some effort into adjusting the layout. However, this will save you from having to transfer all table entries manually.

This site is temporarily in read-only mode and not accepting new answers.

Not the answer you're looking for? Browse other questions tagged .