]> git.lyx.org Git - lyx.git/blob - lib/layouts/amsdefs.inc
58cc4e6179c7e4fec5d809389d50658139e08c7f
[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 Heck <rgheck@brown.edu>
6
7 # Including the maths stuff
8 Format 68
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 End
52
53
54 Style Author
55         Category              FrontMatter
56         Margin                Static
57         LatexType             Command
58         InTitle               1
59         LatexName             author
60         LabelSep              xxx
61         ParSkip               0.4
62         TopSep                1.3
63         BottomSep             0.7
64         ParSep                0.7
65         Align                 Center
66         LabelType             No_Label
67         Font
68           Size                Large
69           Shape               Smallcaps
70         EndFont
71 End
72
73
74 Style Date
75         Category              FrontMatter
76         Margin                Dynamic
77         LatexType             Command
78         InTitle               1
79         LatexName             date
80         LabelSep              xxx
81         ParSkip               0.4
82         TopSep                0.9
83         BottomSep             0.5
84         ParSep                1
85         Align                 Center
86         LabelType             Static
87         LabelString           "Date:"
88         Font
89           Size                Large
90         EndFont
91         LabelFont
92           Shape               Italic
93           Size                Large
94         EndFont
95 End
96
97
98 Style Abstract
99         Category              FrontMatter
100         Margin                First_Dynamic
101         LatexType             Environment
102         InTitle               1
103         LatexName             abstract
104         LeftMargin            MMM
105         LabelIndent           MMM
106         RightMargin           MMM
107         ParIndent             MM
108         TopSep                0.7
109         BottomSep             0.7
110         Align                 Block
111         LabelType             Static
112         LabelString           "Abstract."
113         LabelSep              M
114         Font
115           Size                Small
116         EndFont
117         LabelFont
118           Shape               Smallcaps
119         EndFont
120 End
121
122 # Clear Address definition from lyxmacros
123 NoStyle Address
124
125 Style Address
126         Category              FrontMatter
127         Margin                Dynamic
128         LatexType             Command
129         InTitle               1
130         LatexName             address
131         ParSkip               0.4
132         BottomSep             1.5
133         ParSep                1.5
134         Align                 Left
135         AlignPossible         Block, Left, Right, Center
136         LabelType             Static
137         LabelString           "Address:"
138         LabelSep              M
139         LabelFont
140           Shape               Italic
141         EndFont
142 End
143
144
145 Style Current_Address
146         CopyStyle             Address
147         LatexName             curraddr
148         LabelString           "Current address:"
149 End
150
151
152 Style Email
153         CopyStyle             Address
154         Margin                First_Dynamic
155         LatexName             email
156         LabelString           "E-mail address:"
157 End
158
159
160 Style URL
161         CopyStyle             Address
162         Margin                First_Dynamic
163         LatexName             urladdr
164         LabelString           "URL:"
165 End
166
167
168 Style Keywords
169         CopyStyle             Address
170         LatexName             keywords
171         LabelString           "Key words and phrases:"
172 End
173
174
175 Style Thanks
176         CopyStyle             Address
177         LatexName             thanks
178         LabelString           "Thanks:"
179 End
180
181
182 Style Dedicatory
183         CopyStyle             Address
184         LatexName             dedicatory
185         LabelString           "Dedication:"
186 End
187
188
189 Style Translator
190         CopyStyle             Address
191         LatexName             translator
192         LabelString           "Translator:"
193 End
194
195
196 Style Subjectclass
197         CopyStyle             Address
198         LatexName             subjclass[2000]
199         LabelString           "2000 Mathematics Subject Classification:"
200 End
201
202
203 Style Bibliography
204         Category              BackMatter
205         Margin                First_Dynamic
206         LatexType             Bib_Environment
207         LatexName             thebibliography
208         NextNoIndent          1
209         ToggleIndent          Never
210         LeftMargin            MM
211         ParSkip               0.4
212         ItemSep               0
213         TopSep                0.7
214         BottomSep             0.7
215         ParSep                0.5
216         Align                 Block
217         AlignPossible         Block, Left
218         LabelType             Bibliography
219         LabelString           "References"
220         LabelBottomSep        0.7
221         Font
222           Size                Small
223         EndFont
224         LabelFont
225           Size                Normal
226           Shape               Smallcaps
227         EndFont
228         TocLevel             1
229         IsTocCaption         0
230 End