]> git.lyx.org Git - lyx.git/blob - lib/layouts/amsdefs.inc
Change LFUN_FONT_CODE to LFUN_FONT_TYPEWERITER, possibly in preparation for a move...
[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 5
7 Input amsmaths.inc
8
9 # The AMS documentclasses use the package amsmath and provide the
10 # functionality of makeidx.sty.
11 Provides amsmath         1
12 Provides makeidx         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         OptionalArgs          1
74         Font
75           Shape               Smallcaps
76           Series              Bold
77           Size                Larger
78         EndFont
79 End
80
81
82 Style Author
83         Margin                Static
84         LatexType             Command
85         InTitle               1
86         LatexName             author
87         LabelSep              xxx
88         ParSkip               0.4
89         TopSep                1.3
90         BottomSep             0.7
91         ParSep                0.7
92         Align                 Center
93         AlignPossible         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         AlignPossible         Center
114         LabelType             Static
115         LabelString           "Date:"
116         Font
117           Size                Large
118         EndFont
119         LabelFont
120           Shape               Italic
121           Size                Large
122         EndFont
123 End
124
125
126 Style Abstract
127         Margin                First_Dynamic
128         LatexType             Environment
129         InTitle               1
130         LatexName             abstract
131         LeftMargin            MMM
132         LabelIndent           MMM
133         RightMargin           MMM
134         ParIndent             MM
135         TopSep                0.7
136         BottomSep             0.7
137         Align                 Block
138         AlignPossible         Block
139         LabelType             Static
140         LabelString           "Abstract."
141         LabelSep              M
142         Font
143           Size                Small
144         EndFont
145         LabelFont
146           Shape               Smallcaps
147         EndFont
148 End
149
150 # Clear Address definition from lyxmacros
151 NoStyle Address
152
153 Style Address
154         Margin                Dynamic
155         LatexType             Command
156         InTitle               1
157         LatexName             address
158         ParSkip               0.4
159         BottomSep             1.5
160         ParSep                1.5
161         Align                 Left
162         AlignPossible         Block, Left, Right, Center
163         LabelType             Static
164         LabelString           "Address:"
165         LabelSep              M
166         LabelFont
167           Shape               Italic
168         EndFont
169 End
170
171
172 Style Current_Address
173         CopyStyle             Address
174         LatexName             curraddr
175         LabelString           "Current address:"
176 End
177
178
179 Style Email
180         CopyStyle             Address
181         Margin                First_Dynamic
182         LatexName             email
183         LabelString           "E-mail address:"
184 End
185
186
187 Style URL
188         CopyStyle             Address
189         Margin                First_Dynamic
190         LatexName             urladdr
191         LabelString           "URL:"
192 End
193
194
195 Style Keywords
196         CopyStyle             Address
197         LatexName             keywords
198         LabelString           "Key words and phrases:"
199 End
200
201
202 Style Thanks
203         CopyStyle             Address
204         LatexName             thanks
205         LabelString           "Thanks:"
206 End
207
208
209 Style Dedicatory
210         CopyStyle             Address
211         LatexName             dedicatory
212         LabelString           "Dedication:"
213 End
214
215
216 Style Translator
217         CopyStyle             Address
218         LatexName             translator
219         LabelString           "Translator:"
220 End
221
222
223 Style Subjectclass
224         CopyStyle             Address
225         LatexName             subjclass
226         LabelString           "1991 Mathematics Subject Classification:"
227 End
228
229
230 Style Bibliography
231         Margin                First_Dynamic
232         LatexType             Bib_Environment
233         LatexName             thebibliography
234         NextNoIndent          1
235         LeftMargin            MM
236         ParSkip               0.4
237         ItemSep               0
238         TopSep                0.7
239         BottomSep             0.7
240         ParSep                0.5
241         Align                 Block
242         AlignPossible         Block, Left
243         LabelType             Bibliography
244         LabelString           "References"
245         LabelBottomSep        0.7
246         Font
247           Size                Small
248         EndFont
249         LabelFont
250           Size                Normal
251           Shape               Smallcaps
252         EndFont
253 End