]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/elsarticle.layout
Add Tommaso to credits
[lyx.git] / lib / layouts / elsarticle.layout
index b4f7b79a48d18b83829de33248bfe4c104063fcb..0d6def9392bb7796cc31eb7e6ce1663f9196f3b8 100644 (file)
@@ -1,15 +1,16 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass[elsarticle]{article (Elsevier)}
+#  \DeclareLaTeXClass[elsarticle,natbib.sty,pifont.sty]{article (Elsevier)}
 # elsarticle textclass definition file.
 # Author: Uwe Stöhr (uwestoehr@web.de)
 
-Format 10
+Format 31
 
-Columns                 1
-Sides                   1
-SecNumDepth             3
-TocDepth                3
-DefaultStyle            Standard
+Columns                        1
+Sides                  1
+SecNumDepth            3
+TocDepth               3
+DefaultStyle           Standard
+Provides natbib                1
 
 ClassOptions
        FontSize                10|11|12
@@ -43,28 +44,53 @@ Input stdfloats.inc
 Input stdlists.inc
 Input stdsections.inc
 Input stdstarsections.inc
+Input stdlayouts.inc
 
 NoStyle Chapter
+NoCounter chapter
 NoStyle Chapter*
 
 
 Style Title
        Margin                  Static
        LatexType               Command
+       LatexName               title
+       Category                FrontMatter
        InTitle                 1
        OptionalArgs            0
-       LatexName               title
        ParSkip                 0.4
        ItemSep                 0
        TopSep                  0
        BottomSep               1
        ParSep                  1
        Align                   Center
-       AlignPossible           None
        LabelType               No_Label
        Font
          Size                  Largest
        EndFont
+       HTMLTitle             true
+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
 
 
@@ -72,6 +98,7 @@ Style "Title footnote"
        Margin                  Dynamic
        LatexType               Command
        LatexName               tnotetext
+       Category                FrontMatter
        InTitle                 1
        OptionalArgs            1
        ParSkip                 0.4
@@ -90,6 +117,7 @@ End
 Style Author
        Margin                  Static
        LatexType               Command
+       Category                FrontMatter
        InTitle                 1
        OptionalArgs            1
        LatexName               author
@@ -106,6 +134,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
@@ -113,6 +163,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
@@ -123,6 +195,7 @@ End
 Style Address
        Margin                  Static
        LatexType               Command
+       Category                FrontMatter
        LatexName               address
        InTitle                 1
        OptionalArgs            1
@@ -139,7 +212,7 @@ End
 Style Email
        CopyStyle               Address
        LatexName               ead
-       AlignPossible           None
+       AlignPossible           Block
        Font
          Shape                 Up
        EndFont
@@ -150,6 +223,7 @@ Style Abstract
        Margin                  Static
        LatexType               Environment
        LatexName               abstract
+       Category                FrontMatter
        InTitle                 1
        NextNoIndent            1
        LeftMargin              MMM
@@ -178,6 +252,7 @@ Style Keywords
        Margin                  Dynamic
        LatexType               Environment
        LatexName               keyword
+       Category                FrontMatter
        InTitle                 1
        Align                   Left
        NextNoIndent            1
@@ -198,6 +273,7 @@ Style Bibliography
        Margin                  First_Dynamic
        LatexType               Bib_Environment
        LatexName               thebibliography
+       Category                BackMatter
        NextNoIndent            1
        LeftMargin              MM
        ParSkip                 0.4