X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fstdinsets.inc;h=a902912e93f2c06efa1730c128a41046ea9514d3;hb=8f9520eda5a0ecf2458341e5d8ea40f5970d54db;hp=76eeee84e2a7bc908c7153221f81917e1ddcf6db;hpb=182d13ee6aa68c306aa3b2788f6d9ed6c1741f51;p=lyx.git diff --git a/lib/layouts/stdinsets.inc b/lib/layouts/stdinsets.inc index 76eeee84e2..a902912e93 100644 --- a/lib/layouts/stdinsets.inc +++ b/lib/layouts/stdinsets.inc @@ -4,7 +4,7 @@ # # Detailed format description is available in the customization manual -Format 41 +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 @@ -400,12 +447,13 @@ InsetLayout "Flex:URL" End InsetLayout Argument - LabelString opt + LabelString Argument LabelFont Color collapsable Size Small EndFont MultiPar false + ForceLocalFontSwitch 1 End InsetLayout Info @@ -468,7 +516,10 @@ InsetLayout Info:shortcuts EndHTMLStyle End -InsetLayout Caption +InsetLayout Caption:Standard + LabelString standard + LaTeXType command + LatexName caption Argument 1 LabelString "Short Title|S" Tooltip "The caption as it appears in the list of figures/tables" @@ -481,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 @@ -507,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