add layout and template for iopart

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18745 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2007-06-12 01:09:49 +00:00
parent 6742e42e79
commit fddca82d95
6 changed files with 1626 additions and 5 deletions

View File

@ -1497,6 +1497,7 @@ lib_templates_files = Split('''
hollywood.lyx
ijmpc.lyx
ijmpd.lyx
iop-article.lyx
kluwer.lyx
koma-letter2.lyx
latex8.lyx
@ -2643,6 +2644,7 @@ lib_layouts_files = Split('''
hollywood.layout
ijmpc.layout
ijmpd.layout
iopart.layout
isprs.layout
jgrga.layout
kluwer.layout

View File

@ -948,6 +948,7 @@ dist_layouts_DATA =\
layouts/hollywood.layout \
layouts/ijmpc.layout \
layouts/ijmpd.layout \
layouts/iopart.layout \
layouts/isprs.layout \
layouts/jgrga.layout \
layouts/kluwer.layout \
@ -1045,6 +1046,7 @@ dist_templates_DATA = \
templates/hollywood.lyx \
templates/ijmpc.lyx \
templates/ijmpd.lyx \
templates/iop-article.lyx \
templates/kluwer.lyx \
templates/koma-letter2.lyx \
templates/latex8.lyx \

View File

@ -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 "Richard Heck"
\author "usti"
\author "Richard Heck"
\end_header
\begin_body
@ -6803,6 +6803,176 @@ markboth{Authors' Names}{Short Paper's Title}
.
\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

View File

@ -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
@ -1546,7 +1546,7 @@ CTAN: N/A
\begin_layout Description
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
@ -1556,7 +1556,7 @@ target "http://www.worldscinet.com/ijmpc/mkt/guidelines.s"
\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
@ -1595,6 +1595,37 @@ ijmpd
Scientific.
\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

289
lib/layouts/iopart.layout Normal file
View File

@ -0,0 +1,289 @@
#% Do not delete the line below; configure depends on this
# \DeclareLaTeXClass[iopart]{article (IOP)}
# IOP article textclass definition file.
# Author: Uwe Stöhr (uwestoehr@web.de)
Format 4
Columns 1
Sides 1
SecNumDepth 3
TocDepth 3
DefaultStyle Standard
ClassOptions
FontSize 10|12
end
Preamble
\usepackage{iopams}
\usepackage{setstack}
EndPreamble
# This is just to show how to declare the default font.
# The defaults are exactly those shown here.
DefaultFont
Family Roman
Series Medium
Shape Up
Size Normal
Color None
EndFont
Style Standard
Margin Static
LatexType Paragraph
LatexName dummy
ParIndent MM
ParSkip 0.4
Align Block
AlignPossible Block, Left, Right, Center
LabelType No_Label
End
Input stdlists.inc
Input stdsections.inc
Input stdstarsections.inc
NoStyle Chapter
NoStyle Chapter*
Style Title
Margin Static
LatexType Command
InTitle 1
OptionalArgs 1
LatexName title
ParSkip 0.4
ItemSep 0
TopSep 0
BottomSep 1
ParSep 1
Align Center
AlignPossible Center
LabelType No_Label
Font
Size Largest
EndFont
End
Style Review
CopyStyle Title
LatexName review
End
Style Topical
CopyStyle Title
LatexName topical
End
Style Comment
CopyStyle Title
LatexName comment
End
Style Note
CopyStyle Title
LatexName note
End
Style Paper
CopyStyle Title
LatexName paper
End
Style Prelim
CopyStyle Title
LatexName prelim
End
Style Rapid
CopyStyle Title
LatexName rapid
End
Style Letter
CopyStyle Title
OptionalArgs 0
LatexName letter
End
Style Author
Margin Static
LatexType Command
InTitle 1
LatexName author
LabelSep xxx
ParSkip 0.4
TopSep 1.3
BottomSep 0.7
ParSep 0.7
Align Center
AlignPossible Center
LabelType No_Label
Font
Size Large
EndFont
End
Style Address
Margin Static
LatexType Command
LatexName address
InTitle 1
ParSkip 0.4
Align Left
AlignPossible Block, Left, Right, Center
LabelType No_Label
End
Style Email
Margin Static
LatexType Command
LatexName ead
InTitle 1
ParSkip 0.4
BottomSep 0.5
Align Left
AlignPossible Block, Left, Right, Center
LabelType No_Label
End
Style Abstract
Margin Static
LatexType Environment
LatexName abstract
InTitle 1
NextNoIndent 1
LeftMargin MMM
RightMargin MMM
ParIndent MM
ItemSep 0
TopSep 0.7
BottomSep 0.7
ParSep 0
Align Block
AlignPossible Block
LabelType Centered_Top_Environment
LabelString "Abstract"
LabelBottomSep 0.5
Font
Size Small
EndFont
LabelFont
Series Bold
Size Large
EndFont
End
Style Keywords
Margin Dynamic
LatexType Command
LatexName "noindent{\it Keywords\/}: "
InTitle 1
ParSkip 0.4
BottomSep 0.5
Align Left
LabelSep xx
LabelType Static
LabelString "Keywords:"
LabelFont
Color Green
Series Bold
EndFont
End
Style PACS
CopyStyle Keywords
LatexName pacs
LabelString "Physics and Astronomy Classification System number:"
End
Style MSC
CopyStyle Keywords
LatexName ams
LabelString "Mathematics Subject Classification number:"
End
Style submitto
CopyStyle Keywords
LatexName submitto
LabelString "submit to paper:"
End
Style Acknowledgments
Margin Dynamic
LatexType Command
LatexName ack{}
NeedProtect 1
NextNoIndent 1
KeepEmpty 1
LabelSep xxx
ParSkip 0.4
TopSep 0.7
BottomSep 0.4
Align Block
AlignPossible Block, Left
LabelType Static
LabelString "Acknowledgments"
Font
Series Bold
Size Normal
EndFont
End
Style "Bibliography (plain)"
Margin First_Dynamic
LatexType Bib_Environment
LatexName thebibliography
NextNoIndent 1
LeftMargin MM
ParSkip 0.4
ItemSep 0
TopSep 0.7
BottomSep 0.7
ParSep 0.5
Align Block
AlignPossible Block, Left
LabelType Bibliography
LabelString "References"
LabelBottomSep 1.2
LabelFont
Series Bold
Size Larger
EndFont
End
Style "Bibliography heading"
CopyStyle Section
LatexName section*{References}
KeepEmpty 1
LabelType Static
LabelString "References"
End
Input stdfloats.inc
Input stdcounters.inc

File diff suppressed because it is too large Load Diff