TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I usually do all of my tables using Google Docs spreadsheet. This is a good and quick way to organize information and create quick tables.

Now I am writing a document in Latex and I would like to port the tables.

I tried downloading the sheet as a CSV file and then using the csvsimple package to convert it into latex, but this has several faults (does not copy cell borders, does not respect page width and height, etc), and in the end with all the configurations it is almost just as complex as creating the tables myself.

I recognize some of the problems are inherent to the CSV file format (no package can guess information that the CSV file does not contain), so I was wondering: Is any other way of quickly porting my Google Doc tables to latex?

Here is a link with a simple set of three tables and a graph that I would like to port to latex:

enter image description here

share|improve this question
A bit clunky, but I suppose you could download the sheet as an .ods file, open it in LibreOffice, and use calc2latex to generate a LaTeX table. – Torbjørn T. Mar 16 '14 at 18:22
Extra information: Google Docs has an HTML export option. (That's its native-ish format, after all.) Could this be used with pandoc? (Need to run…) – Sean Allred Mar 16 '14 at 18:22
Did you take a look at pgfplotstable? That provides options to convert plaintext data files to tables. Cell borders are not exported to csv, but usually a good table needs no borders ;) If you want more detailed advice please post some sample data and a picture of what you want it to look like. – hugovdberg Mar 16 '14 at 18:43
@TorbjørnT.: Clunky in deed. It does not keep the table inside the pages limits and the generated code is very basic at best. – Flame_Phoenix Mar 16 '14 at 18:48
@SeanAllred: pandoc? Never heard of it. Guess I will have to do some research. – Flame_Phoenix Mar 16 '14 at 18:49

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.