If you have generated the tex file in Stata, use ERT. It is much easier.
The command you want to look up is \input as in \input{table.tex}. This is
the only way I generate, edit, and include tables now. This should also be
the command that lyx uses... either that or include but I assume input
would be a better use in this situation. I also use another application to
edit the .tex because I need spell checking.

FWIW, I would highly recommend looking at how to make good tables using
booktabs. It isn't hard but stata produces some really ugly and hard to
read tables. Also, it doesn't know how to use longtable correctly and if
you need notes, you also need threeparttable. None of those are standard
output in State AFAIK and I know even know if lyx has a UI for
threeparttable.

Good luck,
~Ben

On Wed, Jul 8, 2015 at 4:39 AM, Ian <[email protected]> wrote:

>
> >
> > If you want to include a .tex file, you would Insert > File > Child.
> > See Help > Embedded, section 7.2 on Child Documents.
> >
> > Liviu
> >
>
>
> Thanks Liviu. Inserting a Child document .tex file was exactly what I
> wanted to do. I just didn't know what it was called.
>
>
>
>

Reply via email to