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