]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/egs.layout
RJournal template and layout: move ERTs to layout
[lyx.git] / lib / layouts / egs.layout
index c6b0583a83adef30bd851b770c096a4b728db65b..c3c7222b0ff99436eddde0d16f4c56f731b213d3 100644 (file)
@@ -1,19 +1,23 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass{article (European Geophysical Society) egs}
+#  \DeclareLaTeXClass{European Geophysical Society (EGS)}
+#  \DeclareCategory{Articles}
 # egs (article) textclass definition file for LyX.
 # Get egs.cls from EGS website under www.copernicus.org
 # Author : Matthias Ettrich <ettrich@informatik.uni-tuebingen.de>
-# Transposed by Pascal André <andre@via.ecp.fr>
+# Transposed by Pascal André <andre@via.ecp.fr>
 # Heavily modifed and enhanced by several developers.
 # Converted article -> egs Martin Vermeer
 
 
+Format 45
 Columns                 2
 Sides                   1
 PageStyle               Plain
+Provides natbib          1
 
 
 Style Standard
+       Category              MainText
        Margin                Static
        LatexType             Paragraph
        LatexName             dummy
@@ -26,6 +30,7 @@ End
 
 
 Style Section
+       Category              Sectioning
        Margin                Dynamic
        LatexType             Command
        LatexName             section
@@ -43,10 +48,12 @@ Style Section
        LabelFont
          Series              Bold
        EndFont
+       TocLevel 1
 End
 
 
 Style Subsection
+       Category              Sectioning
        Margin                Dynamic
        LatexType             Command
        LatexName             subsection
@@ -61,6 +68,7 @@ Style Subsection
        Font
          Shape               Up
        EndFont
+       TocLevel 2
 End
 
 
@@ -78,6 +86,7 @@ Style Paragraph
          Series              Bold
          Size                Normal
        EndFont
+       TocLevel 4
 End
 
 
@@ -86,6 +95,7 @@ Style Subparagraph
        LatexName             subparagraph
        NextNoIndent          0
        LeftMargin            MM
+       TocLevel 5
 End
 
 
@@ -136,11 +146,12 @@ Style List
        Align                 Block
        AlignPossible         Block, Left
        LabelType             Manual
-       LabelString           00.00.0000
+       LabelString           "00.00.0000"
 End
 
 
 Style Enumerate
+       Category              List
        Margin                Static
        LatexType             Item_Environment
        LatexName             enumerate
@@ -155,10 +166,16 @@ Style Enumerate
        Align                 Block
        AlignPossible         Block, Left
        LabelType             Enumerate
+       RefPrefix             enu
+       Argument item:1
+               LabelString   "Custom Item|s"
+               Tooltip       "A customized item string"
+       EndArgument
 End
 
 
 Style Itemize
+       Category              List
        Margin                Static
        LatexType             Item_Environment
        LatexName             itemize
@@ -172,7 +189,10 @@ Style Itemize
        Align                 Block
        AlignPossible         Block, Left
        LabelType             Itemize
-       LabelString           *
+       Argument item:1
+               LabelString   "Custom Item|s"
+               Tooltip       "A customized item string"
+       EndArgument
 End
 
 
@@ -191,7 +211,6 @@ Style Description
        Align                 Block
        AlignPossible         Block, Left
        LabelType             Manual
-       LabelString           MM
        LabelFont
          Series              Bold
        EndFont
@@ -225,7 +244,6 @@ Style Right_Address
        BottomSep             1.5
        ParSep                1.5
        Align                 Left
-       AlignPossible         Left
 End
 
 
@@ -243,6 +261,7 @@ End
 
 
 Style Title
+       Category              FrontMatter
        Margin                Static
        LatexType             Command
        LatexName             title
@@ -254,13 +273,12 @@ Style Title
        Align                 Left
        AlignPossible         Block, Center, Left, Right, Center
        LabelType             No_Label
-       Fill_Top              1
-       Fill_Bottom           1
        Font
          Family              Sans
          Series              Bold
          Size                Largest
        EndFont
+       HTMLTitle             true
 End
 
 
@@ -275,17 +293,18 @@ Style LaTeX_Title
        BottomSep             0
        ParSep                0
        Align                 Center
-       AlignPossible         Center
        LabelType             No_Label
        Font
          Family              Sans
          Series              Bold
          Size                Largest
        EndFont
+       HTMLTitle             true
 End
 
 
 Style Author
+       Category              FrontMatter
        Margin                Static
        LatexType             Command
        LatexName             author
@@ -297,9 +316,8 @@ Style Author
        BottomSep             0.7
        ParSep                0.7
        Align                 Left
-       AlignPossible         Left
        LabelType             Static
-       LabelString           Author:
+       LabelString           "Author:"
        LabelFont
          Series              Bold
          Shape               Italic
@@ -320,9 +338,8 @@ Style Affil
        BottomSep             0.7
        ParSep                0.7
        Align                 Left
-       AlignPossible         Left
        LabelType             Static
-       LabelString           Affilation:
+       LabelString           "Affiliation:"
        LabelFont
          Series              Bold
          Shape               Italic
@@ -343,9 +360,8 @@ Style Journal
        BottomSep             0.7
        ParSep                0.7
        Align                 Left
-       AlignPossible         Left
        LabelType             Static
-       LabelString           Journal:
+       LabelString           "Journal:"
        LabelFont
          Series              Bold
          Shape               Italic
@@ -367,9 +383,8 @@ Style msnumber
        BottomSep             0.7
        ParSep                0.7
        Align                 Left
-       AlignPossible         Left
        LabelType             Static
-       LabelString           MS_number:
+       LabelString           "MS_number:"
        LabelFont
          Series              Bold
          Shape               Italic
@@ -391,9 +406,8 @@ Style FirstAuthor
        BottomSep             0.7
        ParSep                0.7
        Align                 Left
-       AlignPossible         Left
        LabelType             Static
-       LabelString           1st_author_surname:
+       LabelString           "1st_author_surname:"
        LabelFont
          Series              Bold
          Shape               Italic
@@ -414,9 +428,8 @@ Style Received
        BottomSep             0.7
        ParSep                0.7
        Align                 Left
-       AlignPossible         Left
        LabelType             Static
-       LabelString           Received:
+       LabelString           "Received:"
        LabelFont
          Series              Bold
          Shape               Italic
@@ -437,9 +450,8 @@ Style Accepted
        BottomSep             0.7
        ParSep                0.7
        Align                 Left
-       AlignPossible         Left
        LabelType             Static
-       LabelString           Accepted:
+       LabelString           "Accepted:"
        LabelFont
          Series              Bold
          Shape               Italic
@@ -460,9 +472,8 @@ Style Offsets
        BottomSep             0.7
        ParSep                0.7
        Align                 Left
-       AlignPossible         Left
        LabelType             Static
-       LabelString           reprint_reqs_to:
+       LabelString           "reprint_reqs_to:"
        LabelFont
          Series              Bold
          Shape               Italic
@@ -482,12 +493,12 @@ Style Date
        BottomSep             0.5
        ParSep                0.5
        Align                 Left
-       AlignPossible         Left
        LabelType             No_Label
 End
 
 
 Style Abstract
+       Category              FrontMatter
        Margin                First_Dynamic
        LatexType             Environment
        LatexName             abstract
@@ -501,7 +512,7 @@ Style Abstract
        Align                 Block
        AlignPossible         Block, Left
        LabelType             Static
-       LabelString           Abstract.
+       LabelString           "Abstract."
        LabelFont
          Series              Bold
        EndFont
@@ -509,6 +520,7 @@ End
 
 
 Style Acknowledgements
+       Category              BackMatter
        Margin                First_Dynamic
        LatexType             Environment
        LatexName             acknowledgements
@@ -522,7 +534,7 @@ Style Acknowledgements
        Align                 Block
        AlignPossible         Block, Left
        LabelType             Static
-       LabelString           Acknowledgements.
+       LabelString           "Acknowledgements."
        Font
          Size                Small
        EndFont
@@ -547,7 +559,7 @@ Style Acknowledgement
        Align                 Block
        AlignPossible         Block, Left
        LabelType             Static
-       LabelString           Acknowledgement.
+       LabelString           "Acknowledgement."
        Font
          Size                Small
        EndFont
@@ -559,6 +571,7 @@ End
 
 
 Style Bibliography
+       Category              BackMatter
        Margin                First_Dynamic
        LatexType             Bib_Environment
        LatexName             thebibliography
@@ -572,7 +585,7 @@ Style Bibliography
        Align                 Block
        AlignPossible         Block, Left
        LabelType             Bibliography
-       LabelString           References
+       LabelString           "References"
        LabelBottomSep    0.7
        LabelFont
          Series              Bold
@@ -580,21 +593,6 @@ Style Bibliography
 End
 
 
-Style Caption
-       Margin                First_Dynamic
-       LatexType             Command
-       LatexName             caption
-       LabelSep              xx
-       ParSkip               0.4
-       TopSep                0.5
-       Align                 Block
-       AlignPossible         Block, Left
-       LabelType             Sensitive
-       LabelString           Caption
-       LabelFont
-         Series              Bold
-       EndFont
-End
 
 
 Style Section*
@@ -670,6 +668,8 @@ Style LyX-Code
 End
 
 
+Input stdinsets.inc
 Input stdfloats.inc
 Input numarticle.inc
 Input stdcounters.inc
+Input stdrefprefix.inc