]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/stdinsets.inc
AEA.layout: restore a style
[lyx.git] / lib / layouts / stdinsets.inc
index 4020e1ae09fa21ad022fe8dd0ccf088d9abafcd6..a902912e93f2c06efa1730c128a41046ea9514d3 100644 (file)
@@ -4,7 +4,7 @@
 #
 # Detailed format description is available in the customization manual
 
-Format 42
+Format 45
 
 Provides stdinsets 1
 
@@ -180,6 +180,43 @@ InsetLayout IPADeco
        ForcePlain            true
 End
 
+InsetLayout TOC
+  HTMLTag h2
+  HTMLStyle
+    div.toc {
+      margin: 2em 0em;
+      border-style: solid;
+      border-width: 2px 0px;
+      padding: 1em 0em;
+    }
+    h2.tochead { font-size: x-large; font-weight: bold; }
+    div.lyxtoc-0 {
+      margin: 2em 0em 0em 0em;
+      font-size: xx-large;
+      font-weight: bold;
+    }
+    div.lyxtoc-1 {
+      margin: 1em 0em 0em 0em;
+      font-size: x-large;
+      font-weight: bold;
+    }
+    div.lyxtoc-2 {
+      margin: 0em 0.1em 0em 1em;
+      font-size: large;
+      font-weight: normal;
+    }
+    div.lyxtoc-3 { margin: 0em 0.1em 0em 0.5em; font-size: medium; }
+    div.lyxtoc-4 { margin: 0em 0.1em 0em 0.5em; }
+    div.lyxtoc-5 { margin: 0em 0.1em 0em 0.5em; }
+    div.lyxtoc-6 { margin: 0em 0.1em 0em 0.5em; }
+    a.tocentry {
+      text-decoration: none;
+      color: black;
+    }
+    a.tocentry:visited { color: black; }
+  EndHTMLStyle
+End
+
 InsetLayout TOC:Listings
        # We need the [[List of Listings]] context, since "Listings" is also
        # the name of the inset and translated differently.
@@ -195,6 +232,14 @@ InsetLayout TOC:Listings
        LangPreamble
                \renewcommand{\lstlistlistingname}{_(Listings[[List of Listings]])}
        EndLangPreamble
+  HTMLTag h2
+  HTMLStyle
+    div.lyxtoc-flat {
+      margin: 0em 0em 0em 1em;
+      font-size: large;
+      font-weight: normal;
+    }
+  EndHTMLStyle
 End
 
 InsetLayout Include:Listings
@@ -230,6 +275,7 @@ InsetLayout Listings
        FreeSpacing           true
        ForceLTR              true
        RefPrefix             lst
+       HTMLTag               pre
 End
 
 InsetLayout Branch
@@ -387,6 +433,7 @@ InsetLayout "Flex:URL"
        PassThru              true
        FreeSpacing           true
        ForceLTR              true
+       ResetsFont            false
        Font
          Family              Typewriter
          Color               urltext
@@ -469,7 +516,8 @@ InsetLayout Info:shortcuts
        EndHTMLStyle
 End
 
-InsetLayout Caption
+InsetLayout Caption:Standard
+       LabelString          standard
        LaTeXType            command
        LatexName            caption
        Argument 1
@@ -484,6 +532,17 @@ InsetLayout Caption
                        margin: 1ex;
                }
        EndHTMLStyle
+       HTMLAttr "class='float-caption float-caption-standard'"
+End
+
+
+InsetLayout Caption:LongTableNoNumber
+       CopyStyle            Caption:Standard
+       LatexName            caption*
+       Argument 1
+               LabelString   "Long Table Caption (unnumbered)"
+               Tooltip       "The caption as it appears in the list of tables"
+       EndArgument
 End
 
 
@@ -510,9 +569,15 @@ InsetLayout Script:superscript
        HTMLTag         sup
 End
 
+
 InsetLayout Script:subscript
        CopyStyle       Script
        Requires        subscript
        LaTeXName       textsubscript
        HTMLTag         sub
 End
+
+
+InsetLayout PrintNomencl
+  HTMLTag h2
+End