]> git.lyx.org Git - lyx.git/blob - lib/layouts/stdsections.inc
f3cbc605f134ad2fea0eb87c33bad025b8bb7eb5
[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 11
11 Style Part
12         Category              Section
13         Margin                Dynamic
14         LabelString               "Part \thepart"
15         LabelType                   Counter
16         TocLevel              0
17         LabelCounter            part
18         LatexType             Command
19         LatexName             part
20         NeedProtect           1
21         NextNoIndent          1
22         Labelsep              xxx
23         ParSkip               0.4
24         TopSep                4
25         BottomSep             4
26         ParSep                0.8
27         Align                 Center
28         Alignpossible         Center
29         Font
30           Series              Bold
31           Size                Huge
32         EndFont
33         HTMLTag               h1
34         HTMLAttr              class='part'
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         HTMLAttr              class='chapter'
62 End
63
64
65 Style Section
66         Category              Section
67         Margin                Dynamic
68         LabelType                   Counter
69         LabelCounter            section
70         TocLevel              1
71         LatexType             Command
72         LatexName             section
73         NeedProtect           1
74         NextNoIndent          1
75         LabelSep              xxx
76         ParSkip               0.4
77         TopSep                1.3
78         BottomSep             0.7
79         ParSep                0.7
80         Align                 Block
81         OptionalArgs          1
82         Font
83           Series              Bold
84           Size                Larger
85         EndFont
86         HTMLTag               h2
87         HTMLAttr              class='section'
88         HTMLStyle
89                 h2.section { font-family: sans-serif; }
90         EndHTMLStyle
91 End
92
93
94 Style Subsection
95         CopyStyle             Section
96         LabelCounter            subsection
97         TocLevel              2
98         LatexName             subsection
99         TopSep                0.9
100         BottomSep             0.5
101         ParSep                0.5
102         Font
103           Series              Bold
104           Size                Large
105         EndFont
106         HTMLTag               h3
107         HTMLAttr              class='subsection'
108 End
109
110
111 Style Subsubsection
112         CopyStyle             Subsection
113         LabelCounter            subsubsection
114         TocLevel              3
115         LatexName             subsubsection
116         TopSep                0.7
117         BottomSep             0.4
118         Font
119           Series              Bold
120           Size                Normal
121         EndFont
122         HTMLTag               h4
123         HTMLAttr              class='subsubsection'
124 End
125
126
127 Style Paragraph
128         CopyStyle             Subsubsection
129         LabelCounter            paragraph
130         TocLevel              4
131         LatexName             paragraph
132         TopSep                0.4
133         BottomSep             0
134         HTMLTag               span
135         HTMLAttr              class='paragraph'
136 End
137
138
139 Style Subparagraph
140         CopyStyle             Paragraph
141         LabelCounter            subparagraph
142         TocLevel              5
143         LatexName             subparagraph
144         NextNoIndent          0
145         LeftMargin            MM
146         HTMLTag               span
147         HTMLAttr              class='subparagraph'
148 End
149
150 Input numarticle.inc