]> git.lyx.org Git - lyx.git/blob - lib/layouts/stdtitle.inc
Fix bug #7450. Never did CSS for parts. Indent of lower TOC elements is
[lyx.git] / lib / layouts / stdtitle.inc
1 # Standard textclass definition file. Taken from initial LyX source code
2 # Author : Matthias Ettrich <ettrich@informatik.uni-tuebingen.de>
3 # Transposed by Pascal AndrĂ© <andre@via.ecp.fr>
4 # Heavily modifed and enhanced by several developers.
5 # Split from stdstruct.inc by Hartmut Goebel <hartmut@noris.net>
6
7 # This include files contains all layouts that handle the title area
8 # a document, like title, author and such.
9
10
11 Format 34
12
13 # CSS for the TOC
14 AddToHTMLPreamble
15 <style type="text/css">
16         div.toc { 
17                 margin: 2em 0em; 
18                 border-style: solid; 
19                 border-width: 2px 0px; 
20                 padding: 1em 0em; 
21         }
22         div.tochead { font-size: x-large; font-weight: bold; }
23         div.lyxtoc-0 {
24                 margin: 2em 0em 0em 0em;
25                 font-size: xx-large;
26                 font-weight: bold;
27         }
28         div.lyxtoc-1 { 
29                 margin: 1em 0em 0em 0em; 
30                 font-size: x-large; 
31                 font-weight: bold; 
32         }
33         div.lyxtoc-2 { 
34                 margin: 0em 0em 0em 1em; 
35                 font-size: large; 
36                 font-weight: normal; 
37         }
38         div.lyxtoc-3 { margin: 0em 0em 0em 0.5em; font-size: medium; }
39         div.lyxtoc-4 { margin: 0em 0em 0em 0.5em; }
40         div.lyxtoc-5 { margin: 0em 0em 0em 0.5em; }
41         div.lyxtoc-6 { margin: 0em 0em 0em 0.5em; }
42         a.tocentry {
43                 text-decoration: none;
44                 color: black;
45         }
46         a.tocentry:visited { color: black; }
47         a.tocarrow { 
48                 font-weight: bold; 
49                 text-decoration: none; 
50                 color: #909090; 
51         }
52         a.tocarrow:visited { color: #C0C0C0; }
53 </style>
54 EndPreamble
55
56
57 Style Title
58         Margin                Static
59         LatexType             Command
60         Category              FrontMatter
61         InTitle               1
62         LatexName             title
63         ParSkip               0.4
64         ItemSep               0
65         TopSep                0
66         BottomSep             1
67         ParSep                1
68         Align                 Center
69         LabelType             No_Label
70         Font
71           Size                Largest
72         EndFont
73         HTMLTag               h1
74         HTMLTitle             true
75 End
76
77
78 Style Author
79         Margin                Static
80         LatexType             Command
81         Category              FrontMatter
82         InTitle               1
83         LatexName             author
84         LabelSep              xxx
85         ParSkip               0.4
86         TopSep                1.3
87         BottomSep             0.7
88         ParSep                0.7
89         Align                 Center
90         LabelType             No_Label
91         Font
92           Size                Large
93         EndFont
94 End
95
96
97 Style Date
98         Margin                Dynamic
99         LatexType             Command
100         Category              FrontMatter
101         InTitle               1
102         LatexName             date
103         LabelSep              xxx
104         ParSkip               0.4
105         TopSep                0.9
106         BottomSep             0.5
107         ParSep                1
108         Align                 Center
109         LabelType             No_Label
110         Font
111           Size                Large
112         EndFont
113 End