]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/egs.layout
layouts, templates, examples: port my latest changes to trunk
[lyx.git] / lib / layouts / egs.layout
index 207cb7c8d9a0b7b2acd0300faa591804f91c476d..bd6025538cef01935a0960ae0e1c6c4973ca116e 100644 (file)
@@ -1,19 +1,20 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass{article (European Geophysical Society) egs}
+#  \DeclareLaTeXClass{article (European Geophysical Society)}
 # 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 35
 Columns                 2
 Sides                   1
 PageStyle               Plain
-MaxCounter              Counter_Section
+Provides natbib          1
+
 
-# Standard style definition
 Style Standard
        Margin                Static
        LatexType             Paragraph
@@ -25,7 +26,7 @@ Style Standard
        LabelType             No_Label
 End
 
-# Section style definition
+
 Style Section
        Margin                Dynamic
        LatexType             Command
@@ -38,20 +39,16 @@ Style Section
        ParSep                0.7
        Align                 Block
        AlignPossible         Block, Left
-       LabelType             Counter_Section
-
-       # standard font definition
        Font
          Series              Bold
        EndFont
-
-       # label font definition
        LabelFont
          Series              Bold
        EndFont
+       TocLevel 1
 End
 
-# Subsection style definition
+
 Style Subsection
        Margin                Dynamic
        LatexType             Command
@@ -64,70 +61,40 @@ Style Subsection
        ParSep                0.5
        Align                 Block
        AlignPossible         Block, Left
-       LabelType             Counter_Subsection
-
        Font
          Shape               Up
        EndFont
-
+       TocLevel 2
 End
 
-# Paragraph style definition
+
 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
-
-       # standard font definition
-       Font 
+       Font
          Series              Bold
          Size                Normal
        EndFont
-
-       # label font definition
-       LabelFont 
+       LabelFont
          Series              Bold
          Size                Normal
        EndFont
+       TocLevel 4
 End
 
-# Subparagraph style definition
+
 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
-
-       # standard font definition
-       Font 
-         Series              Bold
-         Size                Normal
-       EndFont
-
-       # label font definition
-       LabelFont 
-         Series              Bold
-         Size                Normal
-       EndFont
+       TocLevel 5
 End
 
-# Quotation style definition
+
 Style Quotation
        Margin                Static
        LatexType             Environment
@@ -145,7 +112,7 @@ Style Quotation
        AlignPossible         Block, Left, Right, Center
 End
 
-# Quote style definition
+
 Style Quote
        Margin                Static
        LatexType             Environment
@@ -161,7 +128,7 @@ Style Quote
        LabelType             No_Label
 End
 
-# List style definition
+
 Style List
        Margin                Manual
        LatexType             List_Environment
@@ -175,10 +142,10 @@ Style List
        Align                 Block
        AlignPossible         Block, Left
        LabelType             Manual
-       LabelString           00.00.0000
+       LabelString           "00.00.0000"
 End
 
-# Enumerate style definition
+
 Style Enumerate
        Margin                Static
        LatexType             Item_Environment
@@ -193,10 +160,11 @@ Style Enumerate
        ParSep                0.3
        Align                 Block
        AlignPossible         Block, Left
-       LabelType             Counter_EnumI
+       LabelType             Enumerate
+       RefPrefix             enu
 End
 
-# Itemize style definition
+
 Style Itemize
        Margin                Static
        LatexType             Item_Environment
@@ -210,11 +178,11 @@ Style Itemize
        ParSep                0.3
        Align                 Block
        AlignPossible         Block, Left
-       LabelType             Static
-       LabelString           *
+       LabelType             Itemize
+       LabelString           "*"
 End
 
-# Description style definition
+
 Style Description
        Margin                First_Dynamic
        LatexType             Item_environment
@@ -230,15 +198,13 @@ Style Description
        Align                 Block
        AlignPossible         Block, Left
        LabelType             Manual
-       LabelString           MM
-
-       # label font definition
-       LabelFont 
+       LabelString           "MM"
+       LabelFont
          Series              Bold
        EndFont
 End
 
-# Verse style definition
+
 Style Verse
 # LaTeX type is first dynamic because of LaTeX implementation.
 # In LyX this does not make sense.
@@ -257,7 +223,7 @@ Style Verse
        LabelType             No_Label
 End
 
-# Right Address style
+
 Style Right_Address
        Margin                Right_Address_Box
        LatexType             Command
@@ -266,10 +232,9 @@ Style Right_Address
        BottomSep             1.5
        ParSep                1.5
        Align                 Left
-       AlignPossible         Left
 End
 
-# Address style definition
+
 Style Address
        Margin                Static
        LatexType             Command
@@ -282,7 +247,7 @@ Style Address
        LabelType             No_Label
 End
 
-# Title style definition
+
 Style Title
        Margin                Static
        LatexType             Command
@@ -295,20 +260,15 @@ Style Title
        Align                 Left
        AlignPossible         Block, Center, Left, Right, Center
        LabelType             No_Label
-       Fill_Top              1
-       Fill_Bottom           1
-
-       # standard font definition
-       Font 
+       Font
          Family              Sans
          Series              Bold
          Size                Largest
        EndFont
-
+       HTMLTitle             true
 End
 
 
-# Title style definition
 Style LaTeX_Title
        Margin                Static
        LatexType             Command
@@ -320,19 +280,16 @@ Style LaTeX_Title
        BottomSep             0
        ParSep                0
        Align                 Center
-       AlignPossible         Center
        LabelType             No_Label
-
-       # standard font definition
-       Font 
+       Font
          Family              Sans
          Series              Bold
          Size                Largest
        EndFont
-
+       HTMLTitle             true
 End
 
-# Author style definition
+
 Style Author
        Margin                Static
        LatexType             Command
@@ -345,20 +302,16 @@ Style Author
        BottomSep             0.7
        ParSep                0.7
        Align                 Left
-       AlignPossible         Left
        LabelType             Static
-       LabelString           Author:
-
-       # standard font definition
-       LabelFont 
+       LabelString           "Author:"
+       LabelFont
          Series              Bold
          Shape               Italic
          Color               red
        EndFont
-
 End
 
-# Affiliation style definition
+
 Style Affil
        Margin                Static
        LatexType             Command
@@ -371,20 +324,16 @@ Style Affil
        BottomSep             0.7
        ParSep                0.7
        Align                 Left
-       AlignPossible         Left
        LabelType             Static
-       LabelString           Affilation:
-
-       # standard font definition
-       LabelFont 
+       LabelString           "Affiliation:"
+       LabelFont
          Series              Bold
          Shape               Italic
          Color               red
        EndFont
-
 End
 
-# journal name style definition
+
 Style Journal
        Margin                Static
        LatexType             Command
@@ -397,20 +346,16 @@ Style Journal
        BottomSep             0.7
        ParSep                0.7
        Align                 Left
-       AlignPossible         Left
        LabelType             Static
-       LabelString           Journal:
-
-       # standard font definition
-       LabelFont 
+       LabelString           "Journal:"
+       LabelFont
          Series              Bold
          Shape               Italic
          Color               red
        EndFont
-
 End
 
-# msnumber style definition
+
 Style msnumber
        Margin                Static
        LatexType             Command
@@ -424,21 +369,17 @@ Style msnumber
        BottomSep             0.7
        ParSep                0.7
        Align                 Left
-       AlignPossible         Left
        LabelType             Static
-       LabelString           MS_number:
-
-       # standard font definition
-       LabelFont 
+       LabelString           "MS_number:"
+       LabelFont
          Series              Bold
          Shape               Italic
          Color               red
        EndFont
-
 End
 
 
-# FirstAuthor style definition
+
 Style FirstAuthor
        Margin                Static
        LatexType             Command
@@ -451,20 +392,16 @@ Style FirstAuthor
        BottomSep             0.7
        ParSep                0.7
        Align                 Left
-       AlignPossible         Left
        LabelType             Static
-       LabelString           1st_author_surname:
-       # standard font definition
-       LabelFont 
+       LabelString           "1st_author_surname:"
+       LabelFont
          Series              Bold
          Shape               Italic
          Color               red
        EndFont
-
 End
 
-# Recieved style definition
+
 Style Received
        Margin                Static
        LatexType             Command
@@ -477,20 +414,16 @@ Style Received
        BottomSep             0.7
        ParSep                0.7
        Align                 Left
-       AlignPossible         Left
        LabelType             Static
-       LabelString           Received:
-
-       # standard font definition
-       LabelFont 
+       LabelString           "Received:"
+       LabelFont
          Series              Bold
          Shape               Italic
          Color               red
        EndFont
-
 End
 
-# Accepted style definition
+
 Style Accepted
        Margin                Static
        LatexType             Command
@@ -503,26 +436,20 @@ Style Accepted
        BottomSep             0.7
        ParSep                0.7
        Align                 Left
-       AlignPossible         Left
        LabelType             Static
-       LabelString           Accepted:
-
-       # standard font definition
-       LabelFont 
+       LabelString           "Accepted:"
+       LabelFont
          Series              Bold
          Shape               Italic
          Color               red
        EndFont
-
 End
 
-#
-#
-# offsets style definition
+
 Style Offsets
        Margin                Static
        LatexType             Command
-       LatexName             offsets 
+       LatexName             offsets
        NextNoIndent          1
        LabelSep              xxx
        LeftMargin            Reprint_reqs_To:x
@@ -531,20 +458,16 @@ Style Offsets
        BottomSep             0.7
        ParSep                0.7
        Align                 Left
-       AlignPossible         Left
        LabelType             Static
-       LabelString           reprint_reqs_to:
-
-       # standard font definition
-       LabelFont 
+       LabelString           "reprint_reqs_to:"
+       LabelFont
          Series              Bold
          Shape               Italic
          Color               red
        EndFont
-
 End
 
-# Date style definition
+
 Style Date
        Margin                Dynamic
        LatexType             Command
@@ -556,13 +479,11 @@ Style Date
        BottomSep             0.5
        ParSep                0.5
        Align                 Left
-       AlignPossible         Left
        LabelType             No_Label
-
 End
 
-# Abstract style definition
-Style Abstract 
+
+Style Abstract
        Margin                First_Dynamic
        LatexType             Environment
        LatexName             abstract
@@ -576,15 +497,13 @@ Style Abstract
        Align                 Block
        AlignPossible         Block, Left
        LabelType             Static
-       LabelString           Abstract.  
-
-       # label font definition
-       LabelFont 
+       LabelString           "Abstract."
+       LabelFont
          Series              Bold
        EndFont
-End 
+End
+
 
-# Acknowledgement(s) style definitions
 Style Acknowledgements
        Margin                First_Dynamic
        LatexType             Environment
@@ -599,18 +518,16 @@ Style Acknowledgements
        Align                 Block
        AlignPossible         Block, Left
        LabelType             Static
-       LabelString           Acknowledgements. 
-
-       # font & label font definition
-       Font 
+       LabelString           "Acknowledgements."
+       Font
          Size                Small
        EndFont
-
-       LabelFont 
+       LabelFont
          Shape               Italic
          Size                Small
        EndFont
-End 
+End
+
 
 Style Acknowledgement
        Margin                First_Dynamic
@@ -626,20 +543,17 @@ Style Acknowledgement
        Align                 Block
        AlignPossible         Block, Left
        LabelType             Static
-       LabelString           Acknowledgement. 
-
-       # font & label font definition
-       Font 
+       LabelString           "Acknowledgement."
+       Font
          Size                Small
        EndFont
-
-       LabelFont 
+       LabelFont
          Shape               Italic
          Size                Small
        EndFont
-End 
-#
-# Bibliography style definition
+End
+
+
 Style Bibliography
        Margin                First_Dynamic
        LatexType             Bib_Environment
@@ -654,35 +568,16 @@ Style Bibliography
        Align                 Block
        AlignPossible         Block, Left
        LabelType             Bibliography
-       LabelString           References 
+       LabelString           "References"
        LabelBottomSep    0.7
-
-       # label font definition
-       LabelFont 
+       LabelFont
          Series              Bold
        EndFont
 End
 
-# Caption style definition
-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
 
-       # label font definition
-       LabelFont 
-         Series              Bold
-       EndFont
-End
 
-# Section* style definition
+
 Style Section*
        Margin                Static
        LatexType             Command
@@ -696,16 +591,13 @@ Style Section*
        Align                 Block
        AlignPossible         Block, Left, Right, Center
        LabelType             No_Label
-
-       # standard font definition
-       Font 
+       Font
          Series              Bold
 #    Size               Larger
        EndFont
-
 End
 
-# Subsection* style definition
+
 Style Subsection*
        Margin                Static
        LatexType             Command
@@ -719,10 +611,9 @@ Style Subsection*
        Align                 Block
        AlignPossible         Block, Left, Right, Center
        LabelType             No_Label
-
 End
 
-# LaTeX style definition
+
 Style LaTeX
        Margin                Static
        LatexType             Paragraph
@@ -735,17 +626,12 @@ Style LaTeX
        AlignPossible         Block, Left, Right, Center
        LabelType             No_Label
        FreeSpacing           1
-
-       # standard font definition
-       Font 
+       Font
          Color               red
        EndFont
-
 End
 
 
-
-# Lyx-Code style definition
 Style LyX-Code
        Margin                Static
        LatexType             Environment
@@ -759,13 +645,14 @@ Style LyX-Code
        AlignPossible         Block, Left, Right, Center
        LabelType             No_Label
        FreeSpacing           1
-
-       # standard font definition
-       Font 
+       Font
          Family              Typewriter
        EndFont
-
 End
 
+
+Input stdinsets.inc
 Input stdfloats.inc
+Input numarticle.inc
 Input stdcounters.inc
+Input stdrefprefix.inc