Maarten Smoorenburg wrote:
I am trying to submit an article for publication by using the copernicus.cls
class. This class is used by many journals that are published by the
European Geophysical Union (EGU) and I would like to publish in HESS. I jsut
wrote the article in a simple article layout and now want to use the
copernicus.cls class for publishing
Currently, there is no layout file available for the copernicus.cls and
rather than copy-pasting all my LyX generated LaTeX code paragraph by
paragraphy to a 'normal' tex editor (e.g., TeXnicCenter),
If you want to go this way, just do File>Export>LaTeX. This will create
yourfile.tex in the directory where the LyX file lives. Then you can
open it and do as you please.
I would like to
build a LyX layout file. I've read some posts about building layouts, but
I'm already stuck at the first definition of the class: this is because
copernicus.cls is an article style class, which has to be called like this:
\documentclass[journal abbreviation]{copernicus}
Now I have 2 questions:
- how do I set this document class in a layout file?
By default, the document class is the same as the layout name. So you
just call it copernicus.layout. You can also do:
\DeclareLaTeXClass[copernicus]{Copernicus}
and call it whatever you like.
- how much time would it cost me, all in all to build such a thing, all the
way (without any layout programming experience?).
As the other responder said, you can probably get a working layout very
simply. This is because article.cls and copernicus.cls will share a lot
of their environments. Getting new things that are in copernicus and not
in article to work can be done a bit at a time. Really the best thing is
to look at the existing layouts and then just copy one and play with it,
so you can see what the various commands do.
rh