]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/aguplus.inc
Natbib authoryear uses (Ref1; Ref2) by default.
[lyx.git] / lib / layouts / aguplus.inc
index 1cb76f10c2dca762d559096ac162f8adfeb3ba10..20a908c109fd4a69a316d39a565235091d6670aa 100644 (file)
@@ -6,7 +6,7 @@
 # ftp://ftp.agu.org/journals/latex/journals
 
 
-Format 25
+Format 45
 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
 
 
@@ -184,7 +186,8 @@ Float
        Extension             lof
        NumberWithin          none
        Style                 plain
-       NeedsFloatPkg         false
+       IsPredefined          true
+       UsesFloatPkg          false
 End
 
 
@@ -195,25 +198,24 @@ 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
+       HTMLStyle
+               div.float-caption {
+                       text-align: center;
+                       border: 2px solid black;
+                       padding: 1ex;
+                       margin: 1ex;
+               }
+       EndHTMLStyle
+       HTMLAttr "class='float-caption float-caption-table'"
 End