]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/elsarticle.layout
Honor trailing spaces in LabelString and friends
[lyx.git] / lib / layouts / elsarticle.layout
index f3360c4d0d1f674fd794698fd222d95664929702..ad4ccacd64ef5981ba84d7204b65906173fa8cc6 100644 (file)
@@ -4,12 +4,12 @@
 # elsarticle textclass definition file.
 # Author: Uwe Stöhr (uwestoehr@web.de)
 
-Format 41
+Format 64
 
-Columns                        1
-Sides                  1
-SecNumDepth            3
-TocDepth               3
+Columns                                1
+Sides                          1
+SecNumDepth                    3
+TocDepth                       3
 DefaultStyle           Standard
 Provides natbib                1
 Provides refstyle      1
@@ -31,13 +31,14 @@ EndFont
 
 
 Style Standard
+       Category                MainText
        Margin                  Static
        LatexType               Paragraph
        LatexName               dummy
        ParIndent               MM
        ParSkip                 0.4
        Align                   Block
-       AlignPossible           Block, Left, Right, Center
+       AlignPossible   Block, Left, Right, Center
        LabelType               No_Label
 End
 
@@ -48,33 +49,33 @@ Input stdsections.inc
 Input stdstarsections.inc
 Input stdlayouts.inc
 
-NoStyle Chapter
-NoCounter chapter
-NoStyle Chapter*
+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
+       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"
+       CopyStyle               BeginFrontmatter
+       LatexName               end{frontmatter}
+       LabelString             "End frontmatter"
 End
 
 
@@ -95,13 +96,14 @@ Style Title
        Font
          Size                  Largest
        EndFont
-       HTMLTitle             true
+       HTMLTitle               true
 End
 
 
 InsetLayout "Flex:Titlenotemark"
        LyxType                 custom
        LatexType               command
+       ForcePlain              1
        LatexName               tnoteref
        LabelString             "Titlenote mark"
        Font
@@ -128,7 +130,7 @@ Style "Title footnote"
        Category                FrontMatter
        InTitle                 0
        Argument 1
-         LabelString           "Footnote Label"
+         LabelString   "Footnote Label"
          Tooltip               "Label you refer to in the title"
        EndArgument
        ParSkip                 0.4
@@ -150,7 +152,7 @@ Style Author
        Category                FrontMatter
        InTitle                 0
        Argument 1
-         LabelString           "Author Label"
+         LabelString   "Author Label"
          Tooltip               "Label you will reference in the address"
        EndArgument
        LatexName               author
@@ -170,6 +172,7 @@ End
 InsetLayout "Flex:Authormark"
        LyxType                 custom
        LatexType               command
+       ForcePlain              1
        LatexName               fnref
        LabelString             "Author mark"
        Font
@@ -194,30 +197,18 @@ Style "Author footnote"
        LatexName               fntext
        LabelString             "Author footnote:"
        Argument 1
-         LabelString           "Author Footnote Label"
+         LabelString   "Author Footnote Label"
          Tooltip               "Label you refer to for an author"
        EndArgument
 End
 
 
 InsetLayout "Flex:CorAuthormark"
-       LyxType                 custom
-       LatexType               command
+       CopyStyle               "Flex:Authormark"
        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
 
@@ -236,12 +227,12 @@ Style Address
        LatexName               address
        InTitle                 0
        Argument 1
-         LabelString           "Address Label"
+         LabelString   "Address Label"
          Tooltip               "Label of the author you refer to"
        EndArgument
        ParSkip                 0.4
        Align                   Center
-       AlignPossible           Left, Right
+       AlignPossible   Left, Right
        LabelType               No_Label
        Font
          Shape                 Italic
@@ -252,10 +243,10 @@ End
 Style Email
        CopyStyle               Address
        LatexName               ead
-       AlignPossible           Block
+       AlignPossible   Block
        Argument 1
-         LabelString           "Internet"
-         Tooltip               "if content is 'url', email becomes an Internet address"
+         LabelString   "Internet"
+         Tooltip               "If content is 'url', email becomes an Internet address"
        EndArgument
        Font
          Shape                 Up
@@ -269,7 +260,7 @@ Style Abstract
        LatexName               abstract
        Category                FrontMatter
        InTitle                 0
-       NextNoIndent            1
+       NextNoIndent    1
        LeftMargin              MMM
        RightMargin             MMM
        ParIndent               MM
@@ -278,10 +269,10 @@ Style Abstract
        BottomSep               0.7
        ParSep                  0
        Align                   Block
-       AlignPossible           Block
-       LabelType               Centered_Top_Environment
+       AlignPossible   Block
+       LabelType               Centered
        LabelString             "Abstract"
-       LabelBottomSep          0.5
+       LabelBottomSep  0.5
        Font
          Size                  Small
        EndFont
@@ -298,8 +289,7 @@ Style Keywords
        LatexName               keyword
        Category                FrontMatter
        InTitle                 0
-       Align                   Left
-       NextNoIndent            1
+       NextNoIndent    1
        BottomSep               0.5
        ParSkip                 0.4
        Align                   Block
@@ -318,7 +308,8 @@ Style Bibliography
        LatexType               Bib_Environment
        LatexName               thebibliography
        Category                BackMatter
-       NextNoIndent            1
+       NextNoIndent    1
+       ToggleIndent    Never
        LeftMargin              MM
        ParSkip                 0.4
        ItemSep                 0
@@ -326,10 +317,10 @@ Style Bibliography
        BottomSep               0.7
        ParSep                  0.5
        Align                   Block
-       AlignPossible           Block, Left
+       AlignPossible   Block, Left
        LabelType               Bibliography
        LabelString             "References"
-       LabelBottomSep          1.2
+       LabelBottomSep  1.2
        LabelFont
          Series                Bold
          Size                  Larger