LyX 2.3.x: how to insert externally generated code for table?
Kornel Benko
kornel at lyx.org
Wed Mar 4 16:35:06 UTC 2020
Am Wed, 4 Mar 2020 16:10:50 +0000
schrieb Bernt Lie <Bernt.Lie at usn.no>:
> 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
What about
File->Import->laTeX (plain)...
Kornel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20200304/e23b1a05/attachment.asc>
More information about the lyx-users
mailing list