]> git.lyx.org Git - lyx.git/blob - lib/layouts/revtex4.layout
update layout files to format 101
[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 101
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         TocLevel 1
76 End
77
78
79 Style Subsubsection
80         Font
81           Series              Medium
82           Shape               Italic
83         EndFont
84         TocLevel 3
85 End
86
87
88 Style Paragraph
89         Font
90           Series              Medium
91           Shape               Italic
92         EndFont
93         TocLevel 4
94 End
95
96 # then define the unumbered sections, based on the numbered ones.
97 Input stdstarsections.inc
98
99 NoStyle         Chapter
100 NoStyle         Chapter*
101 NoStyle         Subparagraph
102 NoStyle         Subparagraph*
103
104 Input stdlayouts.inc
105 Input stdlists.inc
106 Input stdtitle.inc
107 Input stdstruct.inc
108
109
110 Style Preprint
111         Category              FrontMatter
112         Margin                Right_Address_Box
113         LatexType             Command
114         InTitle               1
115         LatexName             preprint
116         ParSkip               0.4
117         BottomSep             1.5
118         ParSep                1.5
119         Align                 Left
120         DocBookWrapperTag   cover
121         DocBookWrapperAttr  role='preprint'
122         DocBookTag          para
123         DocBookInInfo       always
124 End
125
126
127 Style Title
128         Font
129           Series              Bold
130           Size                Large
131         EndFont
132 End
133
134
135 Style Date
136         LabelType             Static
137         LabelString           "Date:"
138         LabelFont
139           Shape               Italic
140         EndFont
141 End
142
143
144 Style Affiliation
145         Category              FrontMatter
146         Margin                Dynamic
147         LatexType             Command
148         InTitle               1
149         LatexName             affiliation
150         ParSkip               0.4
151         Align                 Center
152         AlignPossible         Block, Left, Right, Center
153         LabelType             Static
154         LabelSep              M
155         LabelString           "Affiliation:"
156
157         LabelFont
158           Shape               Italic
159         EndFont
160         DocBookTag                        address
161         DocBookTagType                    paragraph
162         DocBookWrapperTag                 author
163         DocBookWrapperMergeWithPrevious   true
164         DocBookInInfo                     always
165 End
166
167
168 Style Affiliation_(alternate)
169         CopyStyle             Affiliation
170         PassThru              1
171         ParbreakIsNewline     1
172         LatexName             altaffiliation
173         Argument 1
174                 LabelString   "Alternate Affiliation Option"
175                 Tooltip       "Optional argument to the altaffiliation command"
176         EndArgument
177         LabelString           "Affiliation (alternate):"
178         DocBookTag                        address
179         DocBookAttr                       role='alternate'
180         DocBookTagType                    paragraph
181         DocBookWrapperTag                 author
182         DocBookWrapperMergeWithPrevious   true
183         DocBookInInfo                     always
184 End
185
186
187 Style Affiliation_(none)
188         CopyStyle             Affiliation
189         KeepEmpty             1
190         LabelString           "No affiliation"
191         LatexName             noaffiliation%
192 End
193
194
195 Style AltAffiliation
196         ObsoletedBy           Affiliation_(alternate)
197 End
198
199
200 # Address is exactly the same as Affiliation. We just put this in so
201 # that tex2lyx will know what to do with it.
202 Style Address
203         CopyStyle             Affiliation
204         LatexName             address
205         LabelString           "Address:"
206 End
207
208
209 Style Collaboration
210         CopyStyle             Affiliation
211         LatexName             collaboration
212         LabelString           "Collaboration:"
213 End
214
215
216 Style Thanks
217         CopyStyle             Affiliation
218         LatexName             thanks
219         LabelString           "Thanks:"
220         DocBookTag            personblurb
221         DocBookAttr           role='thanks'
222         DocBookTagType        paragraph
223         DocBookItemTag        para
224         DocBookWrapperTag     author
225         DocBookWrapperMergeWithPrevious true
226         DocBookInInfo         always
227 End
228
229
230 Style Author_Email
231         CopyStyle             Affiliation
232         PassThru              1
233         ParbreakIsNewline     1
234         LatexName             email
235         Argument 1
236                 LabelString   "Electronic Address Option|s"
237                 Tooltip       "Optional argument to the email command"
238         EndArgument
239         LabelString           "Electronic Address:"
240         TextFont
241           Family              Typewriter
242         EndFont
243         LabelFont
244           Family              Roman
245         EndFont
246         DocBookTag            email
247         DocBookTagType        paragraph
248         DocBookWrapperTag     author
249         DocBookWrapperTagType block
250         DocBookWrapperMergeWithPrevious  true
251         DocBookInInfo         always
252 End
253
254
255 Style Author_URL
256         CopyStyle             Author_Email
257         PassThru              1
258         ParbreakIsNewline     1
259         LatexName             homepage
260         Argument 1
261                 LabelString   "Author URL Option"
262                 Tooltip       "Optional argument to the homepage command"
263         EndArgument
264         LabelString           "URL:"
265         DocBookTag            uri
266         DocBookTagType        paragraph
267         DocBookWrapperTag     author
268         DocBookWrapperTagType block
269         DocBookWrapperMergeWithPrevious  true
270         DocBookInInfo         always
271 End
272
273
274 Style Abstract
275         InTitle               1
276         ItemSep               0.2
277         ParSep                0.3
278 End
279
280
281 Style Acknowledgments
282         Category              BackMatter
283         LatexType             Environment
284         LatexName             acknowledgments
285         ParIndent             MM
286         ParSkip               0.4
287         TopSep                0.7
288         Align                 Block
289         AlignPossible         Block, Left, Right, Center
290         LabelType             Centered
291         LabelString           "Acknowledgments"
292         LabelBottomSep        0.5
293         LabelFont
294           Series              Bold
295           Size                Large
296         EndFont
297         DocBookTag            para
298         DocBookWrapperTag     acknowledgements
299         DocBookSection        true
300 End
301
302
303 Style PACS
304         Category              FrontMatter
305         Margin                Dynamic
306         LatexType             Command
307         InTitle               1
308         LatexName             pacs
309         LabelType             Static
310         LabelSep              M
311         LabelString           "PACS number:"
312         DocBookTag            subjectset
313         DocBookAttr           role='pacs'
314         DocBookTagType        block
315         DocBookItemWrapperTag      subject
316         DocBookItemWrapperTagType  paragraph
317         DocBookItemTag        subjectterm
318         DocBookItemTagType    inline
319         DocBookWrapperTag     NONE
320         DocBookWrapperAttr    ""
321         DocBookInInfo         always
322 End
323
324
325 Style Keywords
326         CopyStyle             PACS
327         InTitle               1
328         Latexname             keywords
329         LabelSep              M
330         LabelString           "Keywords:"
331 End
332
333
334 # RevTeX uses normal footnotes in tables
335 InsetLayout Foot:InFloatTable
336         CopyStyle             Foot
337 End
338
339
340 Input stdfloats.inc
341 Input stdcounters.inc