]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/stdtitle.inc
We have the magic keyword ObsoletedBy which allows renaming styles
[lyx.git] / lib / layouts / stdtitle.inc
index 1a18d7a074dc80a4384b06c390dfa194dc2dcc98..6ba4dd472afcccb7cc1a34aa4b4f09bb7f8d0b2c 100644 (file)
@@ -1,16 +1,53 @@
 # 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.
 # Split from stdstruct.inc by Hartmut Goebel <hartmut@noris.net>
 
 # This include files contains all layouts that handle the title area
 # a document, like title, author and such.
 
-# Title style definition
+
+Format 26
+
+# CSS for the TOC
+AddToHTMLPreamble
+<style type="text/css">
+       div.toc { 
+               margin: 2em 0em; 
+               border-style: solid; 
+               border-width: 2px 0px; 
+               padding: 1em 0em; 
+       }
+       div.tochead { font-size: x-large; font-weight: bold; }
+       div.lyxtoc-1 { 
+               margin: 1em 0em 0em 0em; 
+               font-size: x-large; 
+               font-weight: bold; 
+       }
+       div.lyxtoc-2 { 
+               margin: 0em 0em 0em 1em; 
+               font-size: large; 
+               font-weight: normal; 
+       }
+       div.lyxtoc-3 { margin: 0em 0em 0em 1em; font-size: medium; }
+       div.lyxtoc-4 { margin: 0em 0em 0em 1em; }
+       div.lyxtoc-5 { margin: 0em 0em 0em 1em; }
+       div.lyxtoc-6 { margin: 0em 0em 0em 1em; }
+       a.tocarrow { 
+               font-weight: bold; 
+               text-decoration: none; 
+               color: #909090; 
+       }
+       a.tocarrow:visited { color: #C0C0C0; }
+</style>
+EndPreamble
+
+
 Style Title
        Margin                Static
        LatexType             Command
+       Category              FrontMatter
        InTitle               1
        LatexName             title
        ParSkip               0.4
@@ -19,20 +56,19 @@ Style Title
        BottomSep             1
        ParSep                1
        Align                 Center
-       AlignPossible         Center
        LabelType             No_Label
-
-       # standard font definition
-       Font 
+       Font
          Size                Largest
        EndFont
-
+       HTMLTag               h1
+       HTMLTitle             true
 End
 
-# Author style definition
+
 Style Author
        Margin                Static
        LatexType             Command
+       Category              FrontMatter
        InTitle               1
        LatexName             author
        LabelSep              xxx
@@ -41,20 +77,17 @@ Style Author
        BottomSep             0.7
        ParSep                0.7
        Align                 Center
-       AlignPossible         Center
        LabelType             No_Label
-
-       # standard font definition
-       Font 
+       Font
          Size                Large
        EndFont
-
 End
 
-# Date style definition
+
 Style Date
        Margin                Dynamic
        LatexType             Command
+       Category              FrontMatter
        InTitle               1
        LatexName             date
        LabelSep              xxx
@@ -63,13 +96,8 @@ Style Date
        BottomSep             0.5
        ParSep                1
        Align                 Center
-       AlignPossible         Center
        LabelType             No_Label
-
-
-       # standard font definition
-       Font 
+       Font
          Size                Large
        EndFont
-
 End