]> git.lyx.org Git - lyx.git/blob - lib/layouts/stdtitle.inc
Update layout format.
[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 27
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         a.tocarrow { 
38                 font-weight: bold; 
39                 text-decoration: none; 
40                 color: #909090; 
41         }
42         a.tocarrow:visited { color: #C0C0C0; }
43 </style>
44 EndPreamble
45
46
47 Style Title
48         Margin                Static
49         LatexType             Command
50         Category              FrontMatter
51         InTitle               1
52         LatexName             title
53         ParSkip               0.4
54         ItemSep               0
55         TopSep                0
56         BottomSep             1
57         ParSep                1
58         Align                 Center
59         LabelType             No_Label
60         Font
61           Size                Largest
62         EndFont
63         HTMLTag               h1
64         HTMLTitle             true
65 End
66
67
68 Style Author
69         Margin                Static
70         LatexType             Command
71         Category              FrontMatter
72         InTitle               1
73         LatexName             author
74         LabelSep              xxx
75         ParSkip               0.4
76         TopSep                1.3
77         BottomSep             0.7
78         ParSep                0.7
79         Align                 Center
80         LabelType             No_Label
81         Font
82           Size                Large
83         EndFont
84 End
85
86
87 Style Date
88         Margin                Dynamic
89         LatexType             Command
90         Category              FrontMatter
91         InTitle               1
92         LatexName             date
93         LabelSep              xxx
94         ParSkip               0.4
95         TopSep                0.9
96         BottomSep             0.5
97         ParSep                1
98         Align                 Center
99         LabelType             No_Label
100         Font
101           Size                Large
102         EndFont
103 End