]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/stdinsets.inc
Const.
[lyx.git] / lib / layouts / stdinsets.inc
index eb14595f12d49ae73c65d1779bd94eb2870ed0b9..c9a497a6e4176d9ed3f246a3e58f5c77311c7b08 100644 (file)
@@ -4,7 +4,7 @@
 #
 # Detailed format description is available in the customization manual
 
-Format 49
+Format 59
 
 Provides stdinsets 1
 
@@ -84,8 +84,31 @@ InsetLayout Foot:InTitle
        NeedProtect           true
        Counter               thanks
        MultiPar              false
-       # FIXME: this is probably not correct
-       HTMLLabel             \arabic{thanks}
+       HTMLLabel             \fnsymbol{thanks}
+       HTMLInnerTag          span
+       HTMLStyle
+               span.foot_intitle_label {
+                       vertical-align: super;
+                       font-size: smaller;
+                       font-weight: bold;
+                       text-decoration: underline;
+               }
+               span.foot_intitle {
+                       display: inline;
+                       font-size: small;
+                       font-weight: medium;
+                       font-family: serif;
+                       font-variant: normal;
+                       font-style: normal;
+               }
+               span.foot_intitle_inner { display: none; }
+               span.foot_intitle:hover span.foot_intitle_inner {
+                       display: block;
+                       border: 1px double black;
+                       margin: 0em 1em;
+                       padding: 1em;
+               }
+       EndHTMLStyle
 End
 
 InsetLayout Note:Comment
@@ -244,6 +267,7 @@ InsetLayout TOC:Listings
        LangPreamble
                \renewcommand{\lstlistlistingname}{_(Listings[[List of Listings]])}
        EndLangPreamble
+       FixedWidthPreambleEncoding true
   HTMLTag h2
   HTMLStyle
     div.lyxtoc-flat {
@@ -264,6 +288,7 @@ InsetLayout Include:Listings
        LangPreamble
                \renewcommand{\lstlistingname}{_(Listing)}
        EndLangPreamble
+       FixedWidthPreambleEncoding true
 End
 
 InsetLayout Listings
@@ -531,9 +556,12 @@ InsetLayout Caption:Standard
        LabelString          standard
        LaTeXType            command
        LatexName            caption
+       NeedProtect          1
+       MultiPar             false
        Argument 1
                LabelString   "Short Title|S"
                Tooltip       "The caption as it appears in the list of figures/tables"
+               InsertCotext  1
        EndArgument
        HTMLStyle
                div.float-caption {