]> git.lyx.org Git - lyx.git/blob - lib/layouts/amsdefs.inc
New Theorems Module. Contributed by Udicoudco <udifoglle@gmail.com> on the mailing...
[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 # Tinkered with Sep. '07 by Paul Rubin <rubin@msu.edu>
5 # Modularized Jan '08 by Richard Kimberly Heck <rikiheck@lyx.org>
6
7 # Including the maths stuff
8 Format 99
9
10 # By default AMS articles & books use leqno option (as SIAM journals).
11 Provides leqno 1
12
13 # the environments copied from the old amsart.layout are:
14 # - Bibliography
15 # - Title
16 # - Author
17 # - Date
18 # - Abstract (This is a title component for this style.)
19 # - Address
20 # - Email
21 # - Keywords
22 # - Subjectclass
23
24
25 ### Now the title stuff. We copy do not use stdstruct.inc to keep
26 ### things in the right order
27 Style Title
28         Category              FrontMatter
29         Margin                Static
30         LatexType             Command
31         InTitle               1
32         LatexName             title
33         ParSkip               0.4
34         ItemSep               0
35         TopSep                0
36         BottomSep             1
37         ParSep                1
38         Align                 Center
39         LabelType             No_Label
40         Argument 1
41                 LabelString   "Short Title|S"
42                 Tooltip       "Short title which appears in the running headers"
43                 InsertCotext  1
44         EndArgument
45         Font
46           Shape               Smallcaps
47           Series              Bold
48           Size                Larger
49         EndFont
50         HTMLTitle             true
51         DocBookTag            title
52         DocBookTagType        paragraph
53         DocBookInInfo         maybe
54 End
55
56
57 Style Author
58         Category              FrontMatter
59         Margin                Static
60         LatexType             Command
61         InTitle               1
62         LatexName             author
63         LabelSep              xxx
64         ParSkip               0.4
65         TopSep                1.3
66         BottomSep             0.7
67         ParSep                0.7
68         Align                 Center
69         LabelType             No_Label
70         Font
71           Size                Large
72           Shape               Smallcaps
73         EndFont
74         DocBookTag            personname
75         DocBookTagType        paragraph
76         DocBookWrapperTag     author
77         DocBookWrapperMergeWithPrevious true
78         DocBookInInfo         always
79 End
80
81
82 Style Date
83         Category              FrontMatter
84         Margin                Dynamic
85         LatexType             Command
86         InTitle               1
87         LatexName             date
88         LabelSep              xxx
89         ParSkip               0.4
90         TopSep                0.9
91         BottomSep             0.5
92         ParSep                1
93         Align                 Center
94         LabelType             Static
95         LabelString           "Date:"
96         Font
97           Size                Large
98         EndFont
99         LabelFont
100           Shape               Italic
101           Size                Large
102         EndFont
103         DocBookTag            date
104         DocBookTagType        paragraph
105         DocBookInInfo         always
106     DocBookNoFontInside   true
107 End
108
109
110 Style Abstract
111         Category              FrontMatter
112         Margin                First_Dynamic
113         LatexType             Environment
114         InTitle               1
115         LatexName             abstract
116         LeftMargin            MMM
117         LabelIndent           MMM
118         RightMargin           MMM
119         ParIndent             MM
120         TopSep                0.7
121         BottomSep             0.7
122         Align                 Block
123         LabelType             Static
124         LabelString           "Abstract."
125         LabelSep              M
126         Font
127           Size                Small
128         EndFont
129         LabelFont
130           Shape               Smallcaps
131         EndFont
132         DocBookTag            para
133         DocBookWrapperTag     abstract
134         DocBookWrapperMergeWithPrevious true
135         DocBookInInfo         always
136 End
137
138 # Clear Address definition from lyxmacros
139 NoStyle Address
140
141 Style Address
142         Category              FrontMatter
143         Margin                Dynamic
144         LatexType             Command
145         InTitle               1
146         LatexName             address
147         ParSkip               0.4
148         BottomSep             1.5
149         ParSep                1.5
150         Align                 Left
151         AlignPossible         Block, Left, Right, Center
152         LabelType             Static
153         LabelString           "Address:"
154         LabelSep              M
155         LabelFont
156           Shape               Italic
157         EndFont
158         DocBookTag            address
159         DocBookTagType        paragraph
160         DocBookWrapperTag     author
161         DocBookWrapperMergeWithPrevious true
162         DocBookInInfo         always
163 End
164
165
166 Style Current_Address
167         CopyStyle             Address
168         LatexName             curraddr
169         LabelString           "Current address:"
170         DocBookTag            address
171         DocBookTagType        paragraph
172         DocBookInInfo         always
173         DocBookAttr           role='current'
174 End
175
176
177 Style Email
178         CopyStyle             Address
179         Margin                First_Dynamic
180         LatexName             email
181         LabelString           "E-mail address:"
182         DocBookTag            email
183         DocBookTagType        paragraph
184         DocBookWrapperTag     author
185         DocBookWrapperMergeWithPrevious true
186         DocBookInInfo         always
187 End
188
189
190 Style URL
191         CopyStyle             Address
192         Margin                First_Dynamic
193         LatexName             urladdr
194         LabelString           "URL:"
195         DocBookTag            uri
196         DocBookTagType        paragraph
197         DocBookWrapperTag     author
198         DocBookWrapperMergeWithPrevious true
199         DocBookInInfo         always
200 End
201
202
203 Style Keywords
204         CopyStyle             Address
205         LatexName             keywords
206         LabelString           "Key words and phrases:"
207         DocBookTag            keyword
208         DocBookTagType        paragraph
209         DocBookWrapperTag     keywordset
210         DocBookWrapperMergeWithPrevious true
211         DocBookInInfo         always
212 End
213
214
215 Style Thanks
216         CopyStyle             Address
217         LatexName             thanks
218         LabelString           "Thanks:"
219         DocBookTag            personname
220         DocBookTagType        paragraph
221         DocBookWrapperTag     othercredit
222         DocBookWrapperMergeWithPrevious true
223         DocBookInInfo         always
224 End
225
226
227 Style Dedicatory
228         CopyStyle             Address
229         LatexName             dedicatory
230         LabelString           "Dedication:"
231         DocBookTag            para
232         DocBookWrapperTag     dedication
233         DocBookWrapperMergeWithPrevious true
234         DocBookInInfo         never
235 End
236
237
238 Style Translator
239         CopyStyle             Address
240         LatexName             translator
241         LabelString           "Translator:"
242         DocBookTag            personname
243         DocBookTagType        paragraph
244         DocBookWrapperTag     othercredit
245         DocBookWrapperAttr    role='translator'
246         DocBookWrapperMergeWithPrevious true
247         DocBookInInfo         always
248 End
249
250
251 Style Subjectclass
252         CopyStyle             Address
253         LatexName             subjclass[2000]
254         LabelString           "2000 Mathematics Subject Classification:"
255         DocBookItemTag        subjectterm
256         DocBookItemTagType    inline
257         DocBookTag            subject
258         DocBookTagType        paragraph
259         DocBookWrapperTag     subjectset
260         DocBookWrapperMergeWithPrevious true
261         DocBookInInfo         always
262 End
263
264
265 Style Bibliography
266         Category              BackMatter
267         Margin                First_Dynamic
268         LatexType             Bib_Environment
269         LatexName             thebibliography
270         NextNoIndent          1
271         ToggleIndent          Never
272         LeftMargin            MM
273         ParSkip               0.4
274         ItemSep               0
275         TopSep                0.7
276         BottomSep             0.7
277         ParSep                0.5
278         Align                 Block
279         AlignPossible         Block, Left
280         LabelType             Bibliography
281         LabelString           "References"
282         LabelBottomSep        0.7
283         Font
284           Size                Small
285         EndFont
286         LabelFont
287           Size                Normal
288           Shape               Smallcaps
289         EndFont
290         TocLevel             1
291         IsTocCaption         0
292         Argument listpreamble:1
293           LabelString    "Bib preamble"
294           MenuString     "Bibliography Preamble"
295           Tooltip        "LaTeX code to be inserted before the first bibliography item"
296           PassThru           1
297           Font
298             Family           typewriter
299             Color            latex
300           EndFont
301         EndArgument
302 End