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