]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/elsarticle.layout
Add Tommaso to credits
[lyx.git] / lib / layouts / elsarticle.layout
index 7b39f0fd11603ad2bc0fc31a3861b84b3bcb7ddd..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 8
+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
@@ -38,19 +39,58 @@ Style Standard
        LabelType               No_Label
 End
 
-
-Input stdtitle.inc
+Input stdcounters.inc
+Input stdfloats.inc
 Input stdlists.inc
 Input stdsections.inc
 Input stdstarsections.inc
+Input stdlayouts.inc
 
 NoStyle Chapter
+NoCounter 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
+       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
 
 
@@ -58,6 +98,7 @@ Style "Title footnote"
        Margin                  Dynamic
        LatexType               Command
        LatexName               tnotetext
+       Category                FrontMatter
        InTitle                 1
        OptionalArgs            1
        ParSkip                 0.4
@@ -76,6 +117,7 @@ End
 Style Author
        Margin                  Static
        LatexType               Command
+       Category                FrontMatter
        InTitle                 1
        OptionalArgs            1
        LatexName               author
@@ -92,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
@@ -99,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
@@ -109,6 +195,7 @@ End
 Style Address
        Margin                  Static
        LatexType               Command
+       Category                FrontMatter
        LatexName               address
        InTitle                 1
        OptionalArgs            1
@@ -125,7 +212,7 @@ End
 Style Email
        CopyStyle               Address
        LatexName               ead
-       AlignPossible           None
+       AlignPossible           Block
        Font
          Shape                 Up
        EndFont
@@ -136,6 +223,7 @@ Style Abstract
        Margin                  Static
        LatexType               Environment
        LatexName               abstract
+       Category                FrontMatter
        InTitle                 1
        NextNoIndent            1
        LeftMargin              MMM
@@ -164,6 +252,7 @@ Style Keywords
        Margin                  Dynamic
        LatexType               Environment
        LatexName               keyword
+       Category                FrontMatter
        InTitle                 1
        Align                   Left
        NextNoIndent            1
@@ -184,6 +273,7 @@ Style Bibliography
        Margin                  First_Dynamic
        LatexType               Bib_Environment
        LatexName               thebibliography
+       Category                BackMatter
        NextNoIndent            1
        LeftMargin              MM
        ParSkip                 0.4
@@ -202,7 +292,3 @@ Style Bibliography
        EndFont
 End
 
-
-Input stdfloats.inc
-Input stdcounters.inc
-