]> git.lyx.org Git - features.git/blob - lib/layouts/stdtitle.inc
CSS for the TOC, and a couple small fixes.
[features.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 19
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-1 { 
24                 margin: 1em 0em 0em 0em; 
25                 font-size: x-large; 
26                 font-weight: bold; 
27         }
28         div.lyxtoc-2 { 
29                 margin: 0em 0em 0em 1em; 
30                 font-size: large; 
31                 font-weight: normal; 
32         }
33         div.lyxtoc-3 { margin: 0em 0em 0em 1em; font-size: medium; }
34         div.lyxtoc-4 { margin: 0em 0em 0em 1em; }
35         div.lyxtoc-5 { margin: 0em 0em 0em 1em; }
36         div.lyxtoc-6 { margin: 0em 0em 0em 1em; }
37 </style>
38 EndPreamble
39
40
41 Style Title
42         Margin                Static
43         LatexType             Command
44         Category              FrontMatter
45         InTitle               1
46         LatexName             title
47         ParSkip               0.4
48         ItemSep               0
49         TopSep                0
50         BottomSep             1
51         ParSep                1
52         Align                 Center
53         LabelType             No_Label
54         Font
55           Size                Largest
56         EndFont
57         HTMLTag               h1
58 End
59
60
61 Style Author
62         Margin                Static
63         LatexType             Command
64         Category              FrontMatter
65         InTitle               1
66         LatexName             author
67         LabelSep              xxx
68         ParSkip               0.4
69         TopSep                1.3
70         BottomSep             0.7
71         ParSep                0.7
72         Align                 Center
73         LabelType             No_Label
74         Font
75           Size                Large
76         EndFont
77 End
78
79
80 Style Date
81         Margin                Dynamic
82         LatexType             Command
83         Category              FrontMatter
84         InTitle               1
85         LatexName             date
86         LabelSep              xxx
87         ParSkip               0.4
88         TopSep                0.9
89         BottomSep             0.5
90         ParSep                1
91         Align                 Center
92         LabelType             No_Label
93         Font
94           Size                Large
95         EndFont
96 End