質問

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?

役に立ちましたか?

解決 2

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.

他のヒント

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.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top