]> git.lyx.org Git - lyx.git/blob - lib/layouts/revtex4.layout
Modularize the theorem modules.
[lyx.git] / lib / layouts / revtex4.layout
1 #% Do not delete the line below; configure depends on this
2 #  \DeclareLaTeXClass{article (REVTeX 4)}
3 # RevTeX 4 textclass definition file. Based on:
4 # AMS-Article textclass definition file. Taken from initial LyX source code
5 # and from the Article textclass definition file, following the AMS sample
6 # paper "testmath.tex" of January, 1995
7 # Author : David L. Johnson <dlj0@lehigh.edu> (AMS)
8 #          Marc Mengel (RevTeX)
9 #          Amir Karger (LyX v11.34 style modifications)
10 #          Amir Karger (RevTeX 4 beta) 9/1999, 7/2000
11
12
13 Format 5
14 Columns                 1
15 Sides                   1
16 PageStyle               Headers
17 Provides natbib         1
18 Provides url            1
19
20 # Default textclass options. The user may need to modify this.
21 ClassOptions
22         Other                 "aps,manuscript"
23 End
24
25
26 Style Standard
27         Margin                Static
28         LatexType             Paragraph
29         LatexName             dummy
30         ParIndent             MM
31         ParSkip               0.4
32         Align                 Block
33         AlignPossible         Block, Left, Right, Center
34         LabelType             No_Label
35 End
36
37
38 # Idea from aapaper: declare all layouts here ("Style Foo\nEnd\n")
39 # so that they appear in a specific order in the layout dropdown menu.
40
41 Input stdinsets.inc
42 Input stdsections.inc
43 Input numrevtex.inc
44
45 Style Section
46         Align                 Center
47         AlignPossible         Block, Center, Left
48         Font
49           Series              Medium
50           Shape               Smallcaps
51           Size                Large
52         EndFont
53 End
54
55
56 Style Subsection
57         Font
58           Series              Bold
59           Size                Normal
60         EndFont
61 End
62
63
64 Style Subsubsection
65         Font
66           Shape               Italic
67           Size                Normal
68         EndFont
69 End
70
71
72 Style Paragraph
73         TopSep                0.7
74         ParSep                0.4
75         Font
76           Shape               Italic
77           Size                Normal
78         EndFont
79 End
80
81 # then define the unumbered sections, based on the numbered ones.
82 Input stdstarsections.inc
83
84 NoStyle         Chapter
85 NoStyle         Chapter*
86 NoStyle         Subparagraph
87 NoStyle         Subparagraph*
88
89 Input stdlayouts.inc
90 Input stdlists.inc
91 Input stdtitle.inc
92 Input stdstruct.inc
93
94
95 Style Preprint
96         Margin                Right_Address_Box
97         LatexType             Command
98         InTitle               1
99         LatexName             preprint
100         ParSkip               0.4
101         BottomSep             1.5
102         ParSep                1.5
103         Align                 Left
104         AlignPossible         Left
105 End
106
107
108 Style Title
109         Font
110           Series              Bold
111           Size                Large
112         EndFont
113 End
114
115
116 Style Author
117         Font
118           Size                Large
119           Shape               Smallcaps
120         EndFont
121 End
122
123
124 Style Date
125         LabelType             Static
126         LabelString           "Date:"
127         LabelFont
128           Shape               Italic
129           Size                Large
130         EndFont
131 End
132
133
134 Style Affiliation
135         Margin                Dynamic
136         LatexType             Command
137         InTitle               1
138         LatexName             affiliation
139         ParSkip               0.4
140 #  BottomSep            1.5
141 #  ParSep               1.5
142         Align                 Center
143         AlignPossible         Block, Left, Right, Center
144         LabelType             Static
145         LabelSep              M
146         LabelString           "Affiliation:"
147
148         LabelFont
149           Shape               Italic
150         EndFont
151 End
152
153
154 Style AltAffiliation
155         CopyStyle             Affiliation
156         PassThru              1
157         LatexName             altaffiliation
158         OptionalArgs          1
159         LabelString           "AltAffiliation"
160 End
161
162
163 # Address is exactly the same as Affiliation. We just put this in so
164 # that tex2lyx will know what to do with it.
165 Style Address
166         CopyStyle             Affiliation
167         LatexName             address
168         LabelString           "Address:"
169 End
170
171
172 Style Thanks
173         CopyStyle             Affiliation
174         LatexName             thanks
175         LabelString           "Thanks:"
176 End
177
178
179 Style Author_Email
180         CopyStyle             Affiliation
181         PassThru              1
182         LatexName             email
183         OptionalArgs          1
184         LabelString           "Electronic Address:"
185         TextFont
186           Family              Typewriter
187         EndFont
188         LabelFont
189           Family              Roman
190         EndFont
191 End
192
193
194 Style Author_URL
195         CopyStyle             Author_Email
196         PassThru              1
197         LatexName             homepage
198         OptionalArgs          1
199         LabelString           "URL:"
200 End
201
202
203 Style Abstract
204         InTitle               1
205         ItemSep               0.2
206         ParSep                0.3
207         LabelFont
208           Size                Large
209         EndFont
210 End
211
212
213 Style Acknowledgments
214         LatexType             Environment
215         LatexName             acknowledgments
216         ParIndent             MM
217         ParSkip               0.4
218         Align                 Block
219         AlignPossible         Block, Left, Right, Center
220         LabelType             Centered_Top_Environment
221         LabelString           "acknowledgments"
222         LabelBottomSep        0.5
223         LabelFont
224           Series              Medium
225           Shape               Smallcaps
226           Size                Large
227         EndFont
228 End
229
230
231 Style PACS
232         Margin                Dynamic
233         LatexType             Command
234         InTitle               1
235         LatexName             pacs
236         LabelType             Static
237         LabelSep              M
238         LabelString           "PACS number:"
239 End
240
241
242 Style Keywords
243         CopyStyle             PACS
244         InTitle               1
245         Latexname             keywords
246         LabelSep              M
247         LabelString           "Keywords:"
248 End
249
250
251 Input stdfloats.inc
252 Input stdcounters.inc