]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/stdstruct.inc
New Theorems Module. Contributed by Udicoudco <udifoglle@gmail.com> on the mailing...
[lyx.git] / lib / layouts / stdstruct.inc
index f4d7ed6fd84264fded7b9bc4005f3ee05139bdd0..48552e8a049730aa8aa26136efee42168cdd6e6e 100644 (file)
@@ -1,19 +1,22 @@
 # Standard textclass definition file. Taken from initial LyX source code
 # Author : Matthias Ettrich <ettrich@informatik.uni-tuebingen.de>
-# Transposed by Pascal André <andre@via.ecp.fr>
+# Transposed by Pascal André <andre@via.ecp.fr>
 # Heavily modifed and enhanced by several developers.
-# Title definitions moved to stdtitle.inc by HArtmut Goebel <harmut@noris.net>
+# Title definitions moved to stdtitle.inc by Hartmut Goebel <harmut@noris.net>
 
 # This include files contains all layouts that handle the structure of
 # a document, like abstract, bibliography and such.
 
 
-Format 2
+Format 99
+
 Style Abstract
        Margin                Static
        LatexType             Environment
        LatexName             abstract
+       Category              FrontMatter
        NextNoIndent          1
+       ToggleIndent          Always
        LeftMargin            MMM
        RightMargin           MMM
        ParIndent             MM
@@ -22,17 +25,34 @@ Style Abstract
        BottomSep             0.7
        ParSep                0
        Align                 Block
-       AlignPossible         Block
-       LabelType             Centered_Top_Environment
+       LabelType             Centered
        LabelString           "Abstract"
-       LabelBottomSep    0.5
+       LabelBottomSep        0.2
        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
+       DocBookAbstract       true
+       DocBookInInfo         always
+       DocBookWrapperTag     abstract
+       DocBookWrapperMergeWithPrevious    true
+       DocBookTag            para
 End
 
 
@@ -40,7 +60,9 @@ Style Bibliography
        Margin                First_Dynamic
        LatexType             Bib_Environment
        LatexName             thebibliography
+       Category              BackMatter
        NextNoIndent          1
+       ToggleIndent          Never
        LeftMargin            MM
        ParSkip               0.4
        ItemSep               0
@@ -56,4 +78,25 @@ 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
+       TocLevel              1
+       ISTocCaption          0
+       Argument listpreamble:1
+         LabelString    "Bib preamble"
+         MenuString     "Bibliography Preamble"
+         Tooltip        "LaTeX code to be inserted before the first bibliography item"
+         PassThru       1
+         Font
+           Family typewriter
+           Color latex
+         EndFont
+       EndArgument
+       DocBookTag            bibliography
 End