Jean-Marc Lasgouttes schrieb:
A few comments:- First, did you look at http://wiki.lyx.org/Layouts/Iopart?
No. The advices given there are not correct: There is no need to change the symbols file or to redefine the \ref command, see the example file I attached. I also don't have problems with eqnarray formulas.
- I prefer iopart.layout as name
But it already has this name.
- there seem to be problems with iop vs amsart. You should research what works or not, and see what to do.
Yes, the amsmath-package must not be used because iopart uses its own amsart derivative package. The example file takes care of this and has a big note about this at the beginning.
- I need an entry in LaTeXConfig.lyx.in
Sorry, I forgot it. I attached it now.
- an example file is good, but having a section in Extended.lyx would be a good idea too.
I did this now, see attached patch. regards Uwe
Index: lib/doc/Extended.lyx =================================================================== --- lib/doc/Extended.lyx (revision 18684) +++ lib/doc/Extended.lyx (working copy) @@ -1,4 +1,4 @@ -#LyX 1.5.0svn created this file. For more info see http://www.lyx.org/ +#LyX 1.5.0rc1 created this file. For more info see http://www.lyx.org/ \lyxformat 271 \begin_document \begin_header @@ -37,8 +37,8 @@ \paperpagestyle headings \tracking_changes false \output_changes false +\author "usti" \author "Richard Heck" -\author "usti" \end_header \begin_body @@ -6804,6 +6804,176 @@ \end_layout \begin_layout Section +iopart +\end_layout + +\begin_layout Standard +by +\noun on +Uwe Stöhr +\end_layout + +\begin_layout Subsection +Overview +\end_layout + +\begin_layout Standard +The iopart package provides a document class to create electronic manuscript + submission to the journals published by the Institute of Physics. + Instructions for the authors how to create a paper using the iopart class + can be downloaded together with the iopart package from the site +\begin_inset LatexCommand url +target "ftp://ftp.iop.org/pub/journals/latex2e" + +\end_inset + +. +\end_layout + +\begin_layout Subsection +Writing a paper +\end_layout + +\begin_layout Standard +The easiest way to write a paper is to start with the file +\emph on +IOP-article.lyx +\emph default + that is available in LyX's examples files folder. + Open this file, save it under a new name, and start writing. + The example file explains how to use the special text environments. + Here are the most important advices: +\end_layout + +\begin_layout Itemize +To be able to compile your document to a PDF, PS, or DVI, assure that the + two options +\family sans +Use AMS math package +\family default + in the document settings under +\family sans +Math Options +\family default + are not used! +\end_layout + +\begin_layout Itemize + +\size normal +The title environment defines the kind of your paper. + So use one of the following environments for the title: +\end_layout + +\begin_deeper +\begin_layout Itemize + +\family sans +\size normal +Title +\family default + for a Paper +\end_layout + +\begin_layout Itemize + +\family sans +\size normal +Review +\family default + for a Review +\end_layout + +\begin_layout Itemize + +\family sans +\size normal +Topical +\family default + for a Topical review +\end_layout + +\begin_layout Itemize + +\family sans +\size normal +Comment +\family default + for a Comment +\end_layout + +\begin_layout Itemize + +\family sans +\size normal +Note +\family default + for a Note +\end_layout + +\begin_layout Itemize + +\family sans +\size normal +Paper +\family default + for a Paper (same as Title) +\end_layout + +\begin_layout Itemize + +\family sans +\size normal +Prelim +\family default + for a Preliminary communication +\end_layout + +\begin_layout Itemize + +\family sans +\size normal +Rapid +\family default + for a Rapid communication +\end_layout + +\begin_layout Itemize + +\family sans +\size normal +Letter +\family default + for a Letter to the editor +\end_layout + +\end_deeper +\begin_layout Itemize + +\size normal +All title environments except of +\family sans +Letter +\family default + can have an optional short title. +\end_layout + +\begin_layout Itemize +There is a general title environment +\family sans +Article +\family default + which is not directly supported by the LyX. + This can be used as ERT when your document doesn't fit into one of the + other title types. +\end_layout + +\begin_layout Standard +For more informations like hints for special table and formula formatting, + look at the IOP author guidelines. +\end_layout + +\begin_layout Section Kluwer \end_layout Index: lib/doc/LaTeXConfig.lyx.in =================================================================== --- lib/doc/LaTeXConfig.lyx.in (revision 18684) +++ lib/doc/LaTeXConfig.lyx.in (working copy) @@ -1,4 +1,4 @@ -#LyX 1.5.0svn created this file. For more info see http://www.lyx.org/ +#LyX 1.5.0rc1 created this file. For more info see http://www.lyx.org/ \lyxformat 271 \begin_document \begin_header @@ -1572,9 +1572,9 @@ \end_layout \begin_layout Description -WWW: available from the site +WWW: available from the site \begin_inset LatexCommand url -target "http://www.worldscinet.com/ijmpc/mkt/guidelines.s" +target "http://www.worldscinet.com/ijmpc/mkt/guidelines.shtml" \end_inset @@ -1584,7 +1584,7 @@ \begin_layout Description Notes: The document class \family sans -ijmpc + ijmpc \family default can be used to write articles for submission to the International Journal of Modern Physics C (usually abbreviated as IJMPC), published by World @@ -1624,6 +1624,37 @@ \end_layout \begin_layout Subsection +iopart +\end_layout + +\begin_layout Description +Found: @chk_iopart@ +\end_layout + +\begin_layout Description +CTAN: N/A +\end_layout + +\begin_layout Description +WWW: available from the site +\begin_inset LatexCommand url +target "ftp://ftp.iop.org/pub/journals/latex2e" + +\end_inset + +. +\end_layout + +\begin_layout Description +Notes: The document class +\family sans + iopart +\family default + can be used to write articles for the journal published by the Institute + of Physics (IOP). +\end_layout + +\begin_layout Subsection kluwer \end_layout
IOP-article.lyx
Description: application/lyx