]> git.lyx.org Git - lyx.git/blob - lib/layouts/memoir.layout
Update tex2lyx test files
[lyx.git] / lib / layouts / memoir.layout
1 #% Do not delete the line below; configure depends on this
2 #  \DeclareLaTeXClass[memoir]{Memoir}
3 #  \DeclareCategory{Books}
4 # Memoir textclass definition file
5 # Author: Jürgen Spitzmüller <spitzmueller@gmx.de>
6 # Improvements by: Bennett Helm <bennett.helm@fandm.edu>
7 # feel free to contribute missing features!
8
9
10 Format 40
11 Columns            1
12 Sides              2
13 SecNumDepth        1
14 TocDepth           1
15 DefaultStyle       Standard
16 PageStyle          Headings
17 Provides makeidx   1
18 Provides framed    1
19 Provides subscript 1
20 # Memoir has support for line spacing, but uses different names from
21 # what setspace.sty does.  
22 Provides SetSpace  1
23
24
25 ClassOptions
26         FontSize             9|10|11|12|14|17
27         PageStyle            empty|plain|headings|myheadings|ruled|Ruled|companion
28         Other                oldfontcommands
29 End
30
31
32 Style Standard
33         Margin                Static
34         LatexType             Paragraph
35         LatexName             dummy
36         ParIndent             MM
37         ParSkip               0.4
38         Align                 Block
39         AlignPossible         Block, Left, Right, Center
40         LabelType             No_Label
41 End
42
43
44 Input stdinsets.inc
45 Input stdlists.inc
46 Input stdcounters.inc
47 Input stdfloats.inc
48 Input stdsections.inc
49 Input stdstarsections.inc
50 Input numreport.inc
51
52
53 Style Part
54         OptionalArgs         1
55         TocLevel             -1
56 End
57         
58
59
60 Style Chapter
61         OptionalArgs         2
62         TocLevel             0
63 End
64
65
66 Style Chapter*
67         OptionalArgs         1
68 End
69
70
71 Style Section
72         OptionalArgs         2
73         TocLevel 1
74 End
75
76
77 Style Subsection
78         OptionalArgs         2
79         TocLevel 2
80 End
81
82
83 Style Subsubsection
84         OptionalArgs         2
85         TocLevel 3
86 End
87
88
89 Style Paragraph
90         OptionalArgs         2
91         TocLevel 4
92 End
93
94
95 Style Subparagraph
96         OptionalArgs         2
97         TocLevel 5
98 End
99
100
101 Style Chapterprecis
102         Margin               Static
103         LatexType            Command
104         LatexName            chapterprecis
105         NeedProtect          1
106         NextNoIndent         1
107         LeftMargin           MM
108         LabelSep             xxx
109         ParSkip              0.4
110         TopSep               0.4
111         BottomSep            0
112         ParSep               0.4
113         Align                Block
114         Font
115           Shape              Italic
116           Size               Normal
117         EndFont
118 End
119
120 #FIXME: this takes two parameters!!!
121 Style Epigraph
122         Category              Maintext
123         Margin                Right_Address_Box
124         LatexType             Command
125         LatexName             epigraph
126         ParSkip               0.4
127         BottomSep             1.5
128         ParSep                1.5
129         Align                 Left
130 End
131
132 #FIXME: what is actually documented is \PoemTitle
133 #but \poemtitle is defined nevertheless. Weird.
134 Style Poemtitle
135         Category              Section
136         LatexType             Command
137         LatexName             poemtitle
138         NeedProtect           1
139         NextNoIndent          1
140         LabelSep              xxx
141         ParSkip               0.4
142         TopSep                0.4
143         ParSep                0.4
144         Align                 center
145         OptionalArgs          1
146         Font
147            Series             Bold
148         EndFont
149 End
150
151
152 Style Poemtitle*
153         CopyStyle             Poemtitle
154         Category              Unnumbered
155         LatexName             poemtitle*
156         OptionalArgs          0
157 End
158
159
160 Input stdtitle.inc
161 Input stdstruct.inc
162
163
164 Style Bibliography
165         TopSep               4
166         LabelString          "Bibliography"
167         LabelFont
168           Series             Bold
169           Size               Huge
170         EndFont
171 End
172
173
174 Input lyxmacros.inc
175 Input stdlayouts.inc
176
177 Style Legend
178         Category            Maintext
179         LatexType           Command
180         LatexName           legend
181         NeedProtect         1
182         NextNoIndent        1
183         ParSkip             0.4
184         Align               Center
185 End