]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/elsarticle.layout
Replace styles '(Begin|End)Frontmatter' with environment in elsarticle
[lyx.git] / lib / layouts / elsarticle.layout
index 0adadf190f0f2b3d2a22a9e7ab1cdd60603e6335..d2cef149339ceab7bcc0e8345ebcda37852efca9 100644 (file)
@@ -53,32 +53,22 @@ 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"
+InsetLayout "Flex:Frontmatter"
+       LyXType                 custom
+       LabelString             "Frontmatter"
+       LatexType               Environment
+       LatexName               frontmatter
+       Display                 true
+       Decoration              Classic
+       KeepEmpty               true
+       MultiPar                true
+       ResetsFont              true
        LabelFont
          Series                Bold
          Color                 Green
        EndFont
 End
 
-
-Style EndFrontmatter
-       CopyStyle               BeginFrontmatter
-       LatexName               end{frontmatter}
-       LabelString             "End frontmatter"
-End
-
-
 Style Title
        Margin                  Static
        LatexType               Command
@@ -99,7 +89,6 @@ Style Title
        HTMLTitle               true
 End
 
-
 InsetLayout "Flex:Titlenotemark"
        LyxType                 custom
        LatexType               command