X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Faguplus.inc;h=2a359305a22a526fadf343b28308295939d10df8;hb=d8a6e0ab70962134792c5eca585fdcd013204649;hp=177ca0013e0400753cc36d8c0ec5901caeb3cacb;hpb=8ba08a53b2ac7039126a0b90fce5d19374c781ea;p=lyx.git diff --git a/lib/layouts/aguplus.inc b/lib/layouts/aguplus.inc index 177ca0013e..2a359305a2 100644 --- a/lib/layouts/aguplus.inc +++ b/lib/layouts/aguplus.inc @@ -6,7 +6,7 @@ # ftp://ftp.agu.org/journals/latex/journals -Format 36 +Format 43 Input stdclass.inc SecNumDepth 4 @@ -73,7 +73,7 @@ Style Paragraph* Margin Static LatexName subsubsubsection* LabelType No_Label - OptionalArgs 0 + ResetArgs 1 End @@ -203,21 +203,19 @@ Float 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 + HTMLStyle + div.float-caption { + text-align: center; + border: 2px solid black; + padding: 1ex; + margin: 1ex; + } + EndHTMLStyle + HTMLAttr "class='float-caption float-caption-table'" End