]> git.lyx.org Git - lyx.git/blob - lib/layouts/revtex4.layout
Move RevTeX section in Additional.lyx into Chapter 3 Document classes
[lyx.git] / lib / layouts / revtex4.layout
1 #% Do not delete the line below; configure depends on this
2 #  \DeclareLaTeXClass[revtex4,natbib.sty,revsymb.sty]{REVTeX (V. 4)}
3 #  \DeclareCategory{Articles}
4 # RevTeX 4 textclass definition file. Based on:
5 # AMS-Article textclass definition file. Taken from initial LyX source code
6 # and from the Article textclass definition file, following the AMS sample
7 # paper "testmath.tex" of January, 1995
8 # Author : David L. Johnson <dlj0@lehigh.edu> (AMS)
9 #          Marc Mengel (RevTeX)
10 #          Amir Karger (LyX v11.34 style modifications)
11 #          Amir Karger (RevTeX 4 beta) 9/1999, 7/2000
12 # Heavily modifed and enhanced by serveral developers.
13
14 Format 98
15
16 Columns                   1
17 Sides                     1
18 PageStyle                 Headers
19
20 Provides natbib-internal  1
21 Provides url              1
22 Provides tablefootnote    1
23 Provides footnote-alternative 1
24
25 SecNumDepth               4
26 TocDepth                  3
27
28 # Default textclass options. The user may need to modify this.
29 ClassOptions
30         Other                 "aps,manuscript"
31 End
32
33 Preamble
34         \@ifundefined{textcolor}{}
35         {%
36          \definecolor{BLACK}{gray}{0}
37          \definecolor{WHITE}{gray}{1}
38          \definecolor{RED}{rgb}{1,0,0}
39          \definecolor{GREEN}{rgb}{0,1,0}
40          \definecolor{BLUE}{rgb}{0,0,1}
41          \definecolor{CYAN}{cmyk}{1,0,0,0}
42          \definecolor{MAGENTA}{cmyk}{0,1,0,0}
43          \definecolor{YELLOW}{cmyk}{0,0,1,0}
44         }
45 EndPreamble
46
47
48 Style Standard
49         Category              MainText
50         Margin                Static
51         LatexType             Paragraph
52         LatexName             dummy
53         ParIndent             MM
54         ParSkip               0.4
55         Align                 Block
56         AlignPossible         Block, Left, Right, Center
57         LabelType             No_Label
58         DocBookTag            para
59 End
60
61
62 # Idea from aapaper: declare all layouts here ("Style Foo\nEnd\n")
63 # so that they appear in a specific order in the layout dropdown menu.
64
65 Input stdinsets.inc
66 Input stdsections.inc
67 Input numrevtex.inc
68
69 Style Section
70         Align                 Center
71         AlignPossible         Block, Center, Left
72         Font
73           Shape               Smallcaps
74         EndFont
75 End
76
77
78 Style Subsubsection
79         Font
80           Series              Medium
81           Shape               Italic
82         EndFont
83 End
84
85
86 Style Paragraph
87         Font
88           Series              Medium
89           Shape               Italic
90         EndFont
91 End
92
93 # then define the unumbered sections, based on the numbered ones.
94 Input stdstarsections.inc
95
96 NoStyle         Chapter
97 NoStyle         Chapter*
98 NoStyle         Subparagraph
99 NoStyle         Subparagraph*
100
101 Input stdlayouts.inc
102 Input stdlists.inc
103 Input stdtitle.inc
104 Input stdstruct.inc
105
106
107 Style Preprint
108         Category              FrontMatter
109         Margin                Right_Address_Box
110         LatexType             Command
111         InTitle               1
112         LatexName             preprint
113         ParSkip               0.4
114         BottomSep             1.5
115         ParSep                1.5
116         Align                 Left
117         DocBookWrapperTag   cover
118         DocBookWrapperAttr  role='preprint'
119         DocBookTag          para
120         DocBookInInfo       always
121 End
122
123
124 Style Title
125         Font
126           Series              Bold
127           Size                Large
128         EndFont
129 End
130
131
132 Style Date
133         LabelType             Static
134         LabelString           "Date:"
135         LabelFont
136           Shape               Italic
137         EndFont
138 End
139
140
141 Style Affiliation
142         Category              FrontMatter
143         Margin                Dynamic
144         LatexType             Command
145         InTitle               1
146         LatexName             affiliation
147         ParSkip               0.4
148         Align                 Center
149         AlignPossible         Block, Left, Right, Center
150         LabelType             Static
151         LabelSep              M
152         LabelString           "Affiliation:"
153
154         LabelFont
155           Shape               Italic
156         EndFont
157         DocBookTag                        address
158         DocBookTagType                    paragraph
159         DocBookWrapperTag                 author
160         DocBookWrapperMergeWithPrevious   true
161         DocBookInInfo                     always
162 End
163
164
165 Style Affiliation_(alternate)
166         CopyStyle             Affiliation
167         PassThru              1
168         ParbreakIsNewline     1
169         LatexName             altaffiliation
170         Argument 1
171                 LabelString   "Alternate Affiliation Option"
172                 Tooltip       "Optional argument to the altaffiliation command"
173         EndArgument
174         LabelString           "Affiliation (alternate):"
175         DocBookTag                        address
176         DocBookAttr                       role='alternate'
177         DocBookTagType                    paragraph
178         DocBookWrapperTag                 author
179         DocBookWrapperMergeWithPrevious   true
180         DocBookInInfo                     always
181 End
182
183
184 Style Affiliation_(none)
185         CopyStyle             Affiliation
186         KeepEmpty             1
187         LabelString           "No affiliation"
188         LatexName             noaffiliation%
189 End
190
191
192 Style AltAffiliation
193         ObsoletedBy           Affiliation_(alternate)
194 End
195
196
197 # Address is exactly the same as Affiliation. We just put this in so
198 # that tex2lyx will know what to do with it.
199 Style Address
200         CopyStyle             Affiliation
201         LatexName             address
202         LabelString           "Address:"
203 End
204
205
206 Style Collaboration
207         CopyStyle             Affiliation
208         LatexName             collaboration
209         LabelString           "Collaboration:"
210 End
211
212
213 Style Thanks
214         CopyStyle             Affiliation
215         LatexName             thanks
216         LabelString           "Thanks:"
217         DocBookTag            personblurb
218         DocBookAttr           role='thanks'
219         DocBookTagType        paragraph
220         DocBookItemTag        para
221         DocBookWrapperTag     author
222         DocBookWrapperMergeWithPrevious true
223         DocBookInInfo         always
224 End
225
226
227 Style Author_Email
228         CopyStyle             Affiliation
229         PassThru              1
230         ParbreakIsNewline     1
231         LatexName             email
232         Argument 1
233                 LabelString   "Electronic Address Option|s"
234                 Tooltip       "Optional argument to the email command"
235         EndArgument
236         LabelString           "Electronic Address:"
237         TextFont
238           Family              Typewriter
239         EndFont
240         LabelFont
241           Family              Roman
242         EndFont
243         DocBookTag            email
244         DocBookTagType        paragraph
245         DocBookWrapperTag     author
246         DocBookWrapperTagType block
247         DocBookWrapperMergeWithPrevious  true
248         DocBookInInfo         always
249 End
250
251
252 Style Author_URL
253         CopyStyle             Author_Email
254         PassThru              1
255         ParbreakIsNewline     1
256         LatexName             homepage
257         Argument 1
258                 LabelString   "Author URL Option"
259                 Tooltip       "Optional argument to the homepage command"
260         EndArgument
261         LabelString           "URL:"
262         DocBookTag            uri
263         DocBookTagType        paragraph
264         DocBookWrapperTag     author
265         DocBookWrapperTagType block
266         DocBookWrapperMergeWithPrevious  true
267         DocBookInInfo         always
268 End
269
270
271 Style Abstract
272         InTitle               1
273         ItemSep               0.2
274         ParSep                0.3
275 End
276
277
278 Style Acknowledgments
279         Category              BackMatter
280         LatexType             Environment
281         LatexName             acknowledgments
282         ParIndent             MM
283         ParSkip               0.4
284         TopSep                0.7
285         Align                 Block
286         AlignPossible         Block, Left, Right, Center
287         LabelType             Centered
288         LabelString           "Acknowledgments"
289         LabelBottomSep        0.5
290         LabelFont
291           Series              Bold
292           Size                Large
293         EndFont
294         DocBookTag            para
295         DocBookWrapperTag     acknowledgements
296         DocBookSection        true
297 End
298
299
300 Style PACS
301         Category              FrontMatter
302         Margin                Dynamic
303         LatexType             Command
304         InTitle               1
305         LatexName             pacs
306         LabelType             Static
307         LabelSep              M
308         LabelString           "PACS number:"
309         DocBookTag            subjectset
310         DocBookAttr           role='pacs'
311         DocBookTagType        block
312         DocBookItemWrapperTag      subject
313         DocBookItemWrapperTagType  paragraph
314         DocBookItemTag        subjectterm
315         DocBookItemTagType    inline
316         DocBookWrapperTag     NONE
317         DocBookWrapperAttr    ""
318         DocBookInInfo         always
319 End
320
321
322 Style Keywords
323         CopyStyle             PACS
324         InTitle               1
325         Latexname             keywords
326         LabelSep              M
327         LabelString           "Keywords:"
328 End
329
330
331 # RevTeX uses normal footnotes in tables
332 InsetLayout Foot:InFloatTable
333         CopyStyle             Foot
334 End
335
336
337 Input stdfloats.inc
338 Input stdcounters.inc