On Tue, Jan 26, 2016 at 7:42 PM, Rich Shepard <[email protected]> wrote: > I'm reformatting an article for submittal to the Journal of Applied > Geochemistry using the Elsevier article class. When I try to preview the > article errors are thrown in the regression tables. > > In the former KOMA-article class, regression tables were in the LyX-code > environment, but that's not available in the Elsevier article class. At the > bottom of the environment pull-down list is the entry, "LyX-Code (Unknown)," > and I've no idea what that means. And, I keep getting 'Undefined control > sequence' errors. > I suspect that "LyX-Code" is not defined in the Elsevier-class layout file. You could try to copy the "LyX-Code" definition from the Koma layout to your file's local layout.
> I'm sure someone here has used the Elsevier article class and can point me > to how to properly use the LyX environments for literal text such as R > regression table output. > Have you considered using xtable or stargazer to export regression tables to LaTeX, and copy/paste the output in an ERT inset in your LyX document? Regards, Liviu > TIA, > > Rich -- Do you think you know what math is? http://www.ideasroadshow.com/issues/ian-stewart-2013-08-02 Or what it means to be intelligent? http://www.ideasroadshow.com/issues/john-duncan-2013-08-30 Think again: http://www.ideasroadshow.com/library
