]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/aastex.layout
layout/module files: some whitespace uniformications
[lyx.git] / lib / layouts / aastex.layout
index 0bf43d5849d4cfcf6efd96fa1628a6a623169868..9b507bb65e637cc4e14a6bb03adb6df991751a17 100644 (file)
@@ -35,7 +35,7 @@
 # Version 1.5   26/11/12 - added mandatory argument for \altaffiltext
 
 
-Format 42
+Format 43
 Columns                        1
 Sides                  1
 #SecNumDepth           3
@@ -52,6 +52,7 @@ End
 
 
 Style Standard
+       Category        MainText
        Margin          Static
        LatexType       Paragraph
        LatexName       dummy
@@ -378,6 +379,7 @@ End
 
 
 Style Acknowledgements
+       Category        BackMatter
        Margin          Dynamic
        LatexType       Command
        InTitle         0
@@ -614,23 +616,25 @@ InsetLayout "Flex:tablenotemark"
 End
 
 
-Style FigCaption
-       Margin          First_Dynamic
-       LatexType       Command
-       LatexName       figcaption
-       LabelSep        xx
-       ParSkip         0.4
-       TopSep          0.5
-       Align           Block
-       AlignPossible   Block, Left
-       LabelType       Static
-       LabelString     "Fig. ---"
+InsetLayout Caption:FigCaption
+       LabelString          fig.
+       LaTeXType            command
+       LatexName            figcaption
        Argument 1
-         LabelString   "Short Title|S"
-         Tooltip       "The caption as it appears in the list of figures"
+           LabelString   "Short Title|S"
+           Tooltip       "The caption as it appears in the list of figures"
        EndArgument
+       HTMLStyle
+               div.float-caption {
+                       text-align: center;
+                       border: 2px solid black;
+                       padding: 1ex;
+                       margin: 1ex;
+               }
+       EndHTMLStyle
 End
 
+
 # Facility style definition
 Style Facility
        LeftMargin      MMM