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