]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/stdstruct.inc
RJournal template and layout: move ERTs to layout
[lyx.git] / lib / layouts / stdstruct.inc
index 5c613919983e6d7467c9389ddfae84df22c50f08..8f1c740d8d5b14efaee14ab3109a8592215c18e3 100644 (file)
@@ -8,7 +8,7 @@
 # a document, like abstract, bibliography and such.
 
 
-Format 11
+Format 45
 Style Abstract
        Margin                Static
        LatexType             Environment
@@ -23,9 +23,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 +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
 
 
@@ -57,6 +71,12 @@ Style Bibliography
          Series              Bold
          Size                Larger
        EndFont
-       HTMLTag               p
-       HTMLAttr              class='bibliography'
+       HTMLStyle
+               div.bibliography {
+                       margin-left: 2em;
+                       text-indent: -2em;
+               }
+               span.bibitemlabel:before { content: "["; }
+               span.bibitemlabel:after { content: "] "; }
+       EndHTMLStyle
 End