LyX 2.3.x: how to insert externally generated code for table?

Bernt Lie Bernt.Lie at usn.no
Wed Mar 4 16:10:50 UTC 2020

I’m running a program which generates LaTeX code for a table.

Question:

*   How can I insert this table into LyX?
*   I want the table to have the same type of preview as Tables I set up manually inside of LyX
*   I want the table to be a floating table.
*   Such tables may be large, so I may want to make it multi-page, and possibly rotate it.

Example:

\begin{tabular}{rrr} \hline\hline \textbf{Temperature [K]} & \textbf{Pressure [bar]} & \textbf{Specific volume liq [m3/kg.1e3]} \\ \texttt{Float64} & \texttt{Float64} & \texttt{Float64} \\\hline 273.15 & 0.00611 & 1.0 \\ 275.0 & 0.00697 & 1.0 \\ 280.0 & 0.0099 & 1.0 \\ 285.0 & 0.01387 & 1.0 \\ 290.0 & 0.01917 & 1.001 \\\hline\hline \end{tabular}

Can I insert the table within LyX? Or do I have to insert the table in a LyX document and insert the code via an ASCII editor?

Thanks for suggestions!

BR,
B
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20200304/c1f64232/attachment.html>