]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/elsarticle.layout
Update tex2lyx test files
[lyx.git] / lib / layouts / elsarticle.layout
index ae4058c3d96f282758df412c3918cef7018ad781..0b1ca9a5a1019422da06d89f397dd9ef829bb00f 100644 (file)
@@ -1,16 +1,18 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass[elsarticle]{article (Elsevier)}
+#  \DeclareLaTeXClass[elsarticle,natbib.sty,pifont.sty]{Elsevier}
+#  \DeclareCategory{Articles}
 # elsarticle textclass definition file.
 # Author: Uwe Stöhr (uwestoehr@web.de)
 
-Format 25
+Format 40
 
-Columns                 1
-Sides                   1
-SecNumDepth             3
-TocDepth                3
-DefaultStyle            Standard
-Provides natbib 1
+Columns                        1
+Sides                  1
+SecNumDepth            3
+TocDepth               3
+DefaultStyle           Standard
+Provides natbib                1
+Provides refstyle      1
 
 ClassOptions
        FontSize                10|11|12
@@ -47,15 +49,41 @@ Input stdstarsections.inc
 Input stdlayouts.inc
 
 NoStyle Chapter
+NoCounter chapter
 NoStyle Chapter*
 
 
+Style BeginFrontmatter
+  Margin       Dynamic
+  LatexType    Command
+  LatexName    begin{frontmatter}
+  Category     FrontMatter
+  KeepEmpty    1
+  ParSkip      0.4
+  Align                Block
+  LabelSep     xx
+  LabelType    Static
+  LabelString  "Begin frontmatter"
+  LabelFont
+    Series     Bold
+    Color      Green
+  EndFont
+End
+
+
+Style EndFrontmatter
+  CopyStyle    BeginFrontmatter
+  LatexName    end{frontmatter}
+  LabelString  "End frontmatter"
+End
+
+
 Style Title
        Margin                  Static
        LatexType               Command
        LatexName               title
        Category                FrontMatter
-       InTitle                 1
+       InTitle                 0
        OptionalArgs            0
        ParSkip                 0.4
        ItemSep                 0
@@ -71,7 +99,7 @@ Style Title
 End
 
 
-InsetLayout Titlenotemark
+InsetLayout "Flex:Titlenotemark"
        LyxType                 custom
        LatexType               command
        LatexName               tnoteref
@@ -98,7 +126,7 @@ Style "Title footnote"
        LatexType               Command
        LatexName               tnotetext
        Category                FrontMatter
-       InTitle                 1
+       InTitle                 0
        OptionalArgs            1
        ParSkip                 0.4
        BottomSep               0.5
@@ -117,7 +145,7 @@ Style Author
        Margin                  Static
        LatexType               Command
        Category                FrontMatter
-       InTitle                 1
+       InTitle                 0
        OptionalArgs            1
        LatexName               author
        LabelSep                xxx
@@ -133,7 +161,7 @@ Style Author
 End
 
 
-InsetLayout Authormark
+InsetLayout "Flex:Authormark"
        LyxType                 custom
        LatexType               command
        LatexName               fnref
@@ -162,7 +190,7 @@ Style "Author footnote"
 End
 
 
-InsetLayout CorAuthormark
+InsetLayout "Flex:CorAuthormark"
        LyxType                 custom
        LatexType               command
        LatexName               corref
@@ -196,7 +224,7 @@ Style Address
        LatexType               Command
        Category                FrontMatter
        LatexName               address
-       InTitle                 1
+       InTitle                 0
        OptionalArgs            1
        ParSkip                 0.4
        Align                   Center
@@ -223,7 +251,7 @@ Style Abstract
        LatexType               Environment
        LatexName               abstract
        Category                FrontMatter
-       InTitle                 1
+       InTitle                 0
        NextNoIndent            1
        LeftMargin              MMM
        RightMargin             MMM
@@ -252,7 +280,7 @@ Style Keywords
        LatexType               Environment
        LatexName               keyword
        Category                FrontMatter
-       InTitle                 1
+       InTitle                 0
        Align                   Left
        NextNoIndent            1
        BottomSep               0.5