]> git.lyx.org Git - lyx.git/blob - lib/layouts/revtex4-1.layout
14dc8a4a164ab4d3f165a66fa83da2fb575e238c
[lyx.git] / lib / layouts / revtex4-1.layout
1 #% Do not delete the line below; configure depends on this
2 #  \DeclareLaTeXClass[revtex4-1,natbib.sty,revsymb4-1.sty,textcase.sty,url.sty]{REVTeX (V. 4.1)}
3 #  \DeclareCategory{Articles}
4 # REVTeX 4.1 textclass definition file.
5 # Based on official article.layout, revtex4.layout and stdclass.inc definition files,
6 # and on the unofficial revtex4-1.layout by Manoj Rajagopalan, posted to the wiki.
7
8 # Author: Julien Rioux <jrioux@lyx.org> and Uwe Stöhr
9
10 # a note:
11 #   - we provide natbib-internal according to LyX bug #5182
12
13 Format 49
14
15 Input stdclass.inc
16 Input numrevtex.inc
17
18 Provides natbib-internal  1
19 Provides url              1
20 SecNumDepth               4
21 TocDepth                  3
22
23 ClassOptions
24         Other                 "aps,manuscript"
25 End
26
27 Style Section
28         Align                 Center
29         Font
30           Shape               Smallcaps
31         EndFont
32 End
33
34
35 Style Subsubsection
36         Font
37           Shape               Italic
38         EndFont
39 End
40
41
42 Style Paragraph
43         Font
44           Shape               Italic
45         EndFont
46 End
47
48
49 # This input needs to appear *after* modifications to sections
50 Input stdstarsections.inc
51
52
53 ########### Front matter ############
54
55 Style Abstract
56         InTitle               1
57 End
58
59
60 Style Affiliation
61         Category              FrontMatter
62         Margin                Dynamic
63         LatexType             Command
64         InTitle               1
65         LatexName             affiliation
66         ParSkip               0.4
67         Align                 Center
68         AlignPossible         Block, Left, Right, Center
69         LabelType             Static
70         LabelSep              M
71         LabelString           "Affiliation:"
72
73         LabelFont
74           Shape               Italic
75         EndFont
76 End
77
78
79 Style Affiliation_(alternate)
80         CopyStyle             Affiliation
81         LatexName             altaffiliation
82         LabelString           "Affiliation (alternate):"
83         Argument 1
84                 LabelString   "Alternate Affiliation Option"
85                 Tooltip       "Optional argument to the altaffiliation command"
86         EndArgument
87         PassThru              1
88 End
89
90
91 Style Affiliation_(none)
92         CopyStyle             Affiliation
93         KeepEmpty             true
94         LabelString           "No affiliation"
95         LatexName             noaffiliation%
96 End
97
98
99 # Address is exactly the same as Affiliation. We just put
100 # this in so that tex2lyx will know what to do with it.
101 Style Address
102         CopyStyle             Affiliation
103         LatexName             address
104         LabelString           "Address:"
105 End
106
107
108 Style Author_Email
109         CopyStyle             Affiliation
110         LatexName             email
111         LabelString           "Electronic Address:"
112         Argument 1
113                 LabelString   "Electronic Address Option|s"
114                 Tooltip       "Optional argument to the email command"
115         EndArgument
116         PassThru              1
117         TextFont
118           Family              Typewriter
119         EndFont
120         LabelFont
121           Family              Roman
122         EndFont
123 End
124
125
126 Style Author_URL
127         CopyStyle             Author_Email
128         LatexName             homepage
129         LabelString           "URL:"
130         Argument 1
131                 LabelString   "Author URL Option"
132                 Tooltip       "Optional argument to the homepage command"
133         EndArgument
134         PassThru              1
135 End
136
137
138 Style Collaboration
139         CopyStyle             Affiliation
140         LatexName             collaboration
141         LabelString           "Collaboration:"
142 End
143
144
145 Style Date
146         LabelType             Static
147         LabelString           "Date:"
148         LabelFont
149           Shape               Italic
150         EndFont
151 End
152
153
154 Style Keywords
155         Category              FrontMatter
156         Margin                Dynamic
157         LatexType             Command
158         InTitle               1
159         LatexName             keywords
160         LabelType             Static
161         LabelSep              M
162         LabelString           "Keywords:"
163 End
164
165
166 Style PACS
167         CopyStyle             Keywords
168         LatexName             pacs
169         LabelString           "PACS numbers:"
170 End
171
172
173 Style Preprint
174         Category              FrontMatter
175         Margin                Right_Address_Box
176         LatexType             Command
177         InTitle               1
178         LatexName             preprint
179         ParSkip               0.4
180         BottomSep             1.5
181         ParSep                1.5
182         Align                 Left
183 End
184
185
186 Style Thanks
187         CopyStyle             Affiliation
188         LatexName             thanks
189         LabelString           "Thanks:"
190 End
191
192
193 Style Title
194         Argument 1
195                 LabelString   "Short Title|S"
196                 Tooltip       "Short title as it appears in the running headers"
197         EndArgument
198         Font
199           Series              Bold
200           Size                Large
201         EndFont
202 End
203
204
205 ########### Back matter #############
206
207 Style Acknowledgments
208         CopyStyle             Standard
209         Category              BackMatter
210         LatexType             Environment
211         LatexName             acknowledgments
212         LabelType             Centered
213         LabelString           "acknowledgments"
214         LabelBottomSep        0.5
215         LabelFont
216           Series              Bold
217           Shape               Smallcaps
218           Size                Larger
219         EndFont
220         TopSep                0.7
221 End
222
223
224 ##### stuff specific to REVTeX 4.1
225
226 Style Ruled_Table
227         CopyStyle             Standard
228         Category              Specials
229         LatexName             ruledtabular
230         LatexType             environment
231 End
232
233
234 Style Turn_Page
235         CopyStyle             Standard
236         Category              Specials
237         LatexName             turnpage
238         LatexType             environment
239 End
240
241
242 Style Wide_Text
243         CopyStyle             Standard
244         Category              Specials
245         LatexName             widetext
246         LatexType             environment
247 End
248
249
250 Float
251         Extension             lov
252         GuiName               Video
253         IsPredefined          true
254         ListCommand           listofvideos
255         ListName              "List of Videos"
256         NumberWithin          none
257         Placement             tbp
258         Style                 plain
259         Type                  video
260         UsesFloatPkg          false
261 End
262
263
264 InsetLayout Flex:Float_Link
265         CopyStyle             Flex:URL
266         LabelString           "Float Link"
267         LatexName             setfloatlink
268         LatexType             command
269         LyXType               custom
270 End
271
272
273 InsetLayout Flex:Lowercase
274         Decoration            conglomerate
275         LabelString           Lowercase
276         LatexName             lowercase
277         LatexType             command
278         LyXType               custom
279         Font
280             # Keep empty to preserve font settings
281             # from the surrounding environment
282         EndFont
283         ResetsFont true
284 End
285
286
287 InsetLayout Flex:Surname
288         Decoration            conglomerate
289         LabelString           Surname
290         LatexName             surname
291         LatexType             command
292         LyXType               custom
293         Font
294             # Keep empty to preserve font settings
295             # from the surrounding environment
296         EndFont
297         ResetsFont true
298 End
299
300
301 NoStyle Chapter
302 NoStyle Chapter*
303 NoStyle LyX-Code
304 NoStyle Right_Address
305 NoStyle Subparagraph
306 NoStyle Subparagraph*