]> git.lyx.org Git - lyx.git/blob - lib/layouts/stdsections.inc
Update layout format.
[lyx.git] / lib / layouts / stdsections.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
6 # This include files contains all numbered sectionning-related
7 # commands that are useful for article-like document classes, but not
8 # for letters.
9
10 Format 27
11
12 Style Part
13         Category              Section
14         Margin                Dynamic
15         LabelString           "Part \thepart"
16         LabelType             Counter
17         TocLevel              0
18         LabelCounter          part
19         LatexType             Command
20         LatexName             part
21         NeedProtect           1
22         NextNoIndent          1
23         Labelsep              xxx
24         ParSkip               0.4
25         TopSep                4
26         BottomSep             4
27         ParSep                0.8
28         Align                 Center
29         Alignpossible         Center
30         Font
31           Series              Bold
32           Size                Huge
33         EndFont
34         HTMLTag               h1
35 End
36
37
38 Style Chapter
39         Margin                Static
40         Category              Section
41         LabelString           "Chapter \thechapter"
42         LabelStringAppendix   "Appendix \thechapter"
43         LabelType             Counter
44         LabelCounter          chapter
45         TocLevel              0
46         LatexType             Command
47         LatexName             chapter
48         NeedProtect           1
49         NextNoIndent          1
50         ParSkip               0.4
51         TopSep                4
52         BottomSep             0.8
53         ParSep                0.8
54         Align                 Block
55         OptionalArgs          1
56         Font
57           Series              Bold
58           Size                Huge
59         EndFont
60         HTMLTag               h1
61 End
62
63
64 Style Section
65         Category              Section
66         Margin                Dynamic
67         LabelType             Counter
68         LabelCounter          section
69         TocLevel              1
70         LatexType             Command
71         LatexName             section
72         NeedProtect           1
73         NextNoIndent          1
74         LabelSep              xxx
75         ParSkip               0.4
76         TopSep                1.3
77         BottomSep             0.7
78         ParSep                0.7
79         Align                 Block
80         OptionalArgs          1
81         Font
82           Series              Bold
83           Size                Larger
84         EndFont
85         HTMLTag               h2
86 End
87
88
89 Style Subsection
90         CopyStyle             Section
91         LabelCounter          subsection
92         TocLevel              2
93         LatexName             subsection
94         TopSep                0.9
95         BottomSep             0.5
96         ParSep                0.5
97         Font
98           Series              Bold
99           Size                Large
100         EndFont
101         HTMLTag               h3
102 End
103
104
105 Style Subsubsection
106         CopyStyle             Subsection
107         LabelCounter          subsubsection
108         TocLevel              3
109         LatexName             subsubsection
110         TopSep                0.7
111         BottomSep             0.4
112         Font
113           Series              Bold
114           Size                Normal
115         EndFont
116         HTMLTag               h4
117 End
118
119
120 Style Paragraph
121         CopyStyle             Subsubsection
122         LabelCounter          paragraph
123         TocLevel              4
124         LatexName             paragraph
125         TopSep                0.4
126         BottomSep             0
127 End
128
129
130 Style Subparagraph
131         CopyStyle             Paragraph
132         LabelCounter          subparagraph
133         TocLevel              5
134         LatexName             subparagraph
135         NextNoIndent          0
136         LeftMargin            MM
137 End
138
139 Input stdrefprefix.inc
140 Input numarticle.inc