]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/egs.layout
Fix typos in comments
[lyx.git] / lib / layouts / egs.layout
index 207cb7c8d9a0b7b2acd0300faa591804f91c476d..ae700090479bfa16940fb7d34496b8723b17e81b 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 98
 Columns                 2
 Sides                   1
 PageStyle               Plain
-MaxCounter              Counter_Section
+Provides natbib          1
+
 
-# Standard style definition
 Style Standard
+       Category              MainText
        Margin                Static
        LatexType             Paragraph
        LatexName             dummy
@@ -23,10 +26,12 @@ Style Standard
        Align                 Block
        AlignPossible         Block, Left, Right, Center
        LabelType             No_Label
+       DocBookTag            para
 End
 
-# Section style definition
+
 Style Section
+       Category              Sectioning
        Margin                Dynamic
        LatexType             Command
        LatexName             section
@@ -38,21 +43,18 @@ 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
+       Category              Sectioning
        Margin                Dynamic
        LatexType             Command
        LatexName             subsection
@@ -64,75 +66,46 @@ 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
        LatexName             quotation
        NextNoIndent          1
+       ToggleIndent          Always
        LeftMargin            MMM
        RightMargin           MMM
        ParIndent             MM
@@ -145,12 +118,13 @@ Style Quotation
        AlignPossible         Block, Left, Right, Center
 End
 
-# Quote style definition
+
 Style Quote
        Margin                Static
        LatexType             Environment
        LatexName             quote
        NextNoIndent          1
+       ToggleIndent          Never
        LeftMargin            MMM
        RightMargin           MMM
        TopSep                0.5
@@ -161,7 +135,7 @@ Style Quote
        LabelType             No_Label
 End
 
-# List style definition
+
 Style List
        Margin                Manual
        LatexType             List_Environment
@@ -175,11 +149,22 @@ Style List
        Align                 Block
        AlignPossible         Block, Left
        LabelType             Manual
-       LabelString           00.00.0000
+       LabelString           "00.00.0000"
+       Argument listpreamble:1
+               LabelString    "List preamble"
+               MenuString     "List Preamble"
+               Tooltip        "LaTeX code to be inserted before the first item"
+               PassThru       1
+               Font
+                       Family typewriter
+                       Color latex
+               EndFont
+       EndArgument
 End
 
-# Enumerate style definition
+
 Style Enumerate
+       Category              List
        Margin                Static
        LatexType             Item_Environment
        LatexName             enumerate
@@ -193,15 +178,41 @@ 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
+       Argument listpreamble:1
+               LabelString    "List preamble"
+               MenuString     "List Preamble"
+               Tooltip        "LaTeX code to be inserted before the first item"
+               PassThru       1
+               Font
+                       Family typewriter
+                       Color latex
+               EndFont
+       EndArgument
+       DocBookTag            orderedlist
+       DocBookItemTag        listitem
+       DocBookItemInnerTag   para
+       HTMLStyle
+               ol.enumi   { list-style-type: decimal; }
+               ol.enumii  { list-style-type: lower-latin; }
+               ol.enumiii { list-style-type: lower-roman; }
+               ol.enumiv  { list-style-type: upper-latin; }
+       EndHTMLStyle
 End
 
-# Itemize style definition
+
 Style Itemize
+       Category              List
        Margin                Static
        LatexType             Item_Environment
        LatexName             itemize
        NextNoIndent          1
+       ToggleIndent          Never
        LeftMargin            MMN
        LabelSep              xx
        ItemSep               0.2
@@ -210,16 +221,33 @@ 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
+       Argument listpreamble:1
+               LabelString    "List preamble"
+               MenuString     "List Preamble"
+               Tooltip        "LaTeX code to be inserted before the first item"
+               PassThru       1
+               Font
+                       Family typewriter
+                       Color latex
+               EndFont
+       EndArgument
+       DocBookTag            itemizedlist
+       DocBookItemTag        listitem
+       DocBookItemInnerTag   para
 End
 
-# Description style definition
+
 Style Description
        Margin                First_Dynamic
        LatexType             Item_environment
        LatexName             description
        NextNoIndent          1
+       ToggleIndent          Never
        LeftMargin            MM
        LabelSep              xxx
        ParSkip               0.4
@@ -230,15 +258,28 @@ Style Description
        Align                 Block
        AlignPossible         Block, Left
        LabelType             Manual
-       LabelString           MM
-
-       # label font definition
-       LabelFont 
+       LabelFont
          Series              Bold
        EndFont
+       Argument listpreamble:1
+               LabelString    "List preamble"
+               MenuString     "List Preamble"
+               Tooltip        "LaTeX code to be inserted before the first item"
+               PassThru       1
+               Font
+                       Family typewriter
+                       Color latex
+               EndFont
+       EndArgument
+       DocBookTag            variablelist
+       DocBookItemWrapperTag varlistentry
+       DocBookItemTag        listitem
+       DocBookItemInnerTag   para
+       DocBookItemLabelTag   term
+       DocBookItemLabelTagType   paragraph
 End
 
-# Verse style definition
+
 Style Verse
 # LaTeX type is first dynamic because of LaTeX implementation.
 # In LyX this does not make sense.
@@ -257,7 +298,7 @@ Style Verse
        LabelType             No_Label
 End
 
-# Right Address style
+
 Style Right_Address
        Margin                Right_Address_Box
        LatexType             Command
@@ -266,10 +307,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,8 +322,9 @@ Style Address
        LabelType             No_Label
 End
 
-# Title style definition
+
 Style Title
+       Category              FrontMatter
        Margin                Static
        LatexType             Command
        LatexName             title
@@ -295,20 +336,18 @@ 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
+       DocBookTag            title
+       DocBookTagType        paragraph
+       DocBookInInfo         maybe
 End
 
 
-# Title style definition
 Style LaTeX_Title
        Margin                Static
        LatexType             Command
@@ -320,20 +359,18 @@ 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
+       Category              FrontMatter
        Margin                Static
        LatexType             Command
        LatexName             author
@@ -345,20 +382,21 @@ 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
+         Color               textlabel3
        EndFont
-
+       DocBookTag            personname
+       DocBookTagType        paragraph
+       DocBookWrapperTag     author
+       DocBookWrapperTagType inline
+       DocBookInInfo         always
 End
 
-# Affiliation style definition
+
 Style Affil
        Margin                Static
        LatexType             Command
@@ -371,20 +409,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
+         Color               textlabel3
        EndFont
-
 End
 
-# journal name style definition
+
 Style Journal
        Margin                Static
        LatexType             Command
@@ -397,20 +431,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
+         Color               textlabel3
        EndFont
-
 End
 
-# msnumber style definition
+
 Style msnumber
        Margin                Static
        LatexType             Command
@@ -424,21 +454,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
+         Color               textlabel3
        EndFont
-
 End
 
 
-# FirstAuthor style definition
+
 Style FirstAuthor
        Margin                Static
        LatexType             Command
@@ -451,20 +477,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
+         Color               textlabel3
        EndFont
-
 End
 
-# Recieved style definition
+
 Style Received
        Margin                Static
        LatexType             Command
@@ -477,20 +499,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
+         Color               textlabel3
        EndFont
-
 End
 
-# Accepted style definition
+
 Style Accepted
        Margin                Static
        LatexType             Command
@@ -503,26 +521,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
+         Color               textlabel3
        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 +543,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
+         Color               textlabel3
        EndFont
-
 End
 
-# Date style definition
+
 Style Date
        Margin                Dynamic
        LatexType             Command
@@ -556,13 +564,12 @@ Style Date
        BottomSep             0.5
        ParSep                0.5
        Align                 Left
-       AlignPossible         Left
        LabelType             No_Label
-
 End
 
-# Abstract style definition
-Style Abstract 
+
+Style Abstract
+       Category              FrontMatter
        Margin                First_Dynamic
        LatexType             Environment
        LatexName             abstract
@@ -576,16 +583,15 @@ 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
+       Category              BackMatter
        Margin                First_Dynamic
        LatexType             Environment
        LatexName             acknowledgements
@@ -599,18 +605,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,25 +630,24 @@ 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
+       Category              BackMatter
        Margin                First_Dynamic
        LatexType             Bib_Environment
        LatexName             thebibliography
        NextNoIndent          1
+       ToggleIndent          Never
        LeftMargin            MM
        ParSkip               0.4
        ItemSep               0
@@ -654,35 +657,28 @@ Style Bibliography
        Align                 Block
        AlignPossible         Block, Left
        LabelType             Bibliography
-       LabelString           References 
-       LabelBottomSep    0.7
-
-       # label font definition
-       LabelFont 
+       LabelString           "References"
+       LabelBottomSep        0.7
+       LabelFont
          Series              Bold
        EndFont
+       TocLevel              1
+       IsTocCaption          0
+       Argument listpreamble:1
+         LabelString    "Bib preamble"
+         MenuString     "Bibliography Preamble"
+         Tooltip        "LaTeX code to be inserted before the first bibliography item"
+         PassThru       1
+         Font
+           Family      typewriter
+           Color       latex
+         EndFont
+       EndArgument
 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 +692,14 @@ Style Section*
        Align                 Block
        AlignPossible         Block, Left, Right, Center
        LabelType             No_Label
-
-       # standard font definition
-       Font 
+       Font
          Series              Bold
 #    Size               Larger
        EndFont
-
+       HTMLInToc        0
 End
 
-# Subsection* style definition
+
 Style Subsection*
        Margin                Static
        LatexType             Command
@@ -719,10 +713,10 @@ Style Subsection*
        Align                 Block
        AlignPossible         Block, Left, Right, Center
        LabelType             No_Label
-
+       HTMLInToc        0
 End
 
-# LaTeX style definition
+
 Style LaTeX
        Margin                Static
        LatexType             Paragraph
@@ -735,17 +729,12 @@ Style LaTeX
        AlignPossible         Block, Left, Right, Center
        LabelType             No_Label
        FreeSpacing           1
-
-       # standard font definition
-       Font 
-         Color               red
+       Font
+         Color               textlabel3
        EndFont
-
 End
 
 
-
-# Lyx-Code style definition
 Style LyX-Code
        Margin                Static
        LatexType             Environment
@@ -759,13 +748,17 @@ Style LyX-Code
        AlignPossible         Block, Left, Right, Center
        LabelType             No_Label
        FreeSpacing           1
-
-       # standard font definition
-       Font 
+       Font
          Family              Typewriter
        EndFont
-
+       DocBookTag            programlisting
+    DocBookTagType        paragraph
+       DocBookAttr                       language='lyx'
 End
 
+
+Input stdinsets.inc
 Input stdfloats.inc
+Input numarticle.inc
 Input stdcounters.inc
+Input stdrefprefix.inc