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