X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fstdstruct.inc;h=1aa010f0afd0dfed7627de6d71abefad28b47378;hb=b03d96a7f04feef0156281d02efda7e489684e98;hp=4de044e661858ad444caa27e70e9a3d5b3d373f5;hpb=3956781c5475607312481d8c86ba822375053d86;p=lyx.git diff --git a/lib/layouts/stdstruct.inc b/lib/layouts/stdstruct.inc index 4de044e661..1aa010f0af 100644 --- a/lib/layouts/stdstruct.inc +++ b/lib/layouts/stdstruct.inc @@ -1,17 +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 35 Style Abstract Margin Static LatexType Environment LatexName abstract + Category FrontMatter NextNoIndent 1 LeftMargin MMM RightMargin MMM @@ -21,10 +23,9 @@ Style Abstract BottomSep 0.7 ParSep 0 Align Block - AlignPossible Block LabelType Centered_Top_Environment - LabelString Abstract - LabelBottomSep 0.5 + LabelString "Abstract" + LabelBottomSep 0.5 Font Size Small EndFont @@ -32,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 @@ -39,6 +54,7 @@ Style Bibliography Margin First_Dynamic LatexType Bib_Environment LatexName thebibliography + Category BackMatter NextNoIndent 1 LeftMargin MM ParSkip 0.4 @@ -49,10 +65,18 @@ Style Bibliography Align Block AlignPossible Block, Left LabelType Bibliography - LabelString References + 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