]> git.lyx.org Git - lyx.git/blob - lib/layouts/stdtitle.inc
Update all layouts to format 40.
[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 40
12
13 # CSS for the TOC
14 AddToHTMLStyles
15 div.toc {
16   margin: 2em 0em;
17   border-style: solid;
18   border-width: 2px 0px;
19   padding: 1em 0em;
20 }
21 div.tochead { font-size: x-large; font-weight: bold; }
22 div.lyxtoc-0 {
23   margin: 2em 0em 0em 0em;
24   font-size: xx-large;
25   font-weight: bold;
26 }
27 div.lyxtoc-1 {
28   margin: 1em 0em 0em 0em;
29   font-size: x-large;
30   font-weight: bold;
31 }
32 div.lyxtoc-2 {
33   margin: 0em 0em 0em 1em;
34   font-size: large;
35   font-weight: normal;
36 }
37 div.lyxtoc-3 { margin: 0em 0em 0em 0.5em; font-size: medium; }
38 div.lyxtoc-4 { margin: 0em 0em 0em 0.5em; }
39 div.lyxtoc-5 { margin: 0em 0em 0em 0.5em; }
40 div.lyxtoc-6 { margin: 0em 0em 0em 0.5em; }
41 a.tocentry {
42   text-decoration: none;
43   color: black;
44 }
45 a.tocentry:visited { color: black; }
46 a.tocarrow {
47   font-weight: bold;
48   text-decoration: none;
49   color: #909090;
50 }
51 a.tocarrow:visited { color: #C0C0C0; }
52 EndStyles
53
54
55 Style Title
56         Margin                Static
57         LatexType             Command
58         Category              FrontMatter
59         InTitle               1
60         LatexName             title
61         ParSkip               0.4
62         ItemSep               0
63         TopSep                0
64         BottomSep             1
65         ParSep                1
66         Align                 Center
67         LabelType             No_Label
68         Font
69           Size                Largest
70         EndFont
71         HTMLTag               h1
72         HTMLTitle             true
73 End
74
75
76 Style Author
77         Margin                Static
78         LatexType             Command
79         Category              FrontMatter
80         InTitle               1
81         LatexName             author
82         LabelSep              xxx
83         ParSkip               0.4
84         TopSep                1.3
85         BottomSep             0.7
86         ParSep                0.7
87         Align                 Center
88         LabelType             No_Label
89         Font
90           Size                Large
91         EndFont
92 End
93
94
95 Style Date
96         Margin                Dynamic
97         LatexType             Command
98         Category              FrontMatter
99         InTitle               1
100         LatexName             date
101         LabelSep              xxx
102         ParSkip               0.4
103         TopSep                0.9
104         BottomSep             0.5
105         ParSep                1
106         Align                 Center
107         LabelType             No_Label
108         Font
109           Size                Large
110         EndFont
111 End