X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fapa6.layout;h=b42981a89cc5f023a88d53bcb19e14c547389010;hb=9c8955ffd9df1a38a617bcbdf011c7b890ea23d1;hp=a37555c925816ff687bf3bbcef0f1adf5680a48d;hpb=f15c2c5f22053801e936cf4929a593b8067afb2b;p=lyx.git diff --git a/lib/layouts/apa6.layout b/lib/layouts/apa6.layout index a37555c925..b42981a89c 100644 --- a/lib/layouts/apa6.layout +++ b/lib/layouts/apa6.layout @@ -3,7 +3,7 @@ # \DeclareCategory{Articles} # Author: Jacob Bishop based on the apa # layout written by Randy Gobbel. -Format 42 +Format 45 Columns 1 Sides 1 PageStyle Headers @@ -20,6 +20,7 @@ EndPreamble Style Standard + Category MainText LatexName dummy LatexType Paragraph Margin Static @@ -345,26 +346,24 @@ End Input stdlayouts.inc -Style CenteredCaption - Margin First_Dynamic - LatexType Command - LatexName caption - NeedProtect 1 - LabelSep xx - ParSkip 0.4 - TopSep 0.5 - Align Center - LabelType Sensitive - LabelString "Senseless!" + +InsetLayout Caption:Centered + LabelString standard + LaTeXType command + LatexName centeredcaption Argument 1 LabelString "Short Title|S" Tooltip "The caption as it appears in the list of figures/tables" EndArgument - LabelFont - Series Bold - EndFont - LatexName centeredcaption - Align Center + HTMLStyle + div.float-caption { + text-align: center; + border: 2px solid black; + padding: 1ex; + margin: 1ex; + } + EndHTMLStyle + HTMLAttr "class='float-caption float-caption-centered'" End @@ -514,7 +513,7 @@ Style Seriate ParSep 0.0 Align Block AlignPossible Block, Left - LabelType Counter + LabelType Static LabelCounter enumii LabelString "(\alph{enumii})" LabelStringAppendix "(\alph{enumii})"