On reconsideration, I think the answer is to convince Elsevier to use 
setspace for line spacing (or at least write their class to be compatible 
with setspace).  I can use elsart.cls by telling LyX to single space and 
then adding "doublespacing" as an extra class option.  That's a pain to 
remember, and it doubles spaces all sorts of things (like footnotes) that 
really ought remain single spaced.

As far as \corauthor, \corauthorref and \ead, the last should be easy (it 
works like \address), but the other two might be tricky.  \corauthorref 
works like a label, and \corauthor works a bit like a citation (the 
format is \corauthor[ref]{stuff}, where 'ref' is defined by a 
\corauthorref{ref} appearing inside a \author{}.  Does anybody know if 
this is doable within a layout file (without structural changes to LyX 
itself)?

-- Paul

"Paul A. Rubin" <[EMAIL PROTECTED]> wrote in
[EMAIL PROTECTED]:">news:[EMAIL PROTECTED]: 

> Hi,
> 
> I ran into a problem using elsart.layout (with elsart.cls).  If I opt
> for doublespacing, LaTeX bombs processing the \doublespacing command
> in the preamble (immediately following the load of setspace.sty).  It
> must be something specific to elsart.cls, since double spacing works
> with any other class. (It's not a LyX problem -- same thing happens
> working directly with LaTeX.)
> 
> There's an easy work-around in LaTeX:  elsart.cls lets you specify 
> doublespacing as an option in \documentclass (which obviates the need
> to load setspace).  The question is, can elsart.layout be modified to
> do that? I tried editing it, putting in a NoStyle setspace directive,
> but setspace still got loaded (and LaTeX still blew up).  I'm probably
> a bit too dense to handle the online help for layout files in any
> case. 
> 
> Any suggestions?
> 
> On the wish list:  elsart.cls has commands \corauthor, \corauthorref
> and \ead for sticking author address/email in formation in the
> frontmatter.  It would be nice if those could be implemented in LyX.
> 



Reply via email to