]> git.lyx.org Git - features.git/blob - lib/layouts/stdsections.inc
DocBook: implement fancy color box.
[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 file contains all numbered sectionning-related
7 # commands that are useful for article-like document classes, but not
8 # for letters.
9
10 Format 85
11
12 Style Part
13         Category              Sectioning
14         Margin                Dynamic
15         LabelString           "Part \thepart"
16         LabelType             Static
17         TocLevel              -1
18         LabelCounter          part
19         LatexType             Command
20         LatexName             part
21         NeedProtect           1
22         NextNoIndent          1
23         ToggleIndent          Never
24         Labelsep              xxx
25         ParSkip               0.4
26         TopSep                4
27         BottomSep             4
28         ParSep                0.8
29         Align                 Center
30         Alignpossible         Center
31         Argument 1
32                 LabelString   "Short Title|S"
33                 Tooltip       "The part as it appears in the table of contents/running headers"
34                 InsertCotext  1
35                 IsTocCaption  1
36         EndArgument
37         Font
38           Series              Bold
39           Size                Huge
40         EndFont
41         HTMLTag               h1
42         DocBookTag            title
43         DocBookTagType        paragraph
44         DocBookInInfo         maybe
45         DocBookSectionTag     part
46         DocBookForceAbstractTag partintro
47 End
48
49
50 Style Chapter
51         Margin                Static
52         Category              Sectioning
53         LabelString           "Chapter \thechapter"
54         LabelStringAppendix   "Appendix \thechapter"
55         LabelType             Above
56         LabelCounter          chapter
57         TocLevel              0
58         LatexType             Command
59         LatexName             chapter
60         NeedProtect           1
61         NextNoIndent          1
62         ToggleIndent          Never
63         ParSkip               0.4
64         TopSep                2
65         BottomSep             0.8
66         ParSep                0.8
67         Align                 Block
68         Argument 1
69                 LabelString   "Short Title|S"
70                 Tooltip       "The chapter as it appears in the table of contents/running headers"
71                 InsertCotext  1
72                 IsTocCaption  1
73         EndArgument
74         Font
75           Series              Bold
76           Size                Huge
77         EndFont
78         HTMLTag               h1
79         DocBookTag            title
80         DocBookTagType        paragraph
81         DocBookInInfo         maybe
82         DocBookSectionTag     chapter
83 End
84
85
86 Style Section
87         Category              Sectioning
88         Margin                Dynamic
89         LabelType             Static
90         LabelCounter          section
91         TocLevel              1
92         LatexType             Command
93         LatexName             section
94         NeedProtect           1
95         NextNoIndent          1
96         ToggleIndent          Never
97         LabelSep              xxx
98         ParSkip               0.4
99         TopSep                1.3
100         BottomSep             0.7
101         ParSep                0.7
102         Align                 Block
103         Argument 1
104                 LabelString   "Short Title|S"
105                 Tooltip       "The section as it appears in the table of contents/running headers"
106                 InsertCotext  1
107                 IsTocCaption  1
108         EndArgument
109         Font
110           Series              Bold
111           Size                Larger
112         EndFont
113         HTMLTag               h2
114         DocBookTag            title
115         DocBookTagType        paragraph
116         DocBookInInfo         maybe
117         DocBookSectionTag     section
118 End
119
120
121 Style Subsection
122         CopyStyle             Section
123         LabelCounter          subsection
124         TocLevel              2
125         LatexName             subsection
126         TopSep                0.9
127         BottomSep             0.5
128         ParSep                0.5
129         Font
130           Series              Bold
131           Size                Large
132         EndFont
133         HTMLTag               h3
134 End
135
136
137 Style Subsubsection
138         CopyStyle             Subsection
139         LabelCounter          subsubsection
140         TocLevel              3
141         LatexName             subsubsection
142         TopSep                0.7
143         BottomSep             0.4
144         Font
145           Series              Bold
146           Size                Normal
147         EndFont
148         HTMLTag               h4
149 End
150
151
152 Style Paragraph
153         CopyStyle             Subsubsection
154         LabelCounter          paragraph
155         TocLevel              4
156         LatexName             paragraph
157         TopSep                0.4
158         BottomSep             0
159         HTMLTag               h5
160 End
161
162
163 Style Subparagraph
164         CopyStyle             Paragraph
165         LabelCounter          subparagraph
166         TocLevel              5
167         LatexName             subparagraph
168         NextNoIndent          0
169         LeftMargin            MM
170         HTMLTag               h6
171 End
172
173 Input stdrefprefix.inc
174 Input numarticle.inc