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