Here's mine.
Just an attempt, with only a few features implemented (and no warranty,
btw). But I already submited a paper on physics letters using it, so it is
supposed to work.
Hope tyhis will help.
Alain
On Tue, 25 Jul 2000, Marco Bravi wrote:
> Dear LyXers,
>
> I am about to submit a paper to an Elsevier journal and I
> discoveried that they have a style file for LaTeX users. Its name is
> "elsart" and it features moderately customized environments such as a
> "frontmatter" for the beginning of the paper and so on.
>
> Is there anybody that has already written something to make it easier to
> use it from within LyX. I believe that it should be a layout file (am I
> wrong?).
*******************************************************************
* Alain Castera *
* LPNHE - Tour 33 RdC | e-mail : [EMAIL PROTECTED]*
* 4 Place Jussieu | Telephone : (+33) 144274187 *
* 75252 Paris Cedex 05 | Fax : (+33) 144274638 *
* France | *
*******************************************************************
#% Do not delete he line below; configure depends on this
# \DeclareLaTeXClass{elsart}
# Elsevier Article textclass definition file. Taken from article LyX source code
# Author : Matthias Ettrich <[EMAIL PROTECTED]>
# Transposed by Pascal Andr� <[EMAIL PROTECTED]>
# Heavily modifed and enhanced by serveral developers.
# article -> elseart by Alain Castera <[EMAIL PROTECTED]>
# Input general definitions
Input stdclass.inc
# There are no chapters in an article.
NoStyle Chapter
NoStyle Chapter*
MaxCounter Counter_Section
SecNumDepth 3
TocDepth 3
# Change a bit Part and Part*
Style Part
Align Left
AlignPossible Left
TopSep 2
BottomSep 1.5
Font
Size Larger
EndFont
End
Style Part*
Align Left
AlignPossible Left
TopSep 2
BottomSep 1.5
Font
Size Larger
EndFont
End
# begin modifications for elsart from article (A.C.)
# small caption fonts
Style Caption
Font
Size Small
EndFont
End
#added ackowledgement but not stisfactory (watch the keepempty option)
Style Acknowledgement
CopyStyle Section*
LatexType Command
LatexName ack
Margin Dynamic
Align Block
AlignPossible Block
NextNoIndent 1
LabelType Static
LabelString Acknowledgement
KeepEmpty 1
End
#added frontmatter. needs also a protected space and change environment depth
# for title etc. by hand
Style Frontmatter
LatexType Environment
LatexName frontmatter
KeepEmpty 1
LabelType No_label
End
#redefined title stuff
Style Title
LatexType Command
Font
Series Bold
Size Large
EndFont
End
Style Author
LatexType Command
Font
Size Large
EndFont
End
Style Abstract
LabelType Top_Environment
NextNoIndent 1
End
Style Address
Margin Static
LatexType Command
LatexName address
AlignPossible Center
Align Center
Font
Shape Italic
Size Small
EndFont
Preamble
EndPreamble
End