X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fstdstruct.inc;h=8f1c740d8d5b14efaee14ab3109a8592215c18e3;hb=4beba4e8f87ca218473448caf10563b99faf7b21;hp=f714facf9613a39b1eb5d831ca9f93962ffc8223;hpb=ff521787b23df486b227de738969645ff91ae3a6;p=lyx.git diff --git a/lib/layouts/stdstruct.inc b/lib/layouts/stdstruct.inc index f714facf96..8f1c740d8d 100644 --- a/lib/layouts/stdstruct.inc +++ b/lib/layouts/stdstruct.inc @@ -1,18 +1,19 @@ # 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. -Format 3 +Format 45 Style Abstract Margin Static LatexType Environment LatexName abstract + Category FrontMatter NextNoIndent 1 LeftMargin MMM RightMargin MMM @@ -22,10 +23,9 @@ Style Abstract BottomSep 0.7 ParSep 0 Align Block - AlignPossible Block - LabelType Centered_Top_Environment + LabelType Centered LabelString "Abstract" - LabelBottomSep 0.5 + LabelBottomSep 0.5 Font Size Small EndFont @@ -33,6 +33,20 @@ Style Abstract 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 @@ -40,6 +54,7 @@ Style Bibliography Margin First_Dynamic LatexType Bib_Environment LatexName thebibliography + Category BackMatter NextNoIndent 1 LeftMargin MM ParSkip 0.4 @@ -56,4 +71,12 @@ Style Bibliography Series Bold Size Larger EndFont + HTMLStyle + div.bibliography { + margin-left: 2em; + text-indent: -2em; + } + span.bibitemlabel:before { content: "["; } + span.bibitemlabel:after { content: "] "; } + EndHTMLStyle End