]> git.lyx.org Git - features.git/blob - lib/layouts/stdsections.inc
re-indent (tab for logical indentation, spaces for alignment)
[features.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 # Part style definition
11 Style Part
12         Margin                Dynamic
13         LatexType             Command
14         LatexName             part
15         NeedProtect           1
16         NextNoIndent          1
17         Labelsep              xxx
18         ParSkip               0.4
19         TopSep                4
20         BottomSep             4
21         ParSep                0.8
22         Align                 Center         
23         Alignpossible         Center
24         LabelType             Static
25         LabelString           "Part #"
26
27         # standard font definition
28         Font 
29           Series              Bold
30           Size                Huge
31         EndFont
32
33 End
34         
35
36 # Chapter style definition
37 Style Chapter
38         Margin                Static
39         LatexType             Command
40         LatexName             chapter
41         NeedProtect           1
42         NextNoIndent          1
43         ParSkip               0.4
44         TopSep                4
45         BottomSep             0.8
46         ParSep                0.8
47         Align                 Block
48         AlignPossible         Block, Left
49         LabelType             Counter_Chapter
50         LabelString           "Chapter "
51         LabelStringAppendix   "Appendix "
52         OptionalArgs                          1
53
54         # standard font definition
55         Font 
56           Series              Bold
57           Size                Huge
58         EndFont
59
60 End
61
62 # Section style definition
63 Style Section
64         Margin                Dynamic
65         LatexType             Command
66         LatexName             section
67         NeedProtect           1
68         NextNoIndent          1
69         LabelSep              xxx
70         ParSkip               0.4
71         TopSep                1.3
72         BottomSep             0.7
73         ParSep                0.7
74         Align                 Block
75         AlignPossible         Block, Left
76         LabelType             Counter_Section
77         OptionalArgs                          1
78
79         # standard font definition
80         Font 
81           Series              Bold
82           Size                Larger
83         EndFont
84
85 End
86
87 # Subsection style definition
88 Style Subsection
89         Margin                Dynamic
90         LatexType             Command
91         LatexName             subsection
92         NeedProtect           1
93         NextNoIndent          1
94         LabelSep              xxx
95         ParSkip               0.4
96         TopSep                0.9
97         BottomSep             0.5
98         ParSep                0.5
99         Align                 Block
100         AlignPossible         Block, Left
101         LabelType             Counter_Subsection
102         OptionalArgs                          1
103
104         # standard font definition
105         Font 
106           Series              Bold
107           Size                Large
108         EndFont
109
110 End
111
112 # Subsubsection style definition
113 Style Subsubsection
114         Margin                Dynamic
115         LatexType             Command
116         LatexName             subsubsection
117         NeedProtect           1
118         NextNoIndent          1
119         LabelSep              xxx
120         ParSkip               0.4
121         TopSep                0.7
122         BottomSep             0.4
123         ParSep                0.4
124         Align                 Block
125         AlignPossible         Block, Left
126         LabelType             Counter_SubSubSection
127         OptionalArgs                          1
128
129         # standard font definition
130         Font 
131           Series              Bold
132           Size                Normal
133         EndFont
134
135 End
136
137 # Paragraph style definition
138 Style Paragraph
139         Margin                Dynamic
140         LatexType             Command
141         LatexName             paragraph
142         NeedProtect           1
143         NextNoIndent          1
144         LabelSep              xxx
145         ParSkip               0.4
146         TopSep                0.4
147         BottomSep             0
148         ParSep                0.4
149         Align                 Block
150         AlignPossible         Block, Left
151         LabelType             Counter_Paragraph
152         OptionalArgs                          1
153
154         # standard font definition
155         Font 
156           Series              Bold
157           Size                Normal
158         EndFont
159
160 End
161
162 # Subparagraph style definition
163 Style Subparagraph
164         Margin                Dynamic
165         LatexType             Command
166         LatexName             subparagraph
167         NeedProtect           1
168         NextNoIndent          0
169         LeftMargin            MM
170         LabelSep              xxx
171         ParSkip               0.4
172         TopSep                0.4
173         BottomSep             0
174         ParSep                0.4
175         Align                 Block
176         AlignPossible         Block, Left
177         LabelType             Counter_SubParagraph
178         OptionalArgs                          1
179
180         # standard font definition
181         Font 
182           Series              Bold
183           Size                Normal
184         EndFont
185
186 End