]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/stdstruct.inc
Add Stéphane Mourey as contributor
[lyx.git] / lib / layouts / stdstruct.inc
index 83183c16cf446860730780d0a0d9149cf34ce19f..6583e1afbf076b0dcbaf19c69b9b05f06f58324a 100644 (file)
@@ -8,13 +8,14 @@
 # a document, like abstract, bibliography and such.
 
 
-Format 6
+Format 49
 Style Abstract
        Margin                Static
        LatexType             Environment
        LatexName             abstract
        Category              FrontMatter
        NextNoIndent          1
+       ToggleIndent          Always
        LeftMargin            MMM
        RightMargin           MMM
        ParIndent             MM
@@ -23,9 +24,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,6 +34,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
 
 
@@ -42,6 +57,7 @@ Style Bibliography
        LatexName             thebibliography
        Category              BackMatter
        NextNoIndent          1
+       ToggleIndent          Never
        LeftMargin            MM
        ParSkip               0.4
        ItemSep               0
@@ -57,4 +73,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