]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/egs.layout
Fix #7495 by adding layouts for ctex document classes and
[lyx.git] / lib / layouts / egs.layout
index fd646bdd2ee3d2516e4648029ccff9b942d3a6f0..bd6025538cef01935a0960ae0e1c6c4973ca116e 100644 (file)
@@ -1,16 +1,18 @@
 #% 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
 
 
+Format 35
 Columns                 2
 Sides                   1
 PageStyle               Plain
+Provides natbib          1
 
 
 Style Standard
@@ -43,6 +45,7 @@ Style Section
        LabelFont
          Series              Bold
        EndFont
+       TocLevel 1
 End
 
 
@@ -61,6 +64,7 @@ Style Subsection
        Font
          Shape               Up
        EndFont
+       TocLevel 2
 End
 
 
@@ -70,14 +74,15 @@ Style Paragraph
        ParSkip               0.4
        TopSep                0.4
        BottomSep             0.4
-       Font 
+       Font
          Series              Bold
          Size                Normal
        EndFont
-       LabelFont 
+       LabelFont
          Series              Bold
          Size                Normal
        EndFont
+       TocLevel 4
 End
 
 
@@ -86,6 +91,7 @@ Style Subparagraph
        LatexName             subparagraph
        NextNoIndent          0
        LeftMargin            MM
+       TocLevel 5
 End
 
 
@@ -136,7 +142,7 @@ Style List
        Align                 Block
        AlignPossible         Block, Left
        LabelType             Manual
-       LabelString           00.00.0000
+       LabelString           "00.00.0000"
 End
 
 
@@ -155,6 +161,7 @@ Style Enumerate
        Align                 Block
        AlignPossible         Block, Left
        LabelType             Enumerate
+       RefPrefix             enu
 End
 
 
@@ -172,7 +179,7 @@ Style Itemize
        Align                 Block
        AlignPossible         Block, Left
        LabelType             Itemize
-       LabelString           *
+       LabelString           "*"
 End
 
 
@@ -191,8 +198,8 @@ Style Description
        Align                 Block
        AlignPossible         Block, Left
        LabelType             Manual
-       LabelString           MM
-       LabelFont 
+       LabelString           "MM"
+       LabelFont
          Series              Bold
        EndFont
 End
@@ -225,7 +232,6 @@ Style Right_Address
        BottomSep             1.5
        ParSep                1.5
        Align                 Left
-       AlignPossible         Left
 End
 
 
@@ -254,13 +260,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
 
 
@@ -275,13 +280,13 @@ 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
 
 
@@ -297,10 +302,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
@@ -320,10 +324,9 @@ 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
@@ -343,10 +346,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
@@ -367,10 +369,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
@@ -391,10 +392,9 @@ 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
@@ -414,10 +414,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
@@ -437,10 +436,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
@@ -451,7 +449,7 @@ End
 Style Offsets
        Margin                Static
        LatexType             Command
-       LatexName             offsets 
+       LatexName             offsets
        NextNoIndent          1
        LabelSep              xxx
        LeftMargin            Reprint_reqs_To:x
@@ -460,10 +458,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
@@ -482,12 +479,11 @@ Style Date
        BottomSep             0.5
        ParSep                0.5
        Align                 Left
-       AlignPossible         Left
        LabelType             No_Label
 End
 
 
-Style Abstract 
+Style Abstract
        Margin                First_Dynamic
        LatexType             Environment
        LatexName             abstract
@@ -501,11 +497,11 @@ Style Abstract
        Align                 Block
        AlignPossible         Block, Left
        LabelType             Static
-       LabelString           Abstract.  
-       LabelFont 
+       LabelString           "Abstract."
+       LabelFont
          Series              Bold
        EndFont
-End 
+End
 
 
 Style Acknowledgements
@@ -522,15 +518,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
@@ -547,15 +543,15 @@ 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
@@ -572,29 +568,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*
@@ -610,7 +591,7 @@ Style Section*
        Align                 Block
        AlignPossible         Block, Left, Right, Center
        LabelType             No_Label
-       Font 
+       Font
          Series              Bold
 #    Size               Larger
        EndFont
@@ -645,7 +626,7 @@ Style LaTeX
        AlignPossible         Block, Left, Right, Center
        LabelType             No_Label
        FreeSpacing           1
-       Font 
+       Font
          Color               red
        EndFont
 End
@@ -664,12 +645,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