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