]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/egs.layout
lyx2lyx: Update the emergency value
[lyx.git] / lib / layouts / egs.layout
index bd1638f2156e4faa0e1e1acfff8f53d194c250be..18cac86dcc77c17b349219478af6668ce7aef36f 100644 (file)
@@ -1,20 +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
 
-# General textclass parameters
+
+Format 49
 Columns                 2
 Sides                   1
 PageStyle               Plain
-MaxCounter              Counter_Section
+Provides natbib          1
 
 
 Style Standard
+       Category              MainText
        Margin                Static
        LatexType             Paragraph
        LatexName             dummy
@@ -27,6 +30,7 @@ End
 
 
 Style Section
+       Category              Sectioning
        Margin                Dynamic
        LatexType             Command
        LatexName             section
@@ -38,19 +42,18 @@ Style Section
        ParSep                0.7
        Align                 Block
        AlignPossible         Block, Left
-       LabelType             Counter_Section
-
        Font
          Series              Bold
        EndFont
-
        LabelFont
          Series              Bold
        EndFont
+       TocLevel 1
 End
 
 
 Style Subsection
+       Category              Sectioning
        Margin                Dynamic
        LatexType             Command
        LatexName             subsection
@@ -62,62 +65,37 @@ Style Subsection
        ParSep                0.5
        Align                 Block
        AlignPossible         Block, Left
-       LabelType             Counter_Subsection
-
        Font
          Shape               Up
        EndFont
+       TocLevel 2
 End
 
 
 Style Paragraph
-       Margin                Dynamic
-       LatexType             Command
+       CopyStyle             Subsection
        LatexName             paragraph
-       NextNoIndent          1
-       LabelSep              xxx
        ParSkip               0.4
        TopSep                0.4
        BottomSep             0.4
-       Align                 Block
-       AlignPossible         Block, Left
-       LabelType             Counter_Paragraph
-
-       Font 
+       Font
          Series              Bold
          Size                Normal
        EndFont
-
-       LabelFont 
+       LabelFont
          Series              Bold
          Size                Normal
        EndFont
+       TocLevel 4
 End
 
 
 Style Subparagraph
-       Margin                Dynamic
-       LatexType             Command
+       CopyStyle             Paragraph
        LatexName             subparagraph
        NextNoIndent          0
        LeftMargin            MM
-       LabelSep              xxx
-       ParSkip               0.4
-       TopSep                0.4
-       ParSep                0.4
-       Align                 Block
-       AlignPossible         Block, Left
-       LabelType             Counter_SubParagraph
-
-       Font 
-         Series              Bold
-         Size                Normal
-       EndFont
-
-       LabelFont 
-         Series              Bold
-         Size                Normal
-       EndFont
+       TocLevel 5
 End
 
 
@@ -168,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
@@ -186,11 +165,17 @@ Style Enumerate
        ParSep                0.3
        Align                 Block
        AlignPossible         Block, Left
-       LabelType             Counter_EnumI
+       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
@@ -203,8 +188,11 @@ Style Itemize
        ParSep                0.3
        Align                 Block
        AlignPossible         Block, Left
-       LabelType             Static
-       LabelString           *
+       LabelType             Itemize
+       Argument item:1
+               LabelString   "Custom Item|s"
+               Tooltip       "A customized item string"
+       EndArgument
 End
 
 
@@ -223,9 +211,7 @@ Style Description
        Align                 Block
        AlignPossible         Block, Left
        LabelType             Manual
-       LabelString           MM
-
-       LabelFont 
+       LabelFont
          Series              Bold
        EndFont
 End
@@ -258,7 +244,6 @@ Style Right_Address
        BottomSep             1.5
        ParSep                1.5
        Align                 Left
-       AlignPossible         Left
 End
 
 
@@ -276,6 +261,7 @@ End
 
 
 Style Title
+       Category              FrontMatter
        Margin                Static
        LatexType             Command
        LatexName             title
@@ -287,14 +273,12 @@ Style Title
        Align                 Left
        AlignPossible         Block, Center, Left, Right, Center
        LabelType             No_Label
-       Fill_Top              1
-       Fill_Bottom           1
-
-       Font 
+       Font
          Family              Sans
          Series              Bold
          Size                Largest
        EndFont
+       HTMLTitle             true
 End
 
 
@@ -309,18 +293,18 @@ Style LaTeX_Title
        BottomSep             0
        ParSep                0
        Align                 Center
-       AlignPossible         Center
        LabelType             No_Label
-
-       Font 
+       Font
          Family              Sans
          Series              Bold
          Size                Largest
        EndFont
+       HTMLTitle             true
 End
 
 
 Style Author
+       Category              FrontMatter
        Margin                Static
        LatexType             Command
        LatexName             author
@@ -332,11 +316,9 @@ Style Author
        BottomSep             0.7
        ParSep                0.7
        Align                 Left
-       AlignPossible         Left
        LabelType             Static
-       LabelString           Author:
-
-       LabelFont 
+       LabelString           "Author:"
+       LabelFont
          Series              Bold
          Shape               Italic
          Color               red
@@ -356,16 +338,13 @@ Style Affil
        BottomSep             0.7
        ParSep                0.7
        Align                 Left
-       AlignPossible         Left
        LabelType             Static
-       LabelString           Affilation:
-
-       LabelFont 
+       LabelString           "Affiliation:"
+       LabelFont
          Series              Bold
          Shape               Italic
          Color               red
        EndFont
-
 End
 
 
@@ -381,11 +360,9 @@ Style Journal
        BottomSep             0.7
        ParSep                0.7
        Align                 Left
-       AlignPossible         Left
        LabelType             Static
-       LabelString           Journal:
-
-       LabelFont 
+       LabelString           "Journal:"
+       LabelFont
          Series              Bold
          Shape               Italic
          Color               red
@@ -406,11 +383,9 @@ Style msnumber
        BottomSep             0.7
        ParSep                0.7
        Align                 Left
-       AlignPossible         Left
        LabelType             Static
-       LabelString           MS_number:
-
-       LabelFont 
+       LabelString           "MS_number:"
+       LabelFont
          Series              Bold
          Shape               Italic
          Color               red
@@ -418,6 +393,7 @@ Style msnumber
 End
 
 
+
 Style FirstAuthor
        Margin                Static
        LatexType             Command
@@ -430,16 +406,13 @@ Style FirstAuthor
        BottomSep             0.7
        ParSep                0.7
        Align                 Left
-       AlignPossible         Left
        LabelType             Static
-       LabelString           1st_author_surname:
-       LabelFont 
+       LabelString           "1st_author_surname:"
+       LabelFont
          Series              Bold
          Shape               Italic
          Color               red
        EndFont
-
 End
 
 
@@ -455,11 +428,9 @@ Style Received
        BottomSep             0.7
        ParSep                0.7
        Align                 Left
-       AlignPossible         Left
        LabelType             Static
-       LabelString           Received:
-
-       LabelFont 
+       LabelString           "Received:"
+       LabelFont
          Series              Bold
          Shape               Italic
          Color               red
@@ -479,11 +450,9 @@ Style Accepted
        BottomSep             0.7
        ParSep                0.7
        Align                 Left
-       AlignPossible         Left
        LabelType             Static
-       LabelString           Accepted:
-
-       LabelFont 
+       LabelString           "Accepted:"
+       LabelFont
          Series              Bold
          Shape               Italic
          Color               red
@@ -494,7 +463,7 @@ End
 Style Offsets
        Margin                Static
        LatexType             Command
-       LatexName             offsets 
+       LatexName             offsets
        NextNoIndent          1
        LabelSep              xxx
        LeftMargin            Reprint_reqs_To:x
@@ -503,11 +472,9 @@ Style Offsets
        BottomSep             0.7
        ParSep                0.7
        Align                 Left
-       AlignPossible         Left
        LabelType             Static
-       LabelString           reprint_reqs_to:
-
-       LabelFont 
+       LabelString           "reprint_reqs_to:"
+       LabelFont
          Series              Bold
          Shape               Italic
          Color               red
@@ -526,12 +493,12 @@ Style Date
        BottomSep             0.5
        ParSep                0.5
        Align                 Left
-       AlignPossible         Left
        LabelType             No_Label
 End
 
 
-Style Abstract 
+Style Abstract
+       Category              FrontMatter
        Margin                First_Dynamic
        LatexType             Environment
        LatexName             abstract
@@ -545,15 +512,15 @@ Style Abstract
        Align                 Block
        AlignPossible         Block, Left
        LabelType             Static
-       LabelString           Abstract.  
-
-       LabelFont 
+       LabelString           "Abstract."
+       LabelFont
          Series              Bold
        EndFont
-End 
+End
 
 
 Style Acknowledgements
+       Category              BackMatter
        Margin                First_Dynamic
        LatexType             Environment
        LatexName             acknowledgements
@@ -567,17 +534,15 @@ Style Acknowledgements
        Align                 Block
        AlignPossible         Block, Left
        LabelType             Static
-       LabelString           Acknowledgements. 
-
-       Font 
+       LabelString           "Acknowledgements."
+       Font
          Size                Small
        EndFont
-
-       LabelFont 
+       LabelFont
          Shape               Italic
          Size                Small
        EndFont
-End 
+End
 
 
 Style Acknowledgement
@@ -594,20 +559,19 @@ Style Acknowledgement
        Align                 Block
        AlignPossible         Block, Left
        LabelType             Static
-       LabelString           Acknowledgement. 
-
-       Font 
+       LabelString           "Acknowledgement."
+       Font
          Size                Small
        EndFont
-
-       LabelFont 
+       LabelFont
          Shape               Italic
          Size                Small
        EndFont
-End 
+End
 
 
 Style Bibliography
+       Category              BackMatter
        Margin                First_Dynamic
        LatexType             Bib_Environment
        LatexName             thebibliography
@@ -621,31 +585,14 @@ Style Bibliography
        Align                 Block
        AlignPossible         Block, Left
        LabelType             Bibliography
-       LabelString           References 
+       LabelString           "References"
        LabelBottomSep    0.7
-
-       LabelFont 
+       LabelFont
          Series              Bold
        EndFont
 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*
@@ -661,8 +608,7 @@ Style Section*
        Align                 Block
        AlignPossible         Block, Left, Right, Center
        LabelType             No_Label
-
-       Font 
+       Font
          Series              Bold
 #    Size               Larger
        EndFont
@@ -697,8 +643,7 @@ Style LaTeX
        AlignPossible         Block, Left, Right, Center
        LabelType             No_Label
        FreeSpacing           1
-
-       Font 
+       Font
          Color               red
        EndFont
 End
@@ -717,12 +662,14 @@ Style LyX-Code
        AlignPossible         Block, Left, Right, Center
        LabelType             No_Label
        FreeSpacing           1
-
-       Font 
+       Font
          Family              Typewriter
        EndFont
 End
 
 
+Input stdinsets.inc
 Input stdfloats.inc
+Input numarticle.inc
 Input stdcounters.inc
+Input stdrefprefix.inc