]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/elsarticle.layout
Allow literate documents other than noweb to work out of the box. Currently
[lyx.git] / lib / layouts / elsarticle.layout
index 7b39f0fd11603ad2bc0fc31a3861b84b3bcb7ddd..74772c5479e61edc822ad320f475199cf24acef6 100644 (file)
@@ -3,13 +3,14 @@
 # elsarticle textclass definition file.
 # Author: Uwe Stöhr (uwestoehr@web.de)
 
-Format 8
+Format 11
 
 Columns                 1
 Sides                   1
 SecNumDepth             3
 TocDepth                3
 DefaultStyle            Standard
+Provides natbib 1
 
 ClassOptions
        FontSize                10|11|12
@@ -38,8 +39,8 @@ Style Standard
        LabelType               No_Label
 End
 
-
-Input stdtitle.inc
+Input stdcounters.inc
+Input stdfloats.inc
 Input stdlists.inc
 Input stdsections.inc
 Input stdstarsections.inc
@@ -47,10 +48,46 @@ Input stdstarsections.inc
 NoStyle Chapter
 NoStyle Chapter*
 
+
 Style Title
-       CopyStyle               Title
+       Margin                  Static
+       LatexType               Command
+       LatexName               title
+       Category                FrontMatter
+       InTitle                 1
        OptionalArgs            0
-       AlignPossible           None
+       ParSkip                 0.4
+       ItemSep                 0
+       TopSep                  0
+       BottomSep               1
+       ParSep                  1
+       Align                   Center
+       LabelType               No_Label
+       Font
+         Size                  Largest
+       EndFont
+End
+
+
+InsetLayout Titlenotemark
+       LyxType                 custom
+       LatexType               command
+       LatexName               tnoteref
+       LabelString             "Titlenote mark"
+       Font
+         Color                 foreground
+         Size                  Small
+         Family                Roman
+         Shape                 Up
+         Series                Medium
+         Misc                  No_Emph
+         Misc                  No_Noun
+         Misc                  No_Bar
+       EndFont
+       LabelFont
+         Color                 green
+         Size                  Small
+       EndFont
 End
 
 
@@ -58,6 +95,7 @@ Style "Title footnote"
        Margin                  Dynamic
        LatexType               Command
        LatexName               tnotetext
+       Category                FrontMatter
        InTitle                 1
        OptionalArgs            1
        ParSkip                 0.4
@@ -76,6 +114,7 @@ End
 Style Author
        Margin                  Static
        LatexType               Command
+       Category                FrontMatter
        InTitle                 1
        OptionalArgs            1
        LatexName               author
@@ -92,6 +131,28 @@ Style Author
 End
 
 
+InsetLayout Authormark
+       LyxType                 custom
+       LatexType               command
+       LatexName               fnref
+       LabelString             "Author mark"
+       Font
+         Color                 foreground
+         Size                  Small
+         Family                Roman
+         Shape                 Up
+         Series                Medium
+         Misc                  No_Emph
+         Misc                  No_Noun
+         Misc                  No_Bar
+       EndFont
+       LabelFont
+         Color                 latex
+         Size                  Small
+       EndFont
+End
+
+
 Style "Author footnote"
        CopyStyle               "Title footnote"
        LatexName               fntext
@@ -99,6 +160,28 @@ Style "Author footnote"
 End
 
 
+InsetLayout CorAuthormark
+       LyxType                 custom
+       LatexType               command
+       LatexName               corref
+       LabelString             "CorAuthor mark"
+       Font
+         Color                 foreground
+         Size                  Small
+         Family                Roman
+         Shape                 Up
+         Series                Medium
+         Misc                  No_Emph
+         Misc                  No_Noun
+         Misc                  No_Bar
+       EndFont
+       LabelFont
+         Color                 blue
+         Size                  Small
+       EndFont
+End
+
+
 Style "Corresponding author"
        CopyStyle               "Title footnote"
        LatexName               cortext
@@ -109,6 +192,7 @@ End
 Style Address
        Margin                  Static
        LatexType               Command
+       Category                FrontMatter
        LatexName               address
        InTitle                 1
        OptionalArgs            1
@@ -125,7 +209,7 @@ End
 Style Email
        CopyStyle               Address
        LatexName               ead
-       AlignPossible           None
+       AlignPossible           Block
        Font
          Shape                 Up
        EndFont
@@ -136,6 +220,7 @@ Style Abstract
        Margin                  Static
        LatexType               Environment
        LatexName               abstract
+       Category                FrontMatter
        InTitle                 1
        NextNoIndent            1
        LeftMargin              MMM
@@ -164,6 +249,7 @@ Style Keywords
        Margin                  Dynamic
        LatexType               Environment
        LatexName               keyword
+       Category                FrontMatter
        InTitle                 1
        Align                   Left
        NextNoIndent            1
@@ -184,6 +270,7 @@ Style Bibliography
        Margin                  First_Dynamic
        LatexType               Bib_Environment
        LatexName               thebibliography
+       Category                BackMatter
        NextNoIndent            1
        LeftMargin              MM
        ParSkip                 0.4
@@ -202,7 +289,3 @@ Style Bibliography
        EndFont
 End
 
-
-Input stdfloats.inc
-Input stdcounters.inc
-