X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fstdstruct.inc;h=8f1c740d8d5b14efaee14ab3109a8592215c18e3;hb=4beba4e8f87ca218473448caf10563b99faf7b21;hp=864af1efa82a6db23319c4dd2f8ee52173152e88;hpb=db0716f6669599f9b6293f77223cd017810295ca;p=lyx.git diff --git a/lib/layouts/stdstruct.inc b/lib/layouts/stdstruct.inc index 864af1efa8..8f1c740d8d 100644 --- a/lib/layouts/stdstruct.inc +++ b/lib/layouts/stdstruct.inc @@ -1,65 +1,82 @@ # 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 - - # standard font definition - Font - Size Small - EndFont +Format 45 +Style Abstract + Margin Static + LatexType Environment + LatexName abstract + Category FrontMatter + NextNoIndent 1 + 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 +End - # label font definition - LabelFont - Series Bold - Size Large - EndFont -End -# Bibliography style definition Style Bibliography - Margin First_Dynamic - LatexType Item_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 + 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 End