]> git.lyx.org Git - lyx.git/blob - lib/layouts/stdsections.inc
Don't paint misspelled mark if continuous spellchecking is disabled.
[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 files contains all numbered sectionning-related
7 # commands that are useful for article-like document classes, but not
8 # for letters.
9
10 Format 16
11
12 Style Part
13         Category              Section
14         Margin                Dynamic
15         LabelString               "Part \thepart"
16         LabelType                   Counter
17         TocLevel              0
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         Font
31           Series              Bold
32           Size                Huge
33         EndFont
34         HTMLTag               h1
35         HTMLAttr              class='part'
36 End
37
38
39 Style Chapter
40         Margin                Static
41         Category              Section
42         LabelString               "Chapter \thechapter"
43         LabelStringAppendix   "Appendix \thechapter"
44         LabelType                   Counter
45         LabelCounter            chapter
46         TocLevel              0
47         LatexType             Command
48         LatexName             chapter
49         NeedProtect           1
50         NextNoIndent          1
51         ParSkip               0.4
52         TopSep                4
53         BottomSep             0.8
54         ParSep                0.8
55         Align                 Block
56         OptionalArgs          1
57         Font
58           Series              Bold
59           Size                Huge
60         EndFont
61         HTMLTag               h1
62         HTMLAttr              class='chapter'
63 End
64
65
66 Style Section
67         Category              Section
68         Margin                Dynamic
69         LabelType                   Counter
70         LabelCounter            section
71         TocLevel              1
72         LatexType             Command
73         LatexName             section
74         NeedProtect           1
75         NextNoIndent          1
76         LabelSep              xxx
77         ParSkip               0.4
78         TopSep                1.3
79         BottomSep             0.7
80         ParSep                0.7
81         Align                 Block
82         OptionalArgs          1
83         Font
84           Series              Bold
85           Size                Larger
86         EndFont
87         HTMLTag               h2
88         HTMLAttr              class='section'
89         HTMLStyle
90                 h2.section { font-family: sans-serif; }
91         EndHTMLStyle
92 End
93
94
95 Style Subsection
96         CopyStyle             Section
97         LabelCounter            subsection
98         TocLevel              2
99         LatexName             subsection
100         TopSep                0.9
101         BottomSep             0.5
102         ParSep                0.5
103         Font
104           Series              Bold
105           Size                Large
106         EndFont
107         HTMLTag               h3
108         HTMLAttr              class='subsection'
109 End
110
111
112 Style Subsubsection
113         CopyStyle             Subsection
114         LabelCounter            subsubsection
115         TocLevel              3
116         LatexName             subsubsection
117         TopSep                0.7
118         BottomSep             0.4
119         Font
120           Series              Bold
121           Size                Normal
122         EndFont
123         HTMLTag               h4
124         HTMLAttr              class='subsubsection'
125 End
126
127
128 Style Paragraph
129         CopyStyle             Subsubsection
130         LabelCounter            paragraph
131         TocLevel              4
132         LatexName             paragraph
133         TopSep                0.4
134         BottomSep             0
135         HTMLTag               span
136         HTMLAttr              class='paragraph'
137 End
138
139
140 Style Subparagraph
141         CopyStyle             Paragraph
142         LabelCounter            subparagraph
143         TocLevel              5
144         LatexName             subparagraph
145         NextNoIndent          0
146         LeftMargin            MM
147         HTMLTag               span
148         HTMLAttr              class='subparagraph'
149 End
150
151 Input numarticle.inc