]> git.lyx.org Git - lyx.git/blob - lib/layouts/amsdefs.inc
replace 'ascii' by 'plain text' (more to come)
[lyx.git] / lib / layouts / amsdefs.inc
1 # Author : David L. Johnson <dlj0@lehigh.edu>
2 # Probably broken by Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3 # modified and modularized by Emmanuel GUREGHIAN <gureghia@boston.bertin.fr>
4
5 # Including the maths stuff
6 Format 2
7 Input amsmaths.inc
8
9 # The AMS documentclasses use the package amsmath and provide the
10 # functionality of makeidx.sty.
11 ProvidesAmsmath         1
12 ProvidesMakeidx         1
13
14
15 # the environments copied from the old amsart.layout are:
16 # - Proof
17 # - Bibliography
18 # - Title
19 # - Author
20 # - Date
21 # - Abstract (This is a title component for this style.)
22 # - Address
23 # - Email
24 # - Keywords
25 # - Subjectclass
26
27
28 Style Proof
29         Margin                First_Dynamic
30         LatexType             Environment
31         LatexName             proof
32         NextNoIndent          1
33         LabelSep              xx
34         ParIndent             MMM
35         ParSkip               0.4
36         ItemSep               0.2
37         TopSep                0.7
38         BottomSep             0.7
39         ParSep                0.3
40         Align                 Block
41         AlignPossible         Block, Left
42         LabelType             Static
43         LabelString           "Proof."
44         EndLabelType          Box
45         Font
46           Shape               Up
47           Size                Normal
48         EndFont
49         LabelFont
50           Shape               Italic
51         EndFont
52         # We don't want the preamble from Theorem
53         Preamble
54         EndPreamble
55 End
56
57
58 ### Now the title stuff. We copy do not use stdstruct.inc to keep
59 ### things in the right order
60 Style Title
61         Margin                Static
62         LatexType             Command
63         InTitle               1
64         LatexName             title
65         ParSkip               0.4
66         ItemSep               0
67         TopSep                0
68         BottomSep             1
69         ParSep                1
70         Align                 Center
71         AlignPossible         Center
72         LabelType             No_Label
73         Font
74           Shape               Smallcaps
75           Series              Bold
76           Size                Larger
77         EndFont
78 End
79
80
81 Style Author
82         Margin                Static
83         LatexType             Command
84         InTitle               1
85         LatexName             author
86         LabelSep              xxx
87         ParSkip               0.4
88         TopSep                1.3
89         BottomSep             0.7
90         ParSep                0.7
91         Align                 Center
92         AlignPossible         Center
93         LabelType             No_Label
94         Font
95           Size                Large
96           Shape               Smallcaps
97         EndFont
98 End
99
100
101 Style Date
102         Margin                Dynamic
103         LatexType             Command
104         InTitle               1
105         LatexName             date
106         LabelSep              xxx
107         ParSkip               0.4
108         TopSep                0.9
109         BottomSep             0.5
110         ParSep                1
111         Align                 Center
112         AlignPossible         Center
113         LabelType             Static
114         LabelString           "Date:"
115         Font
116           Size                Large
117         EndFont
118         LabelFont
119           Shape               Italic
120           Size                Large
121         EndFont
122 End
123
124
125 Style Abstract
126         Margin                First_Dynamic
127         LatexType             Environment
128         InTitle               1
129         LatexName             abstract
130         LeftMargin            MMM
131         LabelIndent           MMM
132         RightMargin           MMM
133         ParIndent             MM
134         TopSep                0.7
135         BottomSep             0.7
136         Align                 Block
137         AlignPossible         Block
138         LabelType             Static
139         LabelString           "Abstract."
140         LabelSep              M
141         Font
142           Size                Small
143         EndFont
144         LabelFont
145           Shape               Smallcaps
146         EndFont
147 End
148
149 # Clear Address definition from lyxmacros
150 NoStyle Address
151
152 Style Address
153         Margin                Dynamic
154         LatexType             Command
155         InTitle               1
156         LatexName             address
157         ParSkip               0.4
158         BottomSep             1.5
159         ParSep                1.5
160         Align                 Left
161         AlignPossible         Block, Left, Right, Center
162         LabelType             Static
163         LabelString           "Address:"
164         LabelSep              M
165         LabelFont
166           Shape               Italic
167         EndFont
168 End
169
170
171 Style Current_Address
172         CopyStyle             Address
173         LatexName             curraddr
174         LabelString           "Current address:"
175 End
176
177
178 Style Email
179         CopyStyle             Address
180         Margin                First_Dynamic
181         LatexName             email
182         LabelString           "E-mail address:"
183 End
184
185
186 Style URL
187         CopyStyle             Address
188         Margin                First_Dynamic
189         LatexName             urladdr
190         LabelString           "URL:"
191 End
192
193
194 Style Keywords
195         CopyStyle             Address
196         LatexName             keywords
197         LabelString           "Key words and phrases:"
198 End
199
200
201 Style Thanks
202         CopyStyle             Address
203         LatexName             thanks
204         LabelString           "Thanks:"
205 End
206
207
208 Style Dedicatory
209         CopyStyle             Address
210         LatexName             dedicatory
211         LabelString           "Dedication:"
212 End
213
214
215 Style Translator
216         CopyStyle             Address
217         LatexName             translator
218         LabelString           "Translator:"
219 End
220
221
222 Style Subjectclass
223         CopyStyle             Address
224         LatexName             subjclass
225         LabelString           "1991 Mathematics Subject Classification:"
226 End
227
228
229 Style Bibliography
230         Margin                First_Dynamic
231         LatexType             Bib_Environment
232         LatexName             thebibliography
233         NextNoIndent          1
234         LeftMargin            MM
235         ParSkip               0.4
236         ItemSep               0
237         TopSep                0.7
238         BottomSep             0.7
239         ParSep                0.5
240         Align                 Block
241         AlignPossible         Block, Left
242         LabelType             Bibliography
243         LabelString           "References"
244         LabelBottomSep        0.7
245         Font
246           Size                Small
247         EndFont
248         LabelFont
249           Size                Normal
250           Shape               Smallcaps
251         EndFont
252 End