]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/egs.layout
Fix typos in comments
[lyx.git] / lib / layouts / egs.layout
index 493ba7e7dc7adc6cd8e7e750c8e19099a0345651..ae700090479bfa16940fb7d34496b8723b17e81b 100644 (file)
@@ -1,5 +1,6 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass{article (European Geophysical Society)}
+#  \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>
@@ -8,7 +9,7 @@
 # Converted article -> egs Martin Vermeer
 
 
-Format 33
+Format 98
 Columns                 2
 Sides                   1
 PageStyle               Plain
@@ -16,6 +17,7 @@ Provides natbib          1
 
 
 Style Standard
+       Category              MainText
        Margin                Static
        LatexType             Paragraph
        LatexName             dummy
@@ -24,10 +26,12 @@ Style Standard
        Align                 Block
        AlignPossible         Block, Left, Right, Center
        LabelType             No_Label
+       DocBookTag            para
 End
 
 
 Style Section
+       Category              Sectioning
        Margin                Dynamic
        LatexType             Command
        LatexName             section
@@ -50,6 +54,7 @@ End
 
 
 Style Subsection
+       Category              Sectioning
        Margin                Dynamic
        LatexType             Command
        LatexName             subsection
@@ -100,6 +105,7 @@ Style Quotation
        LatexType             Environment
        LatexName             quotation
        NextNoIndent          1
+       ToggleIndent          Always
        LeftMargin            MMM
        RightMargin           MMM
        ParIndent             MM
@@ -118,6 +124,7 @@ Style Quote
        LatexType             Environment
        LatexName             quote
        NextNoIndent          1
+       ToggleIndent          Never
        LeftMargin            MMM
        RightMargin           MMM
        TopSep                0.5
@@ -143,10 +150,21 @@ Style List
        AlignPossible         Block, Left
        LabelType             Manual
        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
 
 
 Style Enumerate
+       Category              List
        Margin                Static
        LatexType             Item_Environment
        LatexName             enumerate
@@ -162,14 +180,39 @@ Style Enumerate
        AlignPossible         Block, Left
        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
 
 
 Style Itemize
+       Category              List
        Margin                Static
        LatexType             Item_Environment
        LatexName             itemize
        NextNoIndent          1
+       ToggleIndent          Never
        LeftMargin            MMN
        LabelSep              xx
        ItemSep               0.2
@@ -179,7 +222,23 @@ Style Itemize
        Align                 Block
        AlignPossible         Block, Left
        LabelType             Itemize
-       LabelString           "*"
+       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
 
 
@@ -188,6 +247,7 @@ Style Description
        LatexType             Item_environment
        LatexName             description
        NextNoIndent          1
+       ToggleIndent          Never
        LeftMargin            MM
        LabelSep              xxx
        ParSkip               0.4
@@ -198,10 +258,25 @@ Style Description
        Align                 Block
        AlignPossible         Block, Left
        LabelType             Manual
-       LabelString           "MM"
        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
 
 
@@ -249,6 +324,7 @@ End
 
 
 Style Title
+       Category              FrontMatter
        Margin                Static
        LatexType             Command
        LatexName             title
@@ -260,14 +336,15 @@ 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
+       DocBookTag            title
+       DocBookTagType        paragraph
+       DocBookInInfo         maybe
 End
 
 
@@ -293,6 +370,7 @@ End
 
 
 Style Author
+       Category              FrontMatter
        Margin                Static
        LatexType             Command
        LatexName             author
@@ -309,8 +387,13 @@ Style Author
        LabelFont
          Series              Bold
          Shape               Italic
-         Color               red
+         Color               textlabel3
        EndFont
+       DocBookTag            personname
+       DocBookTagType        paragraph
+       DocBookWrapperTag     author
+       DocBookWrapperTagType inline
+       DocBookInInfo         always
 End
 
 
@@ -331,7 +414,7 @@ Style Affil
        LabelFont
          Series              Bold
          Shape               Italic
-         Color               red
+         Color               textlabel3
        EndFont
 End
 
@@ -353,7 +436,7 @@ Style Journal
        LabelFont
          Series              Bold
          Shape               Italic
-         Color               red
+         Color               textlabel3
        EndFont
 End
 
@@ -376,7 +459,7 @@ Style msnumber
        LabelFont
          Series              Bold
          Shape               Italic
-         Color               red
+         Color               textlabel3
        EndFont
 End
 
@@ -399,7 +482,7 @@ Style FirstAuthor
        LabelFont
          Series              Bold
          Shape               Italic
-         Color               red
+         Color               textlabel3
        EndFont
 End
 
@@ -421,7 +504,7 @@ Style Received
        LabelFont
          Series              Bold
          Shape               Italic
-         Color               red
+         Color               textlabel3
        EndFont
 End
 
@@ -443,7 +526,7 @@ Style Accepted
        LabelFont
          Series              Bold
          Shape               Italic
-         Color               red
+         Color               textlabel3
        EndFont
 End
 
@@ -465,7 +548,7 @@ Style Offsets
        LabelFont
          Series              Bold
          Shape               Italic
-         Color               red
+         Color               textlabel3
        EndFont
 End
 
@@ -486,6 +569,7 @@ End
 
 
 Style Abstract
+       Category              FrontMatter
        Margin                First_Dynamic
        LatexType             Environment
        LatexName             abstract
@@ -507,6 +591,7 @@ End
 
 
 Style Acknowledgements
+       Category              BackMatter
        Margin                First_Dynamic
        LatexType             Environment
        LatexName             acknowledgements
@@ -557,10 +642,12 @@ End
 
 
 Style Bibliography
+       Category              BackMatter
        Margin                First_Dynamic
        LatexType             Bib_Environment
        LatexName             thebibliography
        NextNoIndent          1
+       ToggleIndent          Never
        LeftMargin            MM
        ParSkip               0.4
        ItemSep               0
@@ -571,10 +658,22 @@ Style Bibliography
        AlignPossible         Block, Left
        LabelType             Bibliography
        LabelString           "References"
-       LabelBottomSep    0.7
+       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
 
 
@@ -597,6 +696,7 @@ Style Section*
          Series              Bold
 #    Size               Larger
        EndFont
+       HTMLInToc        0
 End
 
 
@@ -613,6 +713,7 @@ Style Subsection*
        Align                 Block
        AlignPossible         Block, Left, Right, Center
        LabelType             No_Label
+       HTMLInToc        0
 End
 
 
@@ -629,7 +730,7 @@ Style LaTeX
        LabelType             No_Label
        FreeSpacing           1
        Font
-         Color               red
+         Color               textlabel3
        EndFont
 End
 
@@ -650,6 +751,9 @@ Style LyX-Code
        Font
          Family              Typewriter
        EndFont
+       DocBookTag            programlisting
+    DocBookTagType        paragraph
+       DocBookAttr                       language='lyx'
 End