X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fstdstruct.inc;h=b611b53da187a2bb751da654381e3a7ae2e3c886;hb=af1ab2caa947c1ee6f2d95e4332b0aaeb35364c4;hp=e3e8775a4462f77dce401092a245d2c293d18b36;hpb=305c04ba8bf3dd6797da1adff4972c4f384c9071;p=lyx.git diff --git a/lib/layouts/stdstruct.inc b/lib/layouts/stdstruct.inc index e3e8775a44..b611b53da1 100644 --- a/lib/layouts/stdstruct.inc +++ b/lib/layouts/stdstruct.inc @@ -1,65 +1,103 @@ # Standard textclass definition file. Taken from initial LyX source code # Author : Matthias Ettrich -# Transposed by Pascal André +# Transposed by Pascal André # Heavily modifed and enhanced by several developers. -# Title definitions moved to stdtitle.inc by HArtmut Goebel +# Title definitions moved to stdtitle.inc by Hartmut Goebel # This include files contains all layouts that handle the structure of # a document, like abstract, bibliography and such. -# Abstract style definition -Style Abstract - Margin Static - LatexType Environment - LatexName abstract - NextNoIndent 1 - LeftMargin MMM - RightMargin MMM - ParIndent MM - ItemSep 0 - TopSep 0.7 - BottomSep 0.7 - ParSep 0 - Align Block - AlignPossible Block - LabelType Centered_Top_Environment - LabelString Abstract - LabelBottomSep 0.5 +Format 90 - # standard font definition - Font - Size Small - EndFont +Style Abstract + Margin Static + LatexType Environment + LatexName abstract + Category FrontMatter + NextNoIndent 1 + ToggleIndent Always + LeftMargin MMM + RightMargin MMM + ParIndent MM + ItemSep 0 + TopSep 0.7 + BottomSep 0.7 + ParSep 0 + Align Block + LabelType Centered + LabelString "Abstract" + LabelBottomSep 0.5 + Font + Size Small + EndFont + LabelFont + Series Bold + Size Large + EndFont + HTMLLabelFirst 1 + HTMLForceCSS 1 + HTMLStyle + div.abstract { + margin: 4ex; + } + div.abstract_item { + font-size: small; + padding-top: 1ex; + } + div.abstract_label { + font-weight: bold; + } + EndHTMLStyle + DocBookAbstract true + DocBookInInfo always + DocBookWrapperTag abstract + DocBookWrapperMergeWithPrevious true + DocBookTag para +End - # label font definition - LabelFont - Series Bold - Size Large - EndFont -End -# Bibliography style definition Style Bibliography - Margin First_Dynamic - LatexType Bib_Environment - LatexName thebibliography - NextNoIndent 1 - LeftMargin MM - ParSkip 0.4 - ItemSep 0 - TopSep 0.7 - BottomSep 0.7 - ParSep 0.5 - Align Block - AlignPossible Block, Left - LabelType Bibliography - LabelString References - LabelBottomSep 0.7 - - # label font definition - LabelFont - Series Bold - Size Larger - EndFont + Margin First_Dynamic + LatexType Bib_Environment + LatexName thebibliography + Category BackMatter + NextNoIndent 1 + ToggleIndent Never + LeftMargin MM + ParSkip 0.4 + ItemSep 0 + TopSep 0.7 + BottomSep 0.7 + ParSep 0.5 + Align Block + AlignPossible Block, Left + LabelType Bibliography + LabelString "References" + LabelBottomSep 1.2 + LabelFont + Series Bold + Size Larger + EndFont + HTMLStyle + div.bibliography { + margin-left: 2em; + text-indent: -2em; + } + 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