X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fstdinsets.inc;h=a902912e93f2c06efa1730c128a41046ea9514d3;hb=8f9520eda5a0ecf2458341e5d8ea40f5970d54db;hp=c52381bcafa4c8a8906031af8419e5756cb70eff;hpb=8254e84f8f696f0372ccc77f59148888e17a85fe;p=lyx.git diff --git a/lib/layouts/stdinsets.inc b/lib/layouts/stdinsets.inc index c52381bcaf..a902912e93 100644 --- a/lib/layouts/stdinsets.inc +++ b/lib/layouts/stdinsets.inc @@ -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 @@ -491,6 +536,16 @@ InsetLayout 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 + + InsetLayout Preview LabelString Preview Decoration minimalistic @@ -514,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