]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/stdfloats.inc
LyXHTML: add explicit HTMLTag for titles.
[lyx.git] / lib / layouts / stdfloats.inc
index eb15ef6a45df5dc3cd85aca9b380e899c7b1d13a..288f708471c4467dcf86e10c2bade35df208a96c 100644 (file)
@@ -4,22 +4,9 @@
 # in most LyX layouts.
 
 
-Format 16
-
-AddToHTMLPreamble
-       <style type="text/css">
-               div.float {
-                       border: 2px solid black;
-               }
-               div.float-caption {
-                       text-align: center;
-                       border: 2px solid black;
-                       padding: 1ex;
-                       margin-bottom: 1ex;
-               }
-       </style>
-EndPreamble
+Format 99
 
+Input stdfloatnames.inc
 
 Float
        Type                  table
@@ -29,7 +16,10 @@ Float
        NumberWithin          none
        Style                 plain
        ListName              "List of Tables"
-       LaTeXBuiltin          true
+       IsPredefined          true
+       UsesFloatPkg          false
+       ListCommand           listoftables
+       RefPrefix             tab
 End
 
 
@@ -41,7 +31,10 @@ Float
        NumberWithin          none
        Style                 plain
        ListName              "List of Figures"
-       LaTeXBuiltin          true
+       IsPredefined          true
+       UsesFloatPkg          false
+       ListCommand           listoffigures
+       RefPrefix             fig
 End
 
 
@@ -53,5 +46,24 @@ Float
        NumberWithin          none
        Style                 ruled
        ListName              "List of Algorithms"
-       LaTeXBuiltin          false
+       IsPredefined          false
+       UsesFloatPkg          true
+       RefPrefix             alg
+End
+
+
+InsetLayout FloatList
+  HTMLTag h2
+  HTMLStyle
+    a.lyxtoc-floats { 
+      text-decoration: none; 
+      color: black;
+    }
+    a.lyxtoc-floats:visited { color: black; }
+    div.lyxtoc-floats { 
+      margin: 0em 0em 0.1em 1em;
+      font-size: large;
+      font-weight: normal;
+    }
+  EndHTMLStyle
 End