>>Date: Thu, 25 Jan 2001 15:37:35 +0000
>>From: Adrian Ball <[EMAIL PROTECTED]>
>>To: [EMAIL PROTECTED]
>>Subject: Importing Gnumeric spreadsheet, rotation by 90deg
>>
>>
>>Dear all,
>>
>>I have a spreadsheet, created in Gnumeric. I can export as latex2e, reLyX it
>>and include it within a table float.
>>So far so good, however, the spreadsheet, whilst not enormous, does not fit
>>horizontally across the page. What ERT do I need (and wherabouts!) to rotate
>>this by 90 degrees within the float?
>>
>>NB:
>>1) I need this to be within the .lyx file, as I need to semi-automate the
>>process, since I am playing with the numbers;
>>2) It needs to be in a table float so it appears in the list of tables.
>>
>>Any ideas (or any alternative spreadsheet import methods)?
>>
>>TIA,
Don't know about Gnumeric, bute here is what I do with Matlab
(would work with any code with output format control in fact)
- write results in table format using fprintf => file table_xx.tex like
\begin{tabular}{|c|c|}
5.3&5.4\\
etc.
\end{tabular}
- create a table float in LyX file tables.lyx
with the required caption and rotation
- insert the table with « input » (of file table_xx.tex)
The Matlab script tables.m can be run as batch process, so
matlab < tables.m; lyx -e ps tables.lyx
refreshes the data in the document.
--
Jean-Pierre