]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/aguplus.inc
Introduce HTMLClass tag, to make it easier to give these.
[lyx.git] / lib / layouts / aguplus.inc
index 9751ff108bee5907a59b8869c16679a6572b2a09..f21aa55baa865274976e9249f48720be13a51f60 100644 (file)
@@ -6,7 +6,7 @@
 # ftp://ftp.agu.org/journals/latex/journals
 
 
-Format 4
+Format 96
 Input stdclass.inc
 
 SecNumDepth             4
@@ -18,9 +18,11 @@ EndPreamble
 
 
 NoStyle Chapter
+NoCounter chapter
 NoStyle Chapter*
 
 NoStyle Subparagraph
+NoCounter subparagraph
 NoStyle Subparagraph*
 
 
@@ -28,6 +30,7 @@ Style Section
        Font
          Size                Large
        EndFont
+       TocLevel 1
 End
 
 
@@ -42,6 +45,7 @@ Style Subsection
        Font
          Size                Normal
        EndFont
+       TocLevel 2
 End
 
 
@@ -54,6 +58,7 @@ End
 
 Style Paragraph
        LatexName             subsubsection
+       TocLevel 4
 End
 
 
@@ -68,7 +73,7 @@ Style Paragraph*
        Margin                Static
        LatexName             subsubsubsection*
        LabelType             No_Label
-       OptionalArgs          0
+       ResetArgs             1
 End
 
 
@@ -84,14 +89,13 @@ Style Left_Header
        BottomSep             0.7
        ParSep                0.7
        Align                 Left
-       AlignPossible         Left
        LabelType             Static
        LabelString           "Left Header:"
        InTitle               1
        LabelFont
          Series              Bold
          Shape               Italic
-         Color               red
+         Color               textlabel3
        EndFont
 End
 
@@ -172,9 +176,14 @@ Style Bibliography
          Series              Bold
          Size                Huge
        EndFont
+       TocLevel              1
+       IsTocCaption          0
 End
 
 
+OutlinerName plate        "Plates" #no AddToToc
+OutlinerName planotable  "Planotables" #no AddToToc
+
 Float
        Type                  plate
        GuiName               Plate
@@ -182,7 +191,8 @@ Float
        Extension             lof
        NumberWithin          none
        Style                 plain
-       LatexBuiltin          true
+       IsPredefined          true
+       UsesFloatPkg          false
 End
 
 
@@ -193,36 +203,36 @@ Float
        Extension             lot
        NumberWithin          none
        Style                 Ruled
-       LatexBuiltin          true
+       IsPredefined          true
+       UsesFloatPkg          false
 End
 
 
-
-Style Table_Caption
-       Margin                First_Dynamic
-       LatexType             Command
-       LatexName             tablecaption
-       NeedProtect           1
-       LabelSep              xx
-       ParSkip               0.4
-       TopSep                0.5
-       Align                 Center
-       AlignPossible         Center
-       LabelType             Sensitive
-       LabelString           "TableCaption"
-       LabelFont
-         Series              Bold
-       EndFont
+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
+       HTMLClass "float-caption float-caption-table"
 End
 
 
-Counter
-       Name                  plate
+Counter plate
+       GuiName Plate
        Within                none
 End
 
 
-Counter
-       Name                  planotable
+Counter planotable
+       GuiName "Plano Table"
        Within                none
 End