X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Faguplus.inc;h=00b20978e8006783c1a921e3975a2664a489a0e3;hb=8d8ee12e6481a2d9687228a4a5f9dd44a21a052e;hp=800e0717224297342a6040d3c7c82a3bfd254d26;hpb=0e4e230f01fa1505ea902a458265cacb044bbcb1;p=lyx.git diff --git a/lib/layouts/aguplus.inc b/lib/layouts/aguplus.inc index 800e071722..00b20978e8 100644 --- a/lib/layouts/aguplus.inc +++ b/lib/layouts/aguplus.inc @@ -6,7 +6,7 @@ # ftp://ftp.agu.org/journals/latex/journals -Format 5 +Format 66 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 @@ -174,6 +179,9 @@ Style Bibliography End +OutlinerName plate "Plates" #no AddToToc +OutlinerName planotable "Planotables" #no AddToToc + Float Type plate GuiName Plate @@ -181,7 +189,8 @@ Float Extension lof NumberWithin none Style plain - LatexBuiltin true + IsPredefined true + UsesFloatPkg false End @@ -192,35 +201,34 @@ 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 - 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 + HTMLAttr "class='float-caption float-caption-table'" End -Counter - Name plate +Counter plate Within none End -Counter - Name planotable +Counter planotable Within none End