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