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