]> git.lyx.org Git - lyx.git/blob - lib/layouts/stdsections.inc
The necessary changes to these XML layouts (charstyle new 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 4
11 Style Part
12         Margin                Dynamic
13         LabelString           "Part \thepart"
14         LabelType             Counter
15         TocLevel              0
16         LabelCounter          part
17         LatexType             Command
18         LatexName             part
19         NeedProtect           1
20         NextNoIndent          1
21         Labelsep              xxx
22         ParSkip               0.4
23         TopSep                4
24         BottomSep             4
25         ParSep                0.8
26         Align                 Center
27         Alignpossible         Center
28         Font
29           Series              Bold
30           Size                Huge
31         EndFont
32 End
33
34
35 Style Chapter
36         Margin                Static
37         LabelString           "Chapter \thechapter"
38         LabelStringAppendix   "Appendix \thechapter"
39         LabelType             Counter
40         LabelCounter          chapter
41         TocLevel              0
42         LatexType             Command
43         LatexName             chapter
44         NeedProtect           1
45         NextNoIndent          1
46         ParSkip               0.4
47         TopSep                4
48         BottomSep             0.8
49         ParSep                0.8
50         Align                 Block
51         AlignPossible         Block, Left
52         OptionalArgs          1
53         Font
54           Series              Bold
55           Size                Huge
56         EndFont
57 End
58
59
60 Style Section
61         Margin                Dynamic
62         LabelType             Counter
63         LabelCounter          section
64         TocLevel              1
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         OptionalArgs          1
77         Font
78           Series              Bold
79           Size                Larger
80         EndFont
81 End
82
83
84 Style Subsection
85         CopyStyle             Section
86         LabelCounter          subsection
87         TocLevel              2
88         LatexName             subsection
89         TopSep                0.9
90         BottomSep             0.5
91         ParSep                0.5
92         Font
93           Series              Bold
94           Size                Large
95         EndFont
96 End
97
98
99 Style Subsubsection
100         CopyStyle             Subsection
101         LabelCounter          subsubsection
102         TocLevel              3
103         LatexName             subsubsection
104         TopSep                0.7
105         BottomSep             0.4
106         Font
107           Series              Bold
108           Size                Normal
109         EndFont
110 End
111
112
113 Style Paragraph
114         CopyStyle             Subsubsection
115         LabelCounter          paragraph
116         TocLevel              4
117         LatexName             paragraph
118         TopSep                0.4
119         BottomSep             0
120 End
121
122
123 Style Subparagraph
124         CopyStyle             Paragraph
125         LabelCounter          subparagraph
126         TocLevel              5
127         LatexName             subparagraph
128         NextNoIndent          0
129         LeftMargin            MM
130 End
131
132 Input numarticle.inc