]> git.lyx.org Git - lyx.git/blob - lib/layouts/stdsections.inc
648b9b28df2c723bd42d86e179b664e0f482ad43
[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 Style Part
11         Margin                Dynamic
12         LatexType             Command
13         LatexName             part
14         NeedProtect           1
15         NextNoIndent          1
16         Labelsep              xxx
17         ParSkip               0.4
18         TopSep                4
19         BottomSep             4
20         ParSep                0.8
21         Align                 Center         
22         Alignpossible         Center
23         LabelType             Counter
24         LabelCounter          part
25         LabelString           "Part \arabic{part}"
26         Font 
27           Series              Bold
28           Size                Huge
29         EndFont
30 End
31         
32
33 Style Chapter
34         Margin                Static
35         LatexType             Command
36         LatexName             chapter
37         NeedProtect           1
38         NextNoIndent          1
39         ParSkip               0.4
40         TopSep                4
41         BottomSep             0.8
42         ParSep                0.8
43         Align                 Block
44         AlignPossible         Block, Left
45         LabelType             Counter
46         LabelCounter          chapter
47         LabelString           "\arabic{chapter}"
48         LabelStringAppendix   "Appendix \Alph{chapter}"
49         OptionalArgs          1
50         Font 
51           Series              Bold
52           Size                Huge
53         EndFont
54 End
55
56
57 Style Section
58         Margin                Dynamic
59         LatexType             Command
60         LatexName             section
61         NeedProtect           1
62         NextNoIndent          1
63         LabelSep              xxx
64         ParSkip               0.4
65         TopSep                1.3
66         BottomSep             0.7
67         ParSep                0.7
68         Align                 Block
69         AlignPossible         Block, Left
70         LabelType             Counter
71         LabelCounter          section
72         LabelString           "\arabic{chapter}.\arabic{section}"
73         LabelStringAppendix   "\Alph{chapter}.\arabic{section}"
74         OptionalArgs          1
75         Font 
76           Series              Bold
77           Size                Larger
78         EndFont
79 End
80
81
82 Style Subsection
83         CopyStyle             Section
84         LatexName             subsection
85         TopSep                0.9
86         BottomSep             0.5
87         ParSep                0.5
88         LabelCounter          subsection
89         LabelString           "@Section@.\arabic{subsection}
90         Font 
91           Series              Bold
92           Size                Large
93         EndFont
94 End
95
96
97 Style Subsubsection
98         CopyStyle             Subsection
99         LatexName             subsubsection
100         TopSep                0.7
101         BottomSep             0.4
102         LabelCounter          subsubsection
103         LabelString           "@Subsection@.\arabic{subsubsection}
104         Font 
105           Series              Bold
106           Size                Normal
107         EndFont
108 End
109
110
111 Style Paragraph
112         CopyStyle             Subsubsection
113         LatexName             paragraph
114         TopSep                0.4
115         BottomSep             0
116         LabelCounter          paragraph
117         LabelString           "@Subsubsection@.\arabic{paragraph}
118 End
119
120
121 Style Subparagraph
122         CopyStyle             Paragraph
123         LatexName             subparagraph
124         NextNoIndent          0
125         LeftMargin            MM
126         LabelSep              xxx
127         LabelCounter          subparagraph
128         LabelString           "@Paragraph@.\arabic{subparagraph}
129 End