]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/stdinsets.inc
Paragraph ndentation doesn't work well after quotations and the like.
[lyx.git] / lib / layouts / stdinsets.inc
index dec127bb206bb435b16f7b6d46cfdb551a34c0ad..08fefbbb6a59181d2e9ed7991418e94d175c457e 100644 (file)
@@ -53,7 +53,7 @@
 #                         be comma-separated.
 #End
 
-Format 18
+Format 19
 
 Provides stdinsets 1
 
@@ -166,6 +166,7 @@ InsetLayout Note:Greyedout
        MultiPar              true
        HTMLStyle
                div.note_greyedout { 
+                       display: inline;
                        background-color: #A0A0A0; 
                        padding-left: 1ex;
                        padding-right: 1ex;
@@ -248,6 +249,7 @@ InsetLayout Index
        MultiPar              false
        CustomPars            false
        ForcePlain            true
+       ContentAsLabel        true
 End
 
 InsetLayout Box
@@ -276,6 +278,12 @@ InsetLayout Float
          Size                Small
        EndFont
        MultiPar              true
+       HTMLStyle
+               div.float {
+                       border: 2px solid black;
+                       text-align: center;
+               }
+       EndHTMLStyle
 End
 
 InsetLayout Wrap
@@ -298,6 +306,7 @@ InsetLayout URL
        LyXType               standard
        Decoration            classic
        LabelString           URL
+       ContentAsLabel        true
        LatexName             url
        LatexType             command
        Requires              url
@@ -387,3 +396,15 @@ InsetLayout Info:shortcuts
                span.shortcuts { font-family: sans-serif; }
        EndHTMLStyle
 End
+
+InsetLayout Caption
+       HTMLStyle
+               div.float-caption {
+                       text-align: center;
+                       border: 2px solid black;
+                       padding: 1ex;
+                       margin: 1ex;
+               }
+       EndHTMLStyle
+End
+