X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fstdstruct.inc;h=b611b53da187a2bb751da654381e3a7ae2e3c886;hb=af1ab2caa947c1ee6f2d95e4332b0aaeb35364c4;hp=8c9eb2b60e3bde0790051eebb4d5592873bf6130;hpb=5a32821701abf8fec6ff632a26557b03824d1593;p=lyx.git diff --git a/lib/layouts/stdstruct.inc b/lib/layouts/stdstruct.inc index 8c9eb2b60e..b611b53da1 100644 --- a/lib/layouts/stdstruct.inc +++ b/lib/layouts/stdstruct.inc @@ -8,13 +8,15 @@ # a document, like abstract, bibliography and such. -Format 27 +Format 90 + Style Abstract Margin Static LatexType Environment LatexName abstract Category FrontMatter NextNoIndent 1 + ToggleIndent Always LeftMargin MMM RightMargin MMM ParIndent MM @@ -23,9 +25,9 @@ Style Abstract BottomSep 0.7 ParSep 0 Align Block - LabelType Centered_Top_Environment + LabelType Centered LabelString "Abstract" - LabelBottomSep 0.5 + LabelBottomSep 0.5 Font Size Small EndFont @@ -33,21 +35,25 @@ Style Abstract Series Bold Size Large EndFont - HTMLLabel div HTMLLabelFirst 1 + HTMLForceCSS 1 HTMLStyle div.abstract { - margin-top: 2em; - margin-bottom: 2em; + margin: 4ex; } div.abstract_item { font-size: small; padding-top: 1ex; } div.abstract_label { - font-weight: bold; + font-weight: bold; } EndHTMLStyle + DocBookAbstract true + DocBookInInfo always + DocBookWrapperTag abstract + DocBookWrapperMergeWithPrevious true + DocBookTag para End @@ -57,6 +63,7 @@ Style Bibliography LatexName thebibliography Category BackMatter NextNoIndent 1 + ToggleIndent Never LeftMargin MM ParSkip 0.4 ItemSep 0 @@ -80,4 +87,17 @@ Style Bibliography span.bibitemlabel:before { content: "["; } span.bibitemlabel:after { content: "] "; } EndHTMLStyle + TocLevel 1 + ISTocCaption 0 + Argument listpreamble:1 + LabelString "Bib preamble" + MenuString "Bibliography Preamble" + Tooltip "LaTeX code to be inserted before the first bibliography item" + PassThru 1 + Font + Family typewriter + Color latex + EndFont + EndArgument + DocBookTag bibliography End