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