]> git.lyx.org Git - lyx.git/blob - lib/layouts/amsdefs.inc
Autoconf: use included boost when system boost is not available
[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 89
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 End
107
108
109 Style Abstract
110         Category              FrontMatter
111         Margin                First_Dynamic
112         LatexType             Environment
113         InTitle               1
114         LatexName             abstract
115         LeftMargin            MMM
116         LabelIndent           MMM
117         RightMargin           MMM
118         ParIndent             MM
119         TopSep                0.7
120         BottomSep             0.7
121         Align                 Block
122         LabelType             Static
123         LabelString           "Abstract."
124         LabelSep              M
125         Font
126           Size                Small
127         EndFont
128         LabelFont
129           Shape               Smallcaps
130         EndFont
131         DocBookTag            para
132         DocBookWrapperTag     abstract
133         DocBookWrapperMergeWithPrevious true
134         DocBookInInfo         always
135 End
136
137 # Clear Address definition from lyxmacros
138 NoStyle Address
139
140 Style Address
141         Category              FrontMatter
142         Margin                Dynamic
143         LatexType             Command
144         InTitle               1
145         LatexName             address
146         ParSkip               0.4
147         BottomSep             1.5
148         ParSep                1.5
149         Align                 Left
150         AlignPossible         Block, Left, Right, Center
151         LabelType             Static
152         LabelString           "Address:"
153         LabelSep              M
154         LabelFont
155           Shape               Italic
156         EndFont
157         DocBookTag            address
158         DocBookTagType        paragraph
159         DocBookWrapperTag     author
160         DocBookWrapperMergeWithPrevious true
161         DocBookInInfo         always
162 End
163
164
165 Style Current_Address
166         CopyStyle             Address
167         LatexName             curraddr
168         LabelString           "Current address:"
169         DocBookTag            address
170         DocBookTagType        paragraph
171         DocBookInInfo         always
172         DocBookAttr           role='current'
173 End
174
175
176 Style Email
177         CopyStyle             Address
178         Margin                First_Dynamic
179         LatexName             email
180         LabelString           "E-mail address:"
181         DocBookTag            email
182         DocBookTagType        paragraph
183         DocBookWrapperTag     author
184         DocBookWrapperMergeWithPrevious true
185         DocBookInInfo         always
186 End
187
188
189 Style URL
190         CopyStyle             Address
191         Margin                First_Dynamic
192         LatexName             urladdr
193         LabelString           "URL:"
194         DocBookTag            uri
195         DocBookTagType        paragraph
196         DocBookWrapperTag     author
197         DocBookWrapperMergeWithPrevious true
198         DocBookInInfo         always
199 End
200
201
202 Style Keywords
203         CopyStyle             Address
204         LatexName             keywords
205         LabelString           "Key words and phrases:"
206         DocBookTag            keyword
207         DocBookTagType        paragraph
208         DocBookWrapperTag     keywordset
209         DocBookWrapperMergeWithPrevious true
210         DocBookInInfo         always
211 End
212
213
214 Style Thanks
215         CopyStyle             Address
216         LatexName             thanks
217         LabelString           "Thanks:"
218         DocBookTag            personname
219         DocBookTagType        paragraph
220         DocBookWrapperTag     othercredit
221         DocBookWrapperMergeWithPrevious true
222         DocBookInInfo         always
223 End
224
225
226 Style Dedicatory
227         CopyStyle             Address
228         LatexName             dedicatory
229         LabelString           "Dedication:"
230         DocBookTag            para
231         DocBookWrapperTag     dedication
232         DocBookWrapperMergeWithPrevious true
233         DocBookInInfo         never
234 End
235
236
237 Style Translator
238         CopyStyle             Address
239         LatexName             translator
240         LabelString           "Translator:"
241         DocBookTag            personname
242         DocBookTagType        paragraph
243         DocBookWrapperTag     othercredit
244         DocBookWrapperAttr    role='translator'
245         DocBookWrapperMergeWithPrevious true
246         DocBookInInfo         always
247 End
248
249
250 Style Subjectclass
251         CopyStyle             Address
252         LatexName             subjclass[2000]
253         LabelString           "2000 Mathematics Subject Classification:"
254         DocBookItemTag        subjectterm
255         DocBookItemTagType    inline
256         DocBookTag            subject
257         DocBookTagType        paragraph
258         DocBookWrapperTag     subjectset
259         DocBookWrapperMergeWithPrevious true
260         DocBookInInfo         always
261 End
262
263
264 Style Bibliography
265         Category              BackMatter
266         Margin                First_Dynamic
267         LatexType             Bib_Environment
268         LatexName             thebibliography
269         NextNoIndent          1
270         ToggleIndent          Never
271         LeftMargin            MM
272         ParSkip               0.4
273         ItemSep               0
274         TopSep                0.7
275         BottomSep             0.7
276         ParSep                0.5
277         Align                 Block
278         AlignPossible         Block, Left
279         LabelType             Bibliography
280         LabelString           "References"
281         LabelBottomSep        0.7
282         Font
283           Size                Small
284         EndFont
285         LabelFont
286           Size                Normal
287           Shape               Smallcaps
288         EndFont
289         TocLevel             1
290         IsTocCaption         0
291         Argument listpreamble:1
292           LabelString    "Bib preamble"
293           MenuString     "Bibliography Preamble"
294           Tooltip        "LaTeX code to be inserted before the first bibliography item"
295           PassThru           1
296           Font
297             Family           typewriter
298             Color            latex
299           EndFont
300         EndArgument
301 End