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