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