]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/aguplus.inc
Update layout format
[lyx.git] / lib / layouts / aguplus.inc
index b8cd3d2615cf459bdaa3b0d8e84746d4896461d6..00b20978e8006783c1a921e3975a2664a489a0e3 100644 (file)
@@ -6,7 +6,7 @@
 # ftp://ftp.agu.org/journals/latex/journals
 
 
-Format 24
+Format 66
 Input stdclass.inc
 
 SecNumDepth             4
@@ -18,9 +18,11 @@ EndPreamble
 
 
 NoStyle Chapter
+NoCounter chapter
 NoStyle Chapter*
 
 NoStyle Subparagraph
+NoCounter subparagraph
 NoStyle Subparagraph*
 
 
@@ -71,7 +73,7 @@ Style Paragraph*
        Margin                Static
        LatexName             subsubsubsection*
        LabelType             No_Label
-       OptionalArgs          0
+       ResetArgs             1
 End
 
 
@@ -177,6 +179,9 @@ Style Bibliography
 End
 
 
+OutlinerName plate        "Plates" #no AddToToc
+OutlinerName planotable  "Planotables" #no AddToToc
+
 Float
        Type                  plate
        GuiName               Plate
@@ -184,7 +189,8 @@ Float
        Extension             lof
        NumberWithin          none
        Style                 plain
-       NeedsFloatPkg         false
+       IsPredefined          true
+       UsesFloatPkg          false
 End
 
 
@@ -195,25 +201,26 @@ Float
        Extension             lot
        NumberWithin          none
        Style                 Ruled
-       NeedsFloatPkg         false
-End
-
-
-
-Style Table_Caption
-       Margin                First_Dynamic
-       LatexType             Command
-       LatexName             tablecaption
-       NeedProtect           1
-       LabelSep              xx
-       ParSkip               0.4
-       TopSep                0.5
-       Align                 Center
-       LabelType             Sensitive
-       LabelString           "TableCaption"
-       LabelFont
-         Series              Bold
-       EndFont
+       IsPredefined          true
+       UsesFloatPkg          false
+End
+
+
+InsetLayout Caption:Table
+       LabelString          table
+       LaTeXType            command
+       LatexName            tablecaption
+       NeedProtect          1
+       MultiPar             false
+       HTMLStyle
+               div.float-caption {
+                       text-align: center;
+                       border: 2px solid black;
+                       padding: 1ex;
+                       margin: 1ex;
+               }
+       EndHTMLStyle
+       HTMLAttr "class='float-caption float-caption-table'"
 End