]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/stdtitle.inc
europeCV: complete revision of layout and example file
[lyx.git] / lib / layouts / stdtitle.inc
index e0f99dd052d290a30ddf46c4bc727698d39ef331..b81466405d6f17be7a29bdaa50c7deb702811430 100644 (file)
@@ -1,6 +1,6 @@
 # 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>
 
@@ -8,10 +8,54 @@
 # a document, like title, author and such.
 
 
-Format 2
+Format 41
+
+# CSS for the TOC
+AddToHTMLStyles
+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-0 {
+  margin: 2em 0em 0em 0em;
+  font-size: xx-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 0.5em; font-size: medium; }
+div.lyxtoc-4 { margin: 0em 0em 0em 0.5em; }
+div.lyxtoc-5 { margin: 0em 0em 0em 0.5em; }
+div.lyxtoc-6 { margin: 0em 0em 0em 0.5em; }
+a.tocentry {
+  text-decoration: none;
+  color: black;
+}
+a.tocentry:visited { color: black; }
+a.tocarrow {
+  font-weight: bold;
+  text-decoration: none;
+  color: #909090;
+}
+a.tocarrow:visited { color: #C0C0C0; }
+EndStyles
+
+
 Style Title
        Margin                Static
        LatexType             Command
+       Category              FrontMatter
        InTitle               1
        LatexName             title
        ParSkip               0.4
@@ -20,17 +64,19 @@ Style Title
        BottomSep             1
        ParSep                1
        Align                 Center
-       AlignPossible         Center
        LabelType             No_Label
        Font
          Size                Largest
        EndFont
+       HTMLTag               h1
+       HTMLTitle             true
 End
 
 
 Style Author
        Margin                Static
        LatexType             Command
+       Category              FrontMatter
        InTitle               1
        LatexName             author
        LabelSep              xxx
@@ -39,7 +85,6 @@ Style Author
        BottomSep             0.7
        ParSep                0.7
        Align                 Center
-       AlignPossible         Center
        LabelType             No_Label
        Font
          Size                Large
@@ -50,6 +95,7 @@ End
 Style Date
        Margin                Dynamic
        LatexType             Command
+       Category              FrontMatter
        InTitle               1
        LatexName             date
        LabelSep              xxx
@@ -58,7 +104,6 @@ Style Date
        BottomSep             0.5
        ParSep                1
        Align                 Center
-       AlignPossible         Center
        LabelType             No_Label
        Font
          Size                Large