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