]> git.lyx.org Git - features.git/blob - lib/layouts/amsdefs.inc
DocBook: implement fancy color box.
[features.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 Heck <rgheck@brown.edu>
6
7 # Including the maths stuff
8 Format 85
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            para
219         DocBookWrapperTag     acknowledgements
220         DocBookWrapperMergeWithPrevious true
221         DocBookInInfo         never
222 End
223
224
225 Style Dedicatory
226         CopyStyle             Address
227         LatexName             dedicatory
228         LabelString           "Dedication:"
229         DocBookTag            para
230         DocBookWrapperTag     dedication
231         DocBookWrapperMergeWithPrevious true
232         DocBookInInfo         never
233 End
234
235
236 Style Translator
237         CopyStyle             Address
238         LatexName             translator
239         LabelString           "Translator:"
240         DocBookTag            personname
241         DocBookTagType        paragraph
242         DocBookWrapperTag     othercredit
243         DocBookWrapperAttr    role='translator'
244         DocBookWrapperMergeWithPrevious true
245         DocBookInInfo         always
246 End
247
248
249 Style Subjectclass
250         CopyStyle             Address
251         LatexName             subjclass[2000]
252         LabelString           "2000 Mathematics Subject Classification:"
253         DocBookItemTag        subjectterm
254         DocBookItemTagType    inline
255         DocBookTag            subject
256         DocBookTagType        paragraph
257         DocBookWrapperTag     subjectset
258         DocBookWrapperMergeWithPrevious true
259         DocBookInInfo         always
260 End
261
262
263 Style Bibliography
264         Category              BackMatter
265         Margin                First_Dynamic
266         LatexType             Bib_Environment
267         LatexName             thebibliography
268         NextNoIndent          1
269         ToggleIndent          Never
270         LeftMargin            MM
271         ParSkip               0.4
272         ItemSep               0
273         TopSep                0.7
274         BottomSep             0.7
275         ParSep                0.5
276         Align                 Block
277         AlignPossible         Block, Left
278         LabelType             Bibliography
279         LabelString           "References"
280         LabelBottomSep        0.7
281         Font
282           Size                Small
283         EndFont
284         LabelFont
285           Size                Normal
286           Shape               Smallcaps
287         EndFont
288         TocLevel             1
289         IsTocCaption         0
290         Argument listpreamble:1
291           LabelString    "Bib preamble"
292           MenuString     "Bibliography Preamble"
293           Tooltip        "LaTeX code to be inserted before the first bibliography item"
294           PassThru           1
295           Font
296             Family           typewriter
297             Color            latex
298           EndFont
299         EndArgument
300 End