I am trying to export a LaTeX table from LibreOffice Calc. I am not using Excel because I am running Ubuntu.
I have tried using the calc2LaTeX macro, but have not been able to make it work for LibreOffice 3.
I am looking for something with the functionality of the Excel2LaTeX plugin (available here).
Has anyone been able to do this using LibreOffice Calc 3?
For an alternative try using Gnumeric (sudo apt-get install gnumeric). Once you have data entered ready to export, go to Data->Export Data->Export into Other Format. You can then choose either a LaTeX table fragment (just the data rows with & separators and \\ line endings) or a full LaTeX document with lots of parameters set by Gnumeric, and the table inserted.
Maybe not the most efficent way, but here's what I would do:
Save the spreadsheet in csv-format.
In LyX: File -> Import -> Table
Then: View -> View source.
Copy the code and paste it in your document.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With