Maarten Smoorenburg wrote:
Thank you Richard for the quick reply. But I must say that one thing is still not clear to me:

I normal LaTeX, I have to state the document class as follows:

\documentclass[journal abbreviation, ms]{copernicus},

where copernicus refers to the document class to be used (copernicus.cls) and the other two are options for respectively the journal title (in my case "hess") and the column style ("ms" means that the article is compiled in one-column style, which is common for submission of papers).

Now I tried various things to put this as a layout file, for example:

\DeclareLaTeXClass[copernicus]{article(hess)}
or:
\DeclareLaTeXClass[[hess,ms]{copernicus}]{article (HESS)}

But this doesnot work: I cannot use it as a layout from LyX at all! Now, I wonder: How would you suggest to put the options and the document class in the \DeclareLaTeXClass line? Or do you have examples from other classes?

Can't do it those ways. Try adding this:
   ClassOptions
      Other hess,ms
   End
I think that will work. If not, just enter the options manually for now in Document>Settings, and we can figure it out later.

rh

Reply via email to